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

Refresh docs/conf.py and rtd/noxfile conf #12

Merged
merged 4 commits into from
Sep 19, 2023

Conversation

consideRatio
Copy link
Member

  • Update gitignore
  • Add inline comment about theme.conf
  • Fix reqiurements for RTD and nox configs, remove docs/requirements.txt
  • docs: modernize docs/conf.py

Comment on lines -21 to -22
extra_requirements:
- docs
Copy link
Member Author

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

Comment on lines -1 to -2
myst-parser
IPython # For debugging
Copy link
Member Author

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.

Comment on lines -30 to -32
html_title = "JupyterHub Sphinx Theme"
html_copy_source = True
html_sourcelink_suffix = ""
Copy link
Member Author

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 pages
  • html_copy_source is defaulting to True anyhow
  • html_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

@consideRatio consideRatio mentioned this pull request Sep 18, 2023
@minrk minrk merged commit 9c794ad into jupyterhub:main Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants