Skip to content

Commit a6bcadc

Browse files
jan-janssengoogle-labs-jules[bot]Copilot
authored
[Documentation] Add technical concepts and Mermaid diagrams to documentation (#970)
* Extend documentation with technical concepts and Mermaid diagrams - Add docs/concepts.md explaining internal architecture, class hierarchy, and execution flow. - Include Mermaid class and sequence diagrams. - Add sphinxcontrib-mermaid to documentation dependencies and configuration. - Update docs/_toc.yml to include the new concepts page. Co-authored-by: jan-janssen <3854739+jan-janssen@users.noreply.github.com> * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix sphinxcontrib-mermaid extension import path * Documentation in jupyter notebook * Remove unused images * no more images * Add execution flow in table of contents --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: jan-janssen <3854739+jan-janssen@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6b9dce4 commit a6bcadc

7 files changed

Lines changed: 4 additions & 389 deletions

File tree

.ci_support/environment-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ dependencies:
99
- numpy
1010
- openmpi
1111
- sphinx
12+
- sphinxcontrib-mermaid
1213
- sphinx_rtd_theme
1314
- cloudpickle =3.1.2
1415
- h5py =3.16.0

.readthedocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ build:
1515
- pip install . --no-deps --no-build-isolation
1616
- "cp README.md docs"
1717
- "cp notebooks/*.ipynb docs"
18-
- "cp -r notebooks/images docs"
1918
- "jupyter-book config sphinx docs/"
2019

2120
# Build documentation in the docs/ directory with Sphinx

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ as hierarchical job scheduler within the allocations.
160160
* [License](https://executorlib.readthedocs.io/en/latest/5-developer.html#license)
161161
* [Modules](https://executorlib.readthedocs.io/en/latest/5-developer.html#modules)
162162
* [Interface Class Hierarchy](https://executorlib.readthedocs.io/en/latest/5-developer.html#interface-class-hierarchy)
163+
* [Execution Flow](https://executorlib.readthedocs.io/en/latest/5-developer.html#execution-flow)
163164
* [Test Environment](https://executorlib.readthedocs.io/en/latest/5-developer.html#test-environment)
164165
* [Communication](https://executorlib.readthedocs.io/en/latest/5-developer.html#communication)
165166
* [External Libraries](https://executorlib.readthedocs.io/en/latest/5-developer.html#external-libraries)

docs/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ launch_buttons:
1515

1616
sphinx:
1717
extra_extensions:
18+
- 'sphinxcontrib.mermaid'
1819
- 'sphinx.ext.autodoc'
1920
- 'sphinx.ext.napoleon'
2021
- 'sphinx.ext.viewcode'

notebooks/5-developer.ipynb

Lines changed: 1 addition & 388 deletions
Large diffs are not rendered by default.

notebooks/images/uml_executor.png

-128 KB
Binary file not shown.

notebooks/images/uml_spawner.png

-88.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)