-
Notifications
You must be signed in to change notification settings - Fork 10
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
Docs update (more extensions, new theme) #100
Conversation
A PR has been generated to the instance repo: You can check out the PR to preview your changes |
@grst it should pass but I can't figure out how to make cookiecutter ignore rendering the class.rst file I added Update: I figured it out, there are two json files. |
To make this PR simpler I removed linkcode |
html_static_path = ["_static"] | ||
html_title = project_name | ||
|
||
github_repo = "https://github.com/" + html_context["github_user"] + "/" + project_name |
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.
html_context["github_user"]
Should github_user
get it's own variable? Similar fields e.g. project_name
, package_name
do.
OTOH, the repo url is probably available in the metadata info derived from the pyproject.toml
(e.g. the info
url in this scope)
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.
It's actually not, only the docs url is there
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.
Suggested the modifications suggested by @ivirshup -- Once these are resolved, feel free to merge.
@adamgayoso, question about the theme: Weren't a number of the cases that we needed CSS for related to the dark theme? |
See here for a live example.
Fixes #74 by using a different theme.