web-documentation 1.0.34 → 1.0.36

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.36",
4
4
  "description": "Declarative multilanguage documentation website generator",
5
5
  "keywords": [
6
6
  "documentation",
@@ -50,7 +50,7 @@
50
50
  "watch": "weboptimizer build --watch"
51
51
  },
52
52
  "devDependencies": {
53
- "@aws-sdk/client-s3": "^3.1065.0",
53
+ "@aws-sdk/client-s3": "^3.1067.0",
54
54
  "@babel/eslint-parser": "^7.29.7",
55
55
  "@babel/runtime": "^7.29.7",
56
56
  "@eslint/js": "^10.0.1",
@@ -60,7 +60,7 @@
60
60
  "@types/html-minifier": "^4.0.6",
61
61
  "@types/jsdom": "^28.0.3",
62
62
  "@types/marked": "^6.0.0",
63
- "@types/node": "^25.9.2",
63
+ "@types/node": "^25.9.3",
64
64
  "@types/unzipper": "^0.10.11",
65
65
  "@types/webpack-env": "^1.18.8",
66
66
  "@typescript-eslint/eslint-plugin": "^8.61.0",
@@ -68,11 +68,11 @@
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
- "cssnano": "^8.0.1",
73
+ "cssnano": "^8.0.2",
74
74
  "default-gateway": "^7.2.2",
75
- "errorreporter": "^1.0.347",
75
+ "errorreporter": "^1.0.348",
76
76
  "eslint": "^10.4.1",
77
77
  "eslint-config-google": "^0.14.0",
78
78
  "eslint-plugin-jsdoc": "^63.0.2",
@@ -104,8 +104,8 @@
104
104
  "typescript-eslint": "^8.61.0",
105
105
  "ua-parser-js": "^2.0.10",
106
106
  "unzipper": "^0.12.3",
107
- "web-component-wrapper": "^0.0.596",
108
- "web-internationalization": "^2.0.39",
107
+ "web-component-wrapper": "^0.0.597",
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"
package/source/deploy.ts CHANGED
@@ -53,7 +53,7 @@ interface MAKE_TEMPORARY_FILE_OPTIONS {
53
53
  }
54
54
  interface SCOPE_TYPE extends Mapping<unknown> {
55
55
  description?: string
56
- documentationWebsite?: PlainObject
56
+ webDocumentation?: PlainObject
57
57
  files?: Array<string>
58
58
  main?: string
59
59
  name: string
@@ -237,7 +237,7 @@ const generateAndPushNewDocumentationPage = async (
237
237
 
238
238
  let parameters: Mapping<unknown> = {}
239
239
  for (const [key, value] of Object.entries(
240
- SCOPE.documentationWebsite || {}
240
+ SCOPE.webDocumentation || {}
241
241
  ))
242
242
  parameters[camelCaseToDelimited(key).toUpperCase()] = value
243
243
  if (!parameters.TAGLINE && SCOPE.description)
@@ -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>