web-documentation 1.0.34 → 1.0.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-documentation",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "Declarative multilanguage documentation website generator",
5
5
  "keywords": [
6
6
  "documentation",
@@ -68,7 +68,7 @@
68
68
  "@webcomponents/webcomponentsjs": "^2.8.0",
69
69
  "archiver": "^8.0.0",
70
70
  "bootstrap-icons": "^1.13.1",
71
- "clientnode": "^4.0.1421",
71
+ "clientnode": "^4.0.1422",
72
72
  "css-loader": "^7.1.4",
73
73
  "cssnano": "^8.0.1",
74
74
  "default-gateway": "^7.2.2",
@@ -105,7 +105,7 @@
105
105
  "ua-parser-js": "^2.0.10",
106
106
  "unzipper": "^0.12.3",
107
107
  "web-component-wrapper": "^0.0.596",
108
- "web-internationalization": "^2.0.39",
108
+ "web-internationalization": "^2.0.41",
109
109
  "weboptimizer": "^3.0.24",
110
110
  "webpack-dev-server": "^5.2.4",
111
111
  "website-utilities": "^1.0.442"
@@ -28,7 +28,6 @@ Project status
28
28
 
29
29
  [![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?style=for-the-badge&logo=codesandbox)](https://githubbox.com/thaibault/clientnode)
30
30
 
31
- <!--|deDE:Einsatz-->
32
31
  Use case
33
32
  --------
34
33
 
@@ -60,9 +59,8 @@ You need utilities for:<!--deDE:Sie benötigen Hilfsfunktionen für:-->
60
59
  - URLs
61
60
 
62
61
  <!--Place for automatic generated table of contents.-->
63
- <div class="wd-table-of-contents" style="display: none">
64
- <!--|deDE:Inhalt-->
65
- <h2 id="content">Content</h2>
62
+ <div class="wd-table-of-contents">
63
+ <h2 id="content">Content<!--deDE:Inhalt--></h2>
66
64
  <!--wd-table-of-contents-->
67
65
  </div>
68
66
 
package/source/index.ts CHANGED
@@ -77,7 +77,7 @@ export class WebDocumentation<
77
77
  >
78
78
  <web-internationalization
79
79
  options="{selectors: {
80
- knownTranslation: '.wd-table-of-contents'
80
+ knownTranslation: '.wd-table-of-contents ul li'
81
81
  }}"
82
82
  >
83
83
  <slot>Please provide a template to transclude.</slot>