Skip to content

Commit eaf2aab

Browse files
committed
doc updates, port update to support dot notation
1 parent 199a9be commit eaf2aab

14 files changed

+13396
-79
lines changed

docs/_quarto.yml

+30-28
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ website:
1010
navbar:
1111
logo: /assets/logo/pyllments_logo_128.png
1212
left:
13-
- href: getting_started.qmd
13+
- href: /getting_started
1414
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
1821
right:
1922
- icon: github
2023
href: https://github.com/prudent-patterns/pyllments
@@ -26,9 +29,9 @@ website:
2629
- text: "🔧 Installation"
2730
href: installation.qmd
2831
- text: "🎓 Getting Started Tutorial"
29-
href: getting_started.qmd
32+
href: getting_started
3033
- section: "📋 How To"
31-
contents: how_to/*
34+
contents: how_to/*.qmd
3235
- section: "🧩 Elements"
3336
contents: elements/*
3437
- section: "💡 Explanation"
@@ -47,28 +50,27 @@ format:
4750
toc: true
4851
highlight-style: github
4952
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>
7274

7375

7476

0 commit comments

Comments
 (0)