Skip to content

Commit 2ee81df

Browse files
[#253]: Configure project docs and Mermaid support
1 parent 1c594d8 commit 2ee81df

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

mkdocs.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ site_description: Python implementation of the JSON-LD API
33
site_url: https://digitalbazaar.github.io/pyld/
44
repo_url: https://github.com/digitalbazaar/pyld
55
repo_name: digitalbazaar/pyld
6+
exclude_docs: |
7+
**/AGENTS.md
68
79
extra_css:
810
- stylesheets/extra.css
911

12+
extra_javascript:
13+
- javascripts/mermaid.mjs
14+
1015
theme:
1116
name: material
1217
features:
@@ -29,12 +34,18 @@ markdown_extensions:
2934
emoji_generator: !!python/name:material.extensions.emoji.to_svg
3035
- pymdownx.highlight:
3136
anchor_linenums: true
32-
- pymdownx.superfences
37+
- pymdownx.superfences:
38+
custom_fences:
39+
- name: mermaid
40+
class: mermaid
41+
format: !!python/name:pymdownx.superfences.fence_code_format
3342
- pymdownx.tabbed:
3443
alternate_style: true
3544
slugify: !!python/object/apply:pymdownx.slugs.slugify
3645
kwds:
3746
case: lower
47+
- pymdownx.tasklist:
48+
custom_checkbox: true
3849
- toc:
3950
permalink: true
4051

0 commit comments

Comments
 (0)