-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
add flag to disable nbsphinx #1615
Conversation
Before a PR is accepted, it must meet the following criteria:
|
Codecov Report
@@ Coverage Diff @@
## master #1615 +/- ##
==========================================
+ Coverage 61.92% 67.13% +5.20%
==========================================
Files 62 73 +11
Lines 5702 6100 +398
==========================================
+ Hits 3531 4095 +564
+ Misses 2171 2005 -166
Continue to review full report at Codecov.
|
Two things:
|
|
In my opinion, it could be more clear. Writing out the examples I think would be helpful. |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, except that I think you should put the examples of how to do this (both with build docs and with make html) in the documentation.
|
I removed the |
Before a pull request is accepted, it must meet the following criteria:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a rebase
Done |
* add flag to disable nbsphinx * update doc * change approach * remove unnecessary metadata * remove future deprecated command
Description
I thought about a way to fast render the documentation. Made a small patch to
conf.py
and now prepending the variableDISABLE_NBSPHINX=1
to the build command skips the notebook rendering.Example:
Then
sphinx
just render the.rst
files.Also I removed hardcoded metadata in notebooks. If we want to change this values we should do it through
conf.py
not harcoding them (by the way, the hardcoded values were the default ones). Using harcoded metadata leads to hard to debug problems.Motivation and context
@jaladh-singhal's issue no. #1282
How has this been tested?
Locally. Please checkout to this PR and try it too.
Examples
Type of change
Checklist