-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Documentation renders option types as part of the name? #5480
Comments
I just came here to report the same thing. In the example above, the config option is I'd like to work on this. I've done some investigation already, and I think I see where to start. The docs at that page are generated by a call to notebook/docs/autogen_config.py Line 45 in a5ace13
notebook/notebook/notebookapp.py Line 677 in 2cfff07
Which gets that method from its parent, So I think that the right place to fix this is over in in |
Ok I spent a little time on this tonight, following the instructions at https://github.com/jupyter/notebook/blob/master/CONTRIBUTING.rst#building-the-documentation to build the documentation, and couldn't figure it out. When I build the docs locally following that guide, I get a different theme for this page. https://jupyter-notebook.readthedocs.io/en/stable/config.html#options local docs So I'm not really sure how to proceed. Hopefully the notes I've provided above will help someone else pick up this issue in the future. |
IIRC ReadTheDocs have a custom Sphinx theme that they use by default. The HTML on ReadTheDocs looks like <dt>Application.show_config<span class="classifier">Bool</span></dt> The Sphinx source of the page is ... missing? I get a 404 error if I press the Docutils's own docutils/docutils/writers/html5_polyglot/minimal.css has this styling for /* Definition Lists and Derivatives */
dt .classifier { font-style: italic }
dt .classifier:before {
font-style: normal;
margin: 0.5em;
content: ":";
} It looks like the ReadTheDocs's sphinx_rtd_theme's stylesheet is missing correct styling for In fact isn't readthedocs/sphinx_rtd_theme#746 exactly this issue? But it was closed last year? |
Look here:
https://jupyter-notebook.readthedocs.io/en/stable/config.html#options
Is the option named
NotebookApp.use_redirect_fileBool
, or isBool
an option type, which is for some reason mistakenly rendered without any separation from the option name?The text was updated successfully, but these errors were encountered: