Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils
Commits
ba16fb5d
Commit
ba16fb5d
authored
1 year ago
by
Frederik Hennig
Browse files
Options
Downloads
Patches
Plain Diff
add type system inheritance diagram to docs
parent
8a4a65b9
No related branches found
No related tags found
2 merge requests
!379
Type System Refactor
,
!374
Uniqueness of Data Type Instances
Pipeline
#64903
passed
1 year ago
Stage: Code Quality
Stage: Unit Tests
Stage: legacy_test
Stage: docs
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/source/api/types.rst
+4
-0
4 additions, 0 deletions
docs/source/api/types.rst
docs/source/conf.py
+7
-0
7 additions, 0 deletions
docs/source/conf.py
with
11 additions
and
0 deletions
docs/source/api/types.rst
+
4
−
0
View file @
ba16fb5d
...
@@ -17,6 +17,10 @@ Basic Functions
...
@@ -17,6 +17,10 @@ Basic Functions
Data Type Class Hierarchy
Data Type Class Hierarchy
-------------------------
-------------------------
.. inheritance-diagram:: pystencils.types.meta.PsType pystencils.types.types
:top-classes: pystencils.types.PsType
:parts: 1
.. autoclass:: pystencils.types.PsType
.. autoclass:: pystencils.types.PsType
:members:
:members:
...
...
This diff is collapsed.
Click to expand it.
docs/source/conf.py
+
7
−
0
View file @
ba16fb5d
...
@@ -29,6 +29,7 @@ extensions = [
...
@@ -29,6 +29,7 @@ extensions = [
"
sphinx.ext.intersphinx
"
,
"
sphinx.ext.intersphinx
"
,
"
sphinx.ext.mathjax
"
,
"
sphinx.ext.mathjax
"
,
"
sphinx.ext.napoleon
"
,
"
sphinx.ext.napoleon
"
,
"
sphinx.ext.inheritance_diagram
"
,
"
nbsphinx
"
,
"
nbsphinx
"
,
"
sphinxcontrib.bibtex
"
,
"
sphinxcontrib.bibtex
"
,
"
sphinx_autodoc_typehints
"
,
"
sphinx_autodoc_typehints
"
,
...
@@ -47,6 +48,12 @@ intersphinx_mapping = {
...
@@ -47,6 +48,12 @@ intersphinx_mapping = {
"
sympy
"
:
(
"
https://docs.sympy.org/latest/
"
,
None
),
"
sympy
"
:
(
"
https://docs.sympy.org/latest/
"
,
None
),
}
}
# -- Options for inheritance diagrams-----------------------------------------
inheritance_graph_attrs
=
{
"
bgcolor
"
:
"
white
"
,
}
# -- Options for HTML output -------------------------------------------------
# -- Options for HTML output -------------------------------------------------
html_theme
=
"
furo
"
html_theme
=
"
furo
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment