@@ -10,11 +10,14 @@ website:
10
10
navbar :
11
11
logo : /assets/logo/pyllments_logo_128.png
12
12
left :
13
- - href : getting_started.qmd
13
+ - href : / getting_started
14
14
text : Getting Started
15
- - How-To
16
- - Elements
17
- - API Reference
15
+ - href : /how_to
16
+ text : How-To
17
+ - href : /elements
18
+ text : Elements
19
+ - href : /api_reference
20
+ text : API Reference
18
21
right :
19
22
- icon : github
20
23
href : https://github.com/prudent-patterns/pyllments
@@ -26,9 +29,9 @@ website:
26
29
- text : " 🔧 Installation"
27
30
href : installation.qmd
28
31
- text : " 🎓 Getting Started Tutorial"
29
- href : getting_started.qmd
32
+ href : getting_started
30
33
- section : " 📋 How To"
31
- contents : how_to/*
34
+ contents : how_to/*.qmd
32
35
- section : " 🧩 Elements"
33
36
contents : elements/*
34
37
- section : " 💡 Explanation"
@@ -47,28 +50,27 @@ format:
47
50
toc : true
48
51
highlight-style : github
49
52
freeze : auto
50
- include-in-header :
51
- - text : |
52
- <script src="https://unpkg.com/powerglitch@latest/dist/powerglitch.min.js"></script>
53
- <script>
54
- document.addEventListener("DOMContentLoaded", function() {
55
- // Immediately trigger the glitch effect on menu text when the DOM is ready
56
- PowerGlitch.glitch('span.menu-text', { playMode: 'click' });
57
-
58
- // Wait 300ms before checking for the sidebar toggle element to ensure it exists
59
- setTimeout(function() {
60
- var toggleElement = document.querySelector('.quarto-sidebar-toggle');
61
- if (toggleElement) {
62
- toggleElement.addEventListener('click', function() {
63
- // After the toggle is clicked, wait 500ms for any UI updates then trigger the glitch effect again
64
- setTimeout(function() {
65
- PowerGlitch.glitch('span.menu-text', { playMode: 'click' });
66
- }, 500);
67
- });
68
- }
69
- }, 300);
70
- });
71
- </script>
53
+ # include-in-header:
54
+ # - text: |
55
+ # <script src="https://unpkg.com/powerglitch@latest/dist/powerglitch.min.js"></script>
56
+ # <script>
57
+ # document.addEventListener("DOMContentLoaded", function() {
58
+ # // Immediately trigger the glitch effect on menu text when the DOM is ready
59
+ # PowerGlitch.glitch('span.menu-text', { playMode: 'click' });
60
+ # // Wait 300ms before checking for the sidebar toggle element to ensure it exists
61
+ # setTimeout(function() {
62
+ # var toggleElement = document.querySelector('.quarto-sidebar-toggle');
63
+ # if (toggleElement) {
64
+ # toggleElement.addEventListener('click', function() {
65
+ # // After the toggle is clicked, wait 500ms for any UI updates then trigger the glitch effect again
66
+ # setTimeout(function() {
67
+ # PowerGlitch.glitch('span.menu-text', { playMode: 'click' });
68
+ # }, 500);
69
+ # });
70
+ # }
71
+ # }, 300);
72
+ # });
73
+ # </script>
72
74
73
75
74
76
0 commit comments