mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add mermaid to docs (#5405)
* move devcontainer docs * rename bare metal pages * fix backlinks * Add getting started for devs * add mermaid * include contrib in docs * use another plugin * include everything * update doc checks * fix install command * Update mkdocs.yml * Update mkdocs.yml * Update starting.md * Update starting.md * Update starting.md * extend requirements * Update mkdocs.yml * clean diff * clean diff + check if it works * fix CI check for custom tags * clean md
This commit is contained in:
parent
fc86064bd1
commit
4869d0dab8
1
.github/workflows/qc_checks.yaml
vendored
1
.github/workflows/qc_checks.yaml
vendored
@ -105,6 +105,7 @@ jobs:
|
||||
- name: Check Config
|
||||
run: |
|
||||
pip install pyyaml
|
||||
pip install -r docs/requirements.txt
|
||||
python docs/ci/check_mkdocs_config.py
|
||||
- name: Check Links
|
||||
run: |
|
||||
|
@ -11,6 +11,6 @@ tld = os.path.abspath(os.path.join(here, '..'))
|
||||
config_file = os.path.join(tld, 'mkdocs.yml')
|
||||
|
||||
with open(config_file, 'r') as f:
|
||||
data = yaml.safe_load(f)
|
||||
data = yaml.load(f, yaml.BaseLoader)
|
||||
|
||||
assert data['strict'] is True
|
||||
assert data['strict'] == 'true'
|
||||
|
@ -240,7 +240,11 @@ markdown_extensions:
|
||||
- meta
|
||||
- pymdownx.details
|
||||
- pymdownx.highlight
|
||||
- pymdownx.superfences
|
||||
- pymdownx.superfences:
|
||||
custom_fences:
|
||||
- name: mermaid
|
||||
class: mermaid
|
||||
format: !!python/name:pymdownx.superfences.fence_code_format
|
||||
# - pymdownx.emoji:
|
||||
# emoji_index: !!python/name:materialx.emoji.twemoji
|
||||
# emoji_generator: !!python/name:materialx.emoji.to_svg
|
||||
|
@ -1,4 +1,4 @@
|
||||
mkdocs==1.4.3
|
||||
mkdocs==1.5.3
|
||||
mkdocs-macros-plugin>=0.7,<1.0
|
||||
mkdocs-material>=9.0,<10.0
|
||||
mkdocs-git-revision-date-localized-plugin>=1.1,<2.0
|
||||
|
Loading…
Reference in New Issue
Block a user