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

πŸ“š Use furo Sphinx theme for documentation #676

Merged
merged 9 commits into from
Nov 12, 2021
Merged

πŸ“š Use furo Sphinx theme for documentation #676

merged 9 commits into from
Nov 12, 2021

Conversation

cjolowicz
Copy link
Owner

  • βž• [poetry] Add furo >=2021.11.12 to development dependencies
  • πŸ‘· [nox] Install furo in docs and docs-build sessions
  • βž• [docs] Add furo==2021.11.12 to requirements
  • πŸ”§ [docs] Use furo Sphinx theme
  • πŸ“š [docs] Remove table of contents from API Reference
  • πŸ“š [docs] Generate API documentation for package not __main__
  • βž– [docs] Remove sphinx-rtd-theme from requirements
  • πŸ‘· [nox] Do not install sphinx-rtd-theme in docs and docs-build sessions
  • βž– [poetry] Remove sphinx-rtd-theme from development dependencies

The table of contents duplicates furo's right sidebar.
`reference.rst` inserts the API documentation for the `__main__` module. That
makes little sense, as it only contains the Click entry point, whose docstring
is not intended for consumption by Sphinx.

Instead, insert API documentation for the package. This generates documentation
for anything in `__init__`. On project generation, this is only be the package
docstring, which is fine.
@cjolowicz cjolowicz added the documentation Improvements or additions to documentation label Nov 12, 2021
@cjolowicz cjolowicz merged commit 272d565 into main Nov 12, 2021
@cjolowicz cjolowicz deleted the docs/furo branch November 12, 2021 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant