aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/changelog.rst1
-rw-r--r--docs/utils.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 56355dfc..96402c4d 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -7,6 +7,7 @@ Changelog
.. XXX: CHANGE DATE BEFORE RELEASE
- :release:`12.0.0 <9th November 2025>`
+- :feature:`310` Provide a pre-built :obj:`pydis_core.exts.source.SourceCode` cog for providing links to command implementations.
- :support:`309` Dependency bumps on all dependencies
- :support:`309` Migrate build system from Poetry to uv
- :support:`309` Explicit support for Python 3.13 and 3.14
diff --git a/docs/utils.py b/docs/utils.py
index 567f0d18..d11f0d9c 100644
--- a/docs/utils.py
+++ b/docs/utils.py
@@ -98,7 +98,7 @@ def linkcode_resolve(repo_link: str, domain: str, info: dict[str, str]) -> str |
# These are ClassVars added by pydantic.
# Since they're not in our source code, we cannot resolve them to a url.
return None
- raise Exception(f"Could not find symbol `{symbol_name}` in {module.__name__}.")
+ raise Exception(f"Could not find symbol `{symbol_name}` in {module.__name__}.") from None
start, end = pos
_, offset = inspect.getsourcelines(symbol[-2])