-
Notifications
You must be signed in to change notification settings - Fork 2
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
Refresh docs/conf.py and rtd/noxfile conf #12
Conversation
consideRatio
commented
Sep 18, 2023
- Update gitignore
- Add inline comment about theme.conf
- Fix reqiurements for RTD and nox configs, remove docs/requirements.txt
- docs: modernize docs/conf.py
extra_requirements: | ||
- docs |
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.
We nad no such extra requirements
myst-parser | ||
IPython # For debugging |
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.
I figure the docs should test the jupyterhub_sphinx_theme's dependencies directly, but as installing a package in the parent folder is a bit messy I figured this is removed and that we let the RTD config / noxfile config install the package itself directly without referencing this file.
html_title = "JupyterHub Sphinx Theme" | ||
html_copy_source = True | ||
html_sourcelink_suffix = "" |
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.
We don't set these things in other sphinx conf.py files, so I figure we shouldn't here either.
html_title
gets a value anyhow from the rendered pageshtml_copy_source
is defaulting to True anyhowhtml_sourcelink_suffix
could possibly be relevant to set explicitly to override the default of.txt
, but I don't know when and why so I'm assuming this is just a copy/paste legacy config of no purpose for this projects function