Skip to content

Commit 23e57db

Browse files
committed
update doc
1 parent 3fa252f commit 23e57db

File tree

4 files changed

+25
-5
lines changed

4 files changed

+25
-5
lines changed

docs/source/architecture.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# architecture
2+
3+
<!-- https://mermaid-js.github.io/mermaid/#/ -->
4+
5+
```{mermaid}
6+
classDiagram
7+
SchemaUtils <|-- UI
8+
SchemaBase *-- UI
9+
SchemaBase <|-- Protocol
10+
SchemaBase <|-- Activity
11+
SchemaUtils <|-- Message
12+
SchemaBase <|-- Item
13+
Item *-- ResponseOption
14+
SchemaUtils <|-- ResponseOption
15+
SchemaUtils <|-- AdditionalNoteObj
16+
SchemaUtils <|-- unitOption
17+
SchemaUtils <|-- Choice
18+
SchemaUtils <|-- AdditionalProperty
19+
SchemaUtils <|-- SchemaBase
20+
```

docs/source/conf.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,15 @@
2121
author = "Repronim developers"
2222

2323
# The full version, including alpha/beta/rc tags
24-
release = "0.1.0"
24+
release = "0.6.2"
2525

2626

2727
# -- General configuration ---------------------------------------------------
2828

2929
# Add any Sphinx extension module names here, as strings. They can be
3030
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3131
# ones.
32-
extensions = [
33-
"sphinx.ext.autodoc",
34-
]
32+
extensions = ["sphinx.ext.autodoc", "myst_parser", "sphinxcontrib.mermaid"]
3533

3634
# Add any paths that contain templates here, relative to this directory.
3735
templates_path = ["_templates"]

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Welcome to reproschema-py's documentation!
1010
:maxdepth: 2
1111
:caption: Contents:
1212

13-
13+
architecture
1414

1515
Indices and tables
1616
==================

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ doc =
5656
sphinxcontrib-apidoc ~= 0.3.0
5757
sphinxcontrib-napoleon
5858
sphinxcontrib-versioning
59+
sphinxcontrib-mermaid
60+
myst-parser
5961
docs =
6062
%(doc)s
6163
test =

0 commit comments

Comments
 (0)