Skip to content

Conversation

@bbc2
Copy link
Collaborator

@bbc2 bbc2 commented Jan 11, 2026

This uses some (but not all) of the settings recommended at https://mkdocstrings.github.io/python/usage/#recommended-settings.

Changes to the "Reference" page:

  • Replace section heading with function name (instead of function declaration): This should be more readable.
    • The function declaration is now shown in a code block instead of the heading.
  • Added "Table of contents" to the right, to quickly navigate to a particular method.
  • Removed "Source code": It removes clutter from the page and probably wasn't very useful (but it can easily be added back if needed).
Before After
dotenv_docs_before dotenv_docs_after

This uses some (but not all) of the settings recommended at
https://mkdocstrings.github.io/python/usage/#recommended-settings.

Changes to the "Reference" page:

- Replace section heading with function name (instead of function
  declaration): This should be more readable.
    - The function declaration is now shown in a code block instead of
      the heading.
- Added "Table of contents" to the right, to quickly navigate to a
  particular method.
- Removed "Source code": It removes clutter from the page and probably
  wasn't very useful (but it can easily be added back if needed).
@theskumar theskumar merged commit 6d28eee into theskumar:main Jan 12, 2026
8 checks passed
@bbc2 bbc2 deleted the docs-ref-headings branch January 17, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants