hdoc-tools 0.7.2 → 0.7.4

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/hdoc-serve.js CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  console.log('Hornbill HDocBook Preview/Dev Server', '\r\n');
26
26
  //console.log(' Server Path:', __dirname);
27
- //console.log(' UI Root Path:', ui_path);
27
+ console.log(' UI Root Path:', ui_path);
28
28
  console.log(' Document Path:', source_path, '\r\n');
29
29
  console.log(' Server Port:', port);
30
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {
package/ui/index.html CHANGED
@@ -99,7 +99,7 @@
99
99
  </div>
100
100
  <a class="title-text">{{asection.text}}</a>
101
101
  </div>
102
- <div v-show="asection.expand" v-for="(navSectionItem, index) in asection.items" class="items">
102
+ <div v-show="asection.expand && asection.items" v-for="(navSectionItem, index) in asection.items" class="items">
103
103
 
104
104
  <!-- if navSectionItem has no items show clickable link -->
105
105
  <div v-if="!navSectionItem.items">
@@ -162,7 +162,16 @@
162
162
 
163
163
  <nav class="nav hb-container-expand" id="DocSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1">
164
164
  <div v-for="(navSection,index) in docApp.navSections" class="group">
165
- <nav-section-component :key="updateCounter" v-bind:asection="navSection"></nav-section-component>
165
+
166
+ <div v-show="!navSection.items">
167
+ <a class="DocLink link noitems" v-bind:href="navSection.link" v-bind:target="navSection.target || ''" style="padding-left: 0px;">
168
+ <span class="link-text">{{navSection.text}} <i v-if="navSection.target" class="bi bi-box-arrow-up-right"></i> </span>
169
+ </a>
170
+ </div>
171
+
172
+ <div v-show="navSection.items">
173
+ <nav-section-component v-show="navSection.items" :key="updateCounter" v-bind:asection="navSection"></nav-section-component>
174
+ </div>
166
175
  </div>
167
176
  </nav>
168
177