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 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" ]