Skip to content

Commit 6fa5abe

Browse files
committed
Try to make menu on left nicer with collpsable/expandable items
1 parent 242e737 commit 6fa5abe

2 files changed

Lines changed: 25 additions & 19 deletions

File tree

docs/javascripts/mermaid.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// Initialize Mermaid diagrams
12
document.addEventListener('DOMContentLoaded', function() {
23
mermaid.initialize({
34
startOnLoad: true,
4-
theme: 'default'
5+
theme: 'default',
6+
securityLevel: 'loose'
57
});
6-
});
8+
});

mkdocs.yml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ theme:
2323
icon: material/brightness-4
2424
name: Switch to light mode
2525
features:
26-
- navigation.tabs
27-
- navigation.tabs.sticky
28-
- navigation.sections
29-
- navigation.expand
30-
- navigation.top
26+
- navigation.indexes # Section index pages (folder/index.md)
27+
- navigation.top # Back to top button
28+
- navigation.tracking # URL updates with anchor
29+
- toc.follow # TOC follows scroll position
3130
- search.suggest
3231
- search.highlight
3332
- content.code.copy
@@ -75,30 +74,35 @@ nav:
7574
- Persistence: concepts/persistence.md
7675
- Subscriptions: concepts/subscriptions.md
7776
- Logging: concepts/logging.md
78-
- Classes:
77+
- API Reference:
7978
- classes/index.md
80-
- TBoldSystem: classes/TBoldSystem.md
81-
- TBoldObject: classes/TBoldObject.md
82-
- TBoldObjectList: classes/TBoldObjectList.md
83-
- TBoldMember: classes/TBoldMember.md
84-
- TBoldAttribute: classes/TBoldAttribute.md
85-
- Examples: examples/index.md
79+
- Core Classes:
80+
- TBoldSystem: classes/TBoldSystem.md
81+
- TBoldObject: classes/TBoldObject.md
82+
- TBoldObjectList: classes/TBoldObjectList.md
83+
- Members:
84+
- TBoldMember: classes/TBoldMember.md
85+
- TBoldAttribute: classes/TBoldAttribute.md
86+
- Examples:
87+
- examples/index.md
8688
- Integrations:
8789
- integrations/index.md
8890
- DevExpress: integrations/devexpress.md
8991
- Development:
9092
- development/index.md
9193
- Unit Testing: development/testing.md
9294
- Codecov Setup: development/codecov.md
93-
- FAQ: faq.md
94-
- Roadmap: roadmap.md
95-
- Changelog: changelog.md
96-
- Contributing: contributing.md
95+
- Resources:
96+
- FAQ: faq.md
97+
- Roadmap: roadmap.md
98+
- Changelog: changelog.md
99+
- Contributing: contributing.md
97100

98101
extra:
99102
social:
100103
- icon: fontawesome/brands/github
101104
link: https://github.com/bero/BoldForDelphi
102105

103106
extra_javascript:
104-
- https://unpkg.com/mermaid
107+
- https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js
108+
- javascripts/mermaid.js

0 commit comments

Comments
 (0)