MartinPdeS-docs 0.3.1__tar.gz → 0.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MartinPdeS-docs
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Shared Sphinx configuration for MartinPdeS scientific Python packages.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MartinPdeS-docs
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Shared Sphinx configuration for MartinPdeS scientific Python packages.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -224,7 +224,8 @@ def configure(
224
224
  css_files = ["default.css", "martinpdes_layout.css"]
225
225
  css_files.extend(html_css_files or ())
226
226
  autodoc_options = {
227
- "members": False,
227
+ "members": True,
228
+ "exclude-members": "__annotations__",
228
229
  "members-order": "bysource",
229
230
  "undoc-members": False,
230
231
  "show-inheritance": True,
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "MartinPdeS-docs"
7
- version = "0.3.1"
7
+ version = "0.3.2"
8
8
  description = "Shared Sphinx configuration for MartinPdeS scientific Python packages."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -18,6 +18,13 @@ def test_configuration_has_project_overrides():
18
18
  assert config["html_context"]["doc_path"] == "docs/source"
19
19
  assert config["html_context"]["default_mode"] == "dark"
20
20
  assert config["epub_exclude_files"] == ["search.html"]
21
+ assert config["autodoc_default_options"] == {
22
+ "members": True,
23
+ "exclude-members": "__annotations__",
24
+ "members-order": "bysource",
25
+ "undoc-members": False,
26
+ "show-inheritance": True,
27
+ }
21
28
  assert config["sphinx_gallery_conf"]["image_scrapers"] == ("matplotlib",)
22
29
  assert config["sphinx_gallery_conf"]["thumbnail_size"] == [600, 600]
23
30
  assert config["sphinx_gallery_conf"]["default_thumb_file"] is None
File without changes