From f149ea75cc4e1f7a40e3401f2930013af2697327 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 4 Aug 2026 08:06:23 +0000 Subject: [PATCH 1/2] Replace sphinx.ext.napoleon with numpydoc in docs build --- docs/source/conf.py | 4 +++- pyproject.toml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 47c8b4876..2066b8016 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -43,10 +43,12 @@ "myst_parser", "sphinx.ext.autodoc", "sphinx.ext.intersphinx", - "sphinx.ext.napoleon", + "numpydoc", ] github_project_url = "https://github.com/ipython/traitlets" +numpydoc_show_class_members = False + # Add any paths that contain templates here, relative to this directory. # templates_path = ['_templates'] diff --git a/pyproject.toml b/pyproject.toml index 831ab0d8d..6ce13ff22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ test = [ ] docs = [ "myst-parser", + "numpydoc", "pydata-sphinx-theme", "sphinx" ] From bbe4a3bda6af961eaf5843a38bcbc2c6b68fb342 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 4 Aug 2026 08:06:54 +0000 Subject: [PATCH 2/2] Ignore lowercase docs/source/changelog.md build artifact --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 6d41986f4..443762124 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ coverage.xml .cache htmlcov docs/source/CHANGELOG.md +docs/source/changelog.md