-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements suggested by Bytetec (#161)
* Remove redundant z variable from tutorial. * Add more context to enabling agent death. * Add more detail to clarify host fns are not launched by agent fns. * Moved environment macro property introduction. Left a shorter intro at the original location. * Add more submodel detail/example usage. * Add sphinxcontrib.mermaid dependency. The plugin was failing to include the JS automatically, so manually set static js to CDN. Enable mermaid's neutral theme * Add mermaid overview diagram with a quick summary of the components. * Change model diagram to top down (from left-right) Reordering message/agent seems to have fixed the overlap (or maybe its just page width).
- Loading branch information
Showing
10 changed files
with
64 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ exhale | |
sphinx_rtd_theme | ||
sphinx_tabs | ||
sphinx-copybutton | ||
sphinxcontrib-mermaid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,8 @@ html_logo = "@RELPATH_CONFIG_TO_STATIC@/img/flamegpu2-icon-notext-128.png" | |
extensions = [ | ||
'sphinx_tabs.tabs', | ||
'sphinx_copybutton', | ||
'sphinx.ext.graphviz' | ||
'sphinx.ext.graphviz', | ||
'sphinxcontrib.mermaid' | ||
] | ||
|
||
# If the | ||
|
@@ -49,7 +50,8 @@ if @USE_BREATHE_EXHALE@: | |
'exhale', | ||
'sphinx_tabs.tabs', | ||
'sphinx_copybutton', | ||
'sphinx.ext.graphviz' | ||
'sphinx.ext.graphviz', | ||
'sphinxcontrib.mermaid' | ||
] | ||
|
||
# Setup the breathe extension | ||
|
@@ -138,3 +140,11 @@ html_static_path = ['@RELPATH_CONFIG_TO_STATIC@'] | |
html_css_files = [ | ||
'css/flamegpu.css', | ||
] | ||
|
||
# Mermaid sphinx extension is failing to auto include mermaid.js | ||
html_js_files = [ | ||
'https://unpkg.com/[email protected]/dist/mermaid.js' | ||
] | ||
|
||
# Config params passed to mermaid | ||
mermaid_init_js = "mermaid.initialize({startOnLoad:true,theme: 'neutral'});" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters