Navigation Menu

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

Enable notebook syntax highlighting #5

Merged
merged 1 commit into from Jul 19, 2019

Conversation

Lnaden
Copy link
Contributor

@Lnaden Lnaden commented Jul 19, 2019

The symptom is that local builds correctly have syntax highlighting
in the output builds, but on RTD, they are lacking.

Based on research from readthedocs/readthedocs.org#5688 the problem
comes from the multiple warnings of:

WARNING: Pygments lexer name 'ipython3' is not known

We do see this in our RTD builds as well: https://readthedocs.org/api/v2/build/9139203.txt

Based on that issue and spatialaudio/nbsphinx#24, The fix to this issue is to add
ipython to the requirements.txt explicitly. So, this PR tries that.

cc @dgasmith

The symptom is that local builds correctly have syntax highlighting
in the output builds, but on RTD, they are lacking.

Based on research from readthedocs/readthedocs.org#5688 the problem
comes from the multiple warnings of:

> WARNING: Pygments lexer name 'ipython3' is not known

We do see this in our RTD builds as well: https://readthedocs.org/api/v2/build/9139203.txt

Based on that issue and spatialaudio/nbsphinx#24, The fix to this issue is to add
`ipython` to the requirements.txt explicitly. So, this PR tries that
@dgasmith
Copy link
Collaborator

Sure, lets try.

@dgasmith dgasmith merged commit a072ebe into MolSSI:master Jul 19, 2019
@dgasmith
Copy link
Collaborator

Sure, lets try.

@Lnaden
Copy link
Contributor Author

Lnaden commented Jul 19, 2019

Hey! Syntax!

image

@Lnaden Lnaden deleted the notebook_highlighting branch July 19, 2019 15:01
@dgasmith
Copy link
Collaborator

Great! Can you fix Fractal as well?

@Lnaden
Copy link
Contributor Author

Lnaden commented Jul 19, 2019

Sure thing

Lnaden added a commit to Lnaden/QCFractal that referenced this pull request Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants