Skip to content

Commit

Permalink
Use newer mkdocs/mermaid2 to fix diagram rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Oct 25, 2024
1 parent 77e6533 commit 388780e
Show file tree
Hide file tree
Showing 4 changed files with 882 additions and 863 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ gen-examples:
gen-project: $(PYMODEL)
$(RUN) gen-project ${CONFIG_YAML} -d $(DEST) $(SOURCE_SCHEMA_PATH) && mv $(DEST)/*.py $(PYMODEL)
# addition vs. template
$(RUN) gen-pydantic --pydantic-version 2 $(SOURCE_SCHEMA_PATH) > $(PYMODEL)/pid4cat_model_pydantic.py
$(RUN) gen-pydantic $(SOURCE_SCHEMA_PATH) > $(PYMODEL)/pid4cat_model_pydantic.py

# non-empty arg triggers owl (workaround https://github.com/linkml/linkml/issues/1453)
ifneq ($(strip ${GEN_OWL_ARGS}),)
Expand Down
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ theme:
- content.tabs.link
plugins:
- search
- mermaid2
- mermaid2:
version: 10.9.0
nav:
# - Home: home.md
- Index: index.md
Expand Down
Loading

0 comments on commit 388780e

Please sign in to comment.