@kenjura/ursa 0.72.0 → 0.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/meta/default-template.html +32 -6
- package/meta/default.css +365 -175
- package/meta/menu.js +153 -80
- package/meta/search.js +7 -13
- package/meta/sectionify.js +10 -0
- package/meta/toc-generator.js +12 -6
- package/meta/widgets.js +376 -0
- package/package.json +1 -1
- package/src/dev.js +39 -11
- package/src/helper/automenu.js +102 -12
- package/src/helper/breadcrumbs.js +42 -0
- package/src/helper/build/autoIndex.js +80 -23
- package/src/helper/build/menu.js +4 -4
- package/src/helper/customMenu.js +118 -29
- package/src/helper/imageProcessor.js +38 -8
- package/src/jobs/generate.js +52 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# 0.75.0
|
|
2
|
+
2026-02-10
|
|
3
|
+
|
|
4
|
+
- Top Menu changes: the top menu is now the default first-level navigation. Top-left nav is either root, or 'hamburger' on smaller screens.
|
|
5
|
+
- Right column is now a standardized widget zone, with TOC, Search, and Profile widgets implemented.
|
|
6
|
+
- Default header: documents without an initial H1 will now have their title rendered as an H1 header at the top of the article. Index/home pages will default to the parent folder name if not overridden.
|
|
7
|
+
- Breadcrumbs: added breadcrumbs to the top of each article for easier navigation and context
|
|
8
|
+
|
|
9
|
+
# 0.74.0
|
|
10
|
+
2026-02-08
|
|
11
|
+
|
|
12
|
+
- added a feature to skip preview generation and swapping on a per-image basis. You can use the data-no-preview tag in html, and the ?no-preview query parameter in markdown or wikitext images.
|
|
13
|
+
- when building automenus and autoindex pages, folders with no md/mdx/txt/html documents anywhere in their tree will not be shown.
|
|
14
|
+
|
|
15
|
+
# 0.73.0
|
|
16
|
+
2026-02-07
|
|
17
|
+
|
|
18
|
+
- fixed build pipeline blocker
|
|
19
|
+
|
|
1
20
|
# 0.72.0
|
|
2
21
|
2026-02-07
|
|
3
22
|
|
|
@@ -17,22 +17,47 @@
|
|
|
17
17
|
<!-- Top menu will be populated by JavaScript when data-menu-position="top" -->
|
|
18
18
|
</nav>
|
|
19
19
|
|
|
20
|
-
<div class="search-wrapper">
|
|
20
|
+
<div class="search-wrapper search-wrapper-inline">
|
|
21
21
|
<input id="global-search" type="text" placeholder="Search..." />
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
25
|
<div class="nav-right-controls">
|
|
26
|
-
<
|
|
27
|
-
|
|
26
|
+
<div class="widget-bar">
|
|
27
|
+
<button class="widget-button" data-widget="toc" aria-label="Table of Contents" title="Table of Contents">
|
|
28
|
+
<span class="widget-icon">≡</span>
|
|
29
|
+
</button>
|
|
30
|
+
<button class="widget-button" data-widget="search" aria-label="Search" title="Search">
|
|
31
|
+
<span class="widget-icon">🔍</span>
|
|
32
|
+
</button>
|
|
33
|
+
<button class="widget-button" data-widget="profile" aria-label="Profile" title="Profile">
|
|
34
|
+
<span class="widget-icon">👤</span>
|
|
35
|
+
</button>
|
|
36
|
+
</div>
|
|
28
37
|
</div>
|
|
29
38
|
</nav>
|
|
39
|
+
|
|
40
|
+
<!-- Widget dropdown panel (shared by all widgets) -->
|
|
41
|
+
<div id="widget-dropdown" class="widget-dropdown hidden">
|
|
42
|
+
<div id="widget-content-toc" class="widget-content" data-widget="toc">
|
|
43
|
+
<!-- TOC will be generated by JavaScript -->
|
|
44
|
+
</div>
|
|
45
|
+
<div id="widget-content-search" class="widget-content" data-widget="search">
|
|
46
|
+
<!-- Search input + results placed here by JS -->
|
|
47
|
+
</div>
|
|
48
|
+
<div id="widget-content-profile" class="widget-content" data-widget="profile">
|
|
49
|
+
<div class="widget-profile-placeholder">
|
|
50
|
+
<span class="widget-profile-avatar">👤</span>
|
|
51
|
+
<p>Sign in to access your profile</p>
|
|
52
|
+
<button class="widget-profile-signin" disabled>Sign In</button>
|
|
53
|
+
<p class="widget-profile-note">Authentication coming soon</p>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
30
58
|
<nav id="nav-main">
|
|
31
59
|
${menu}
|
|
32
60
|
</nav>
|
|
33
|
-
<nav id="nav-toc">
|
|
34
|
-
<!-- TOC will be generated by JavaScript -->
|
|
35
|
-
</nav>
|
|
36
61
|
<article id="main-content">
|
|
37
62
|
${body}
|
|
38
63
|
</article>
|
|
@@ -46,6 +71,7 @@
|
|
|
46
71
|
<script src="/public/toc-generator.js"></script>
|
|
47
72
|
<script src="/public/menu.js"></script>
|
|
48
73
|
<script src="/public/search.js"></script>
|
|
74
|
+
<script src="/public/widgets.js"></script>
|
|
49
75
|
<script src="/public/sectionify.js"></script>
|
|
50
76
|
<script src="/public/sticky.js"></script>
|
|
51
77
|
${customScript}
|