Docs: Improve readability of reference page by bbc2 · Pull Request #605 · theskumar/python-dotenv

@bbc2

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).

@bbc2 bbc2 deleted the docs-ref-headings branch

January 17, 2026 11:53