File tree Expand file tree Collapse file tree 8 files changed +2269
-92
lines changed Expand file tree Collapse file tree 8 files changed +2269
-92
lines changed Original file line number Diff line number Diff line change 11
11
copyright = '2024, d-SEAMS developers'
12
12
author = 'Ruhila'
13
13
14
+ import pyseams
15
+
14
16
# -- General configuration ---------------------------------------------------
15
17
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
16
18
17
19
#referenced my favourite [1]
18
20
extensions = [
19
21
"myst_parser" ,
20
- "autodoc2" ,
21
- "sphinx.ext.autodoc" ,
22
- "sphinx.ext.napoleon" ,
22
+ #"autodoc2",
23
23
"sphinx.ext.intersphinx" ,
24
24
"sphinx.ext.todo" ,
25
25
"sphinx.ext.githubpages" ,
26
26
"sphinx_contributors" ,
27
27
"sphinx_copybutton" ,
28
28
"sphinx_design" ,
29
29
"sphinxcontrib.spelling" ,
30
+ "sphinx.ext.autosummary" ,
31
+ "sphinx.ext.autodoc" ,
32
+ "sphinx.ext.napoleon" ,
30
33
]
34
+ autosummary_generate = True
31
35
32
- autodoc2_render_plugin = "myst"
33
- autodoc2_packages = [
34
- f"../../src/{ project .lower ()} " ,
35
- ]
36
36
37
37
myst_enable_extensions = [
38
38
"deflist" ,
47
47
templates_path = ['_templates' ]
48
48
exclude_patterns = []
49
49
50
+ # The suffix(es) of source filenames.
51
+ source_suffix = [".rst" , ".md" ]
52
+
53
+ # The master toctree document.
54
+ master_doc = "index"
50
55
51
56
52
57
# -- Options for HTML output -------------------------------------------------
63
68
}
64
69
# --- Plugin options
65
70
autodoc2_render_plugin = "myst"
71
+ autodoc2_packages = [f"../../{ project .lower ()} " ]
66
72
67
73
68
74
#references
Original file line number Diff line number Diff line change @@ -27,18 +27,25 @@ cd pyseams
27
27
28
28
29
29
30
- ## Additional Topics
30
+ ## documentation for pyseams-bindings
31
31
32
- .. toctree::
33
- :maxdepth: 2
34
- :caption: Contents:
35
-
36
- api/library_root
32
+ ``` {toctree}
33
+ :maxdepth: 2
34
+ :caption: Contents
37
35
36
+ ```
38
37
38
+ ``` {eval-rst}
39
+ .. automodule:: pyseams.cyoda
40
+ ```
39
41
42
+ <!-- ```{autodoc2-summary}
43
+ pyseams.cyoda
44
+ ```
40
45
46
+ ```{eval-rst}
41
47
48
+ ``` -->
42
49
43
50
## Indices and tables
44
51
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ py.extension_module(
39
39
40
40
# pyseams main package
41
41
py.install_sources([
42
- ' pyseams /__init__.py' ,
42
+ ' src /__init__.py' ,
43
43
],
44
44
pure : false , # install next to compiled extension
45
45
subdir : ' pyseams/'
You can’t perform that action at this time.
0 commit comments