Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-rendering code blocks #181

Merged
merged 1 commit into from Nov 26, 2019
Merged

Conversation

@wesbarnett
Copy link
Collaborator

wesbarnett commented Nov 25, 2019

Use code:: instead of code-block::
code-block:: not rendering on readthedocs

Change ipython3 blocks to python
ipython3 code blocks don't show up in Sphinx documentation, but
python blocks do

Fixes #178.

Submission Checklist

  • Run unit tests
  • Declare copyright holder and open-source license: see below

Summary

This should fix the rendering of some code blocks on readthedocs. I'm unable to test other than locally, where it isn't a problem like it is online.

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): American Express

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Use code:: instead of code-block::
code-block:: not rendering on readthedocs

Change ipython3 blocks to python
ipython3 code blocks don't show up in Sphinx documentation, but
python blocks do
@wesbarnett wesbarnett closed this Nov 25, 2019
@wesbarnett wesbarnett deleted the wesbarnett:fix/doccodeblocks branch Nov 25, 2019
@wesbarnett wesbarnett restored the wesbarnett:fix/doccodeblocks branch Nov 26, 2019
@wesbarnett wesbarnett reopened this Nov 26, 2019
Copy link
Member

mitzimorris left a comment

very nice! many thanks!

@mitzimorris mitzimorris merged commit 4e2733c into stan-dev:master Nov 26, 2019
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.