Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Fix button to hide output in documentation code blocks #287

Merged
merged 3 commits into from
Feb 20, 2017
Merged

Fix button to hide output in documentation code blocks #287

merged 3 commits into from
Feb 20, 2017

Conversation

larrybradley
Copy link
Member

This is currently broken in astropy and all affiliated package docs, unless they have explicitly set highlight_language in docs/conf.py. As of Sphinx 1.4 the highlighting gets set to default (which is basically python3).

This PR will fix all packages regardless of if they have set highlight_language.

@bsipocz
Copy link
Member

bsipocz commented Feb 20, 2017

Could you please add a changelog entry?

@larrybradley
Copy link
Member Author

Done.

@bsipocz bsipocz merged commit e47a708 into astropy:master Feb 20, 2017
@bsipocz
Copy link
Member

bsipocz commented Feb 20, 2017

Thanks @larrybradley!

@larrybradley larrybradley deleted the copybutton branch March 9, 2017 20:15
bsipocz added a commit that referenced this pull request Mar 18, 2017
Fix button to hide output in documentation code blocks
astrofrog pushed a commit to astropy/astropy-sphinx-theme that referenced this pull request Jan 20, 2018
…button

Fix button to hide output in documentation code blocks
astrofrog pushed a commit to astropy/astropy-sphinx-theme that referenced this pull request Jan 24, 2018
…button

Fix button to hide output in documentation code blocks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants