-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: jonashaag/python
base: main
head repository: mkdocstrings/python
compare: main
- 14 commits
- 18 files changed
- 4 contributors
Commits on Aug 7, 2026
-
fix: Increase stash key length from 1 to 2
Cross-reference stash keys start with `_` and preserve the rendered identifier length. One-character and two-character identifiers therefore share a keyspace of only 62 keys. Once all keys are present, `_gen_stash_key` retries random choices forever. This happens for example in mkdocstrings when rendering an attribute value that has 62 names in it or more. We increase the minimum key length by 1, to reach a keyspace of 3844, making it very unlikely to hit the limit again. PR-336: mkdocstrings#336
Configuration menu - View commit details
-
Copy full SHA for 6ff2749 - Browse repository at this point
Copy the full SHA 6ff2749View commit details
Commits on Aug 16, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 4b38b6b - Browse repository at this point
Copy the full SHA 4b38b6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb49b15 - Browse repository at this point
Copy the full SHA bb49b15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c782f5 - Browse repository at this point
Copy the full SHA 3c782f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a025f49 - Browse repository at this point
Copy the full SHA a025f49View commit details
Commits on Aug 17, 2026
-
fix: Don't render environment paths in source block labels
When an object's file lives in a virtual environment inside the current working directory (for example a pydantic `BaseModel` subclass documented with `preload_modules: [pydantic]` and an in-project `.venv`), source blocks were labeled with the environment path, like `.venv/lib/python3.10/site-packages/pydantic/main.py`. The path is relative to the current working directory, so it slipped past the `is_absolute()` check that normally keeps environment paths out of rendered docs. Add a `source_location` filter that strips everything up to and including a `site-packages` directory from displayed source paths, and use it for every source block label: merged `__init__`, class, and function, in both themes. Centralizing the logic also fixes the label for single-file modules installed directly in `site-packages` (like `six.py`), whose package-relative path still contained the environment directory. Labels of objects belonging to the documented package itself are unchanged. Issue-333: mkdocstrings#333 PR-338: mkdocstrings#338
Configuration menu - View commit details
-
Copy full SHA for 84ba73e - Browse repository at this point
Copy the full SHA 84ba73eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 624974a - Browse repository at this point
Copy the full SHA 624974aView commit details
Commits on Aug 31, 2026
-
Configuration menu - View commit details
-
Copy full SHA for c0424f2 - Browse repository at this point
Copy the full SHA c0424f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5054240 - Browse repository at this point
Copy the full SHA 5054240View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8125b0d - Browse repository at this point
Copy the full SHA 8125b0dView commit details
Commits on Sep 22, 2026
-
fix: Expand relative cross-references against the object the docstrin…
…g was written on With inherited members enabled, docstrings of base class members are rendered in the docs of the inheriting class, where the current object is a Griffe alias living under the inheriting class. Leading-dot relative cross-references found in such docstrings were therefore expanded against the consumer's tree instead of the dependency's tree, resolving to wrong targets or failing strict builds. Anchor the dot-walk on the docstring's parent (the defining object) when it is reachable, falling back to the current object otherwise. Issue-341: mkdocstrings#341 PR-342: mkdocstrings#342
Configuration menu - View commit details
-
Copy full SHA for a9a4ca3 - Browse repository at this point
Copy the full SHA a9a4ca3View commit details -
fix: Improve inventory object types (incorrectly called roles in mkdo…
…cstrings) Issue-339: mkdocstrings#339 PR-340: mkdocstrings#340
Configuration menu - View commit details
-
Copy full SHA for d754326 - Browse repository at this point
Copy the full SHA d754326View commit details -
perf: Small performance improvement when getting aliases and formatti…
…ng/highlighting signatures
Configuration menu - View commit details
-
Copy full SHA for 2263163 - Browse repository at this point
Copy the full SHA 2263163View commit details -
Configuration menu - View commit details
-
Copy full SHA for c888dc2 - Browse repository at this point
Copy the full SHA c888dc2View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main