@docsector/docsector-reader 4.4.2 → 4.4.3
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/bin/docsector.js +1 -1
- package/package.json +1 -1
- package/src/components/DPage.vue +42 -0
package/bin/docsector.js
CHANGED
|
@@ -24,7 +24,7 @@ const packageRoot = resolve(__dirname, '..')
|
|
|
24
24
|
const args = process.argv.slice(2)
|
|
25
25
|
const command = args[0]
|
|
26
26
|
|
|
27
|
-
const VERSION = '4.4.
|
|
27
|
+
const VERSION = '4.4.3'
|
|
28
28
|
const AUTHORING_SKILL_NAME = 'docsector-documentation-authoring'
|
|
29
29
|
const AUTHORING_SKILL_DESCRIPTION = 'Author Docsector documentation with Markdown, custom blocks, MCP, and WebMCP.'
|
|
30
30
|
const AUTHORING_SKILL_PUBLIC_PATH = `/.well-known/agent-skills/${AUTHORING_SKILL_NAME}/SKILL.md`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docsector/docsector-reader",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.3",
|
|
4
4
|
"description": "A documentation rendering engine built with Vue 3, Quasar v2 and Vite. Transform Markdown into beautiful, navigable documentation sites.",
|
|
5
5
|
"productName": "Docsector Reader",
|
|
6
6
|
"author": "Rodrigo de Araujo Vieira",
|
package/src/components/DPage.vue
CHANGED
|
@@ -136,6 +136,10 @@ const mobileAssistantOpen = computed({
|
|
|
136
136
|
get: () => assistantEnabled && rightRailState.value.isMobile && layoutAssistant.value,
|
|
137
137
|
set: (value) => { layoutAssistant.value = value }
|
|
138
138
|
})
|
|
139
|
+
const mobileTocOpen = computed({
|
|
140
|
+
get: () => rightRailState.value.isMobile && layoutMeta.value,
|
|
141
|
+
set: (value) => { layoutMeta.value = value }
|
|
142
|
+
})
|
|
139
143
|
const backToTopRightOffset = computed(() => {
|
|
140
144
|
return rightRailState.value.backToTopRightOffset
|
|
141
145
|
})
|
|
@@ -470,6 +474,18 @@ watch(() => route.fullPath, () => {
|
|
|
470
474
|
</div>
|
|
471
475
|
</q-drawer>
|
|
472
476
|
|
|
477
|
+
<q-dialog
|
|
478
|
+
v-model="mobileTocOpen"
|
|
479
|
+
position="right"
|
|
480
|
+
square
|
|
481
|
+
full-height
|
|
482
|
+
class="d-mobile-anchor-dialog"
|
|
483
|
+
>
|
|
484
|
+
<div id="anchor" class="d-mobile-anchor-dialog__panel">
|
|
485
|
+
<d-page-anchor />
|
|
486
|
+
</div>
|
|
487
|
+
</q-dialog>
|
|
488
|
+
|
|
473
489
|
<q-dialog
|
|
474
490
|
v-if="assistantEnabled"
|
|
475
491
|
v-model="mobileAssistantOpen"
|
|
@@ -551,6 +567,32 @@ watch(() => route.fullPath, () => {
|
|
|
551
567
|
max-height: 100dvh
|
|
552
568
|
margin: 0
|
|
553
569
|
|
|
570
|
+
.d-mobile-anchor-dialog
|
|
571
|
+
.q-dialog__inner
|
|
572
|
+
padding: 0
|
|
573
|
+
align-items: stretch
|
|
574
|
+
justify-content: flex-end
|
|
575
|
+
|
|
576
|
+
.q-dialog__backdrop
|
|
577
|
+
background: rgba(15, 23, 42, 0.24)
|
|
578
|
+
|
|
579
|
+
&__panel
|
|
580
|
+
width: min(100vw, 340px)
|
|
581
|
+
max-width: 100vw
|
|
582
|
+
height: 100%
|
|
583
|
+
max-height: 100dvh
|
|
584
|
+
padding-top: env(safe-area-inset-top, 0px)
|
|
585
|
+
padding-bottom: env(safe-area-inset-bottom, 0px)
|
|
586
|
+
background: rgba(248, 250, 252, 0.88)
|
|
587
|
+
backdrop-filter: blur(18px)
|
|
588
|
+
-webkit-backdrop-filter: blur(18px)
|
|
589
|
+
overflow: auto
|
|
590
|
+
box-shadow: -16px 0 40px rgba(15, 23, 42, 0.22)
|
|
591
|
+
|
|
592
|
+
body.body--dark
|
|
593
|
+
.d-mobile-anchor-dialog__panel
|
|
594
|
+
background: rgba(15, 23, 42, 0.9)
|
|
595
|
+
|
|
554
596
|
#scroll-container
|
|
555
597
|
width: 100%
|
|
556
598
|
max-width: 1200px
|