@docsector/docsector-reader 0.12.1 → 0.12.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 CHANGED
@@ -23,7 +23,7 @@ const packageRoot = resolve(__dirname, '..')
23
23
  const args = process.argv.slice(2)
24
24
  const command = args[0]
25
25
 
26
- const VERSION = '0.12.1'
26
+ const VERSION = '0.12.3'
27
27
 
28
28
  const HELP = `
29
29
  Docsector Reader v${VERSION}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsector/docsector-reader",
3
- "version": "0.12.1",
3
+ "version": "0.12.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",
@@ -372,7 +372,7 @@ body.body--light
372
372
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12)
373
373
 
374
374
  .separator
375
- margin: 0 auto
375
+ margin: 5px auto 10px
376
376
 
377
377
  .q-item
378
378
  padding: 8px 12px
@@ -102,7 +102,7 @@ const isMenuItemActive = (path) => {
102
102
  </q-item-section>
103
103
 
104
104
  <q-item
105
- :to="subitem.path + '/overview'"
105
+ :to="subitem.path + '/overview/'"
106
106
  :active="isMenuItemActive(subitem.path + subpage)"
107
107
  v-show="founds[subitem.path] || !founds"
108
108
  >
@@ -68,7 +68,7 @@ const subroute = (to) => {
68
68
  let path = base
69
69
 
70
70
  if (to !== '/') {
71
- path += to
71
+ path += to + '/'
72
72
  }
73
73
 
74
74
  if (relative === to) {
@@ -163,12 +163,12 @@ const next = computed(() => {
163
163
  </div>
164
164
 
165
165
  <nav id="d-page-nav" class="row">
166
- <router-link class="link col" v-if="prev" :to="`${prev}/overview`">
166
+ <router-link class="link col" v-if="prev" :to="`${prev}/overview/`">
167
167
  <div class="text-caption">{{ $t('page.nav.prev') }}</div>
168
168
  <q-icon name="navigate_before" />
169
169
  <span>{{ $t(`_${prev.replace(/_$/, '').replace(/\//g, '.')}._`) }}</span>
170
170
  </router-link>
171
- <router-link class="link col" v-if="next" :to="`${next}/overview`">
171
+ <router-link class="link col" v-if="next" :to="`${next}/overview/`">
172
172
  <div class="text-caption">{{ $t('page.nav.next') }}</div>
173
173
  <span>{{ $t(`_${next.replace(/_$/, '').replace(/\//g, '.')}._`) }}</span>
174
174
  <q-icon name="navigate_next" />
@@ -15,7 +15,7 @@
15
15
  <h3 class="text-center q-mb-md">Quick Links</h3>
16
16
 
17
17
  <q-list bordered separator class="rounded-borders">
18
- <q-item clickable to="/guide/getting-started/overview">
18
+ <q-item clickable to="/guide/getting-started/overview/">
19
19
  <q-item-section avatar>
20
20
  <q-icon name="flag" color="primary" />
21
21
  </q-item-section>
@@ -28,7 +28,7 @@
28
28
  </q-item-section>
29
29
  </q-item>
30
30
 
31
- <q-item clickable to="/guide/configuration/overview">
31
+ <q-item clickable to="/guide/configuration/overview/">
32
32
  <q-item-section avatar>
33
33
  <q-icon name="tune" color="primary" />
34
34
  </q-item-section>
@@ -41,7 +41,7 @@
41
41
  </q-item-section>
42
42
  </q-item>
43
43
 
44
- <q-item clickable to="/guide/pages-and-routing/overview">
44
+ <q-item clickable to="/guide/pages-and-routing/overview/">
45
45
  <q-item-section avatar>
46
46
  <q-icon name="route" color="primary" />
47
47
  </q-item-section>
@@ -54,7 +54,7 @@
54
54
  </q-item-section>
55
55
  </q-item>
56
56
 
57
- <q-item clickable to="/manual/components/d-page/overview">
57
+ <q-item clickable to="/manual/components/d-page/overview/">
58
58
  <q-item-section avatar>
59
59
  <q-icon name="widgets" color="secondary" />
60
60
  </q-item-section>
@@ -67,7 +67,7 @@
67
67
  </q-item-section>
68
68
  </q-item>
69
69
 
70
- <q-item clickable to="/manual/composables/use-navigator/overview">
70
+ <q-item clickable to="/manual/composables/use-navigator/overview/">
71
71
  <q-item-section avatar>
72
72
  <q-icon name="navigation" color="accent" />
73
73
  </q-item-section>
@@ -80,7 +80,7 @@
80
80
  </q-item-section>
81
81
  </q-item>
82
82
 
83
- <q-item clickable to="/manual/store/modules/overview">
83
+ <q-item clickable to="/manual/store/modules/overview/">
84
84
  <q-item-section avatar>
85
85
  <q-icon name="storage" color="deep-orange" />
86
86
  </q-item-section>
@@ -13,7 +13,7 @@ for (const [path, page] of Object.entries(pages)) {
13
13
  const children = [
14
14
  {
15
15
  path: '',
16
- redirect: (to) => `${to.path.replace(/\/$/, '')}/overview`
16
+ redirect: (to) => `${to.path.replace(/\/$/, '')}/overview/`
17
17
  },
18
18
  {
19
19
  path: 'overview',