Skip to content

Commit

Permalink
fix: mermaid graphs on docs (#473)
Browse files Browse the repository at this point in the history
* fix: mermaid graphs on docs

* publish docs for testing

* set mermaid version

* fix config

* downgrade mermaid2 plugin to 0.5.2

* native mermaid support

* go back to mermaid plugin

* add mermaid js lib

* fix mermaid

* add loader

* better loading

* remove loader

* remove doc deploy on PR
  • Loading branch information
mathnogueira authored May 10, 2022
1 parent 745e833 commit d622b60
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ jobs:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install mkdocs-render-swagger-plugin
- run: pip install mkdocs-mermaid2-plugin
- run: mkdocs gh-deploy --force
9 changes: 8 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,18 @@ extra:
plugins:
- render_swagger
- search
- mermaid2

# Extensions
markdown_extensions:
- pymdownx.highlight
- pymdownx.superfences
- pymdownx.inlinehilite
- pymdownx.superfences:
# make exceptions to highlighting of code:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid

copyright: Copyright &copy; 2022 <a href="https://kubeshop.io">Kubeshop</a>

0 comments on commit d622b60

Please sign in to comment.