clean-jsdoc-theme 3.2.10 → 3.3.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.
Files changed (59) hide show
  1. package/.eslintignore +4 -4
  2. package/.eslintrc.js +3 -3
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +43 -43
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +27 -27
  5. package/.github/pull_request_template.md +16 -16
  6. package/.github/workflows/codeql-analysis.yml +67 -67
  7. package/.prettierignore +2 -2
  8. package/.prettierrc +5 -5
  9. package/.stylelintignore +3 -3
  10. package/.stylelintrc +23 -23
  11. package/.travis.yml +30 -30
  12. package/CHANGELOG.md +216 -191
  13. package/CODE_OF_CONDUCT.md +76 -76
  14. package/CODE_OF_CONDUCT_HINDI.md +46 -46
  15. package/CONTRIBUTING.md +24 -24
  16. package/LICENSE +21 -21
  17. package/README.md +546 -510
  18. package/SECURITY.md +21 -21
  19. package/helpers/down-arrow.js +9 -9
  20. package/jsdoc-config.json +60 -59
  21. package/package.json +46 -46
  22. package/publish.js +1197 -948
  23. package/static/fonts/Montserrat-Regular.ttf +0 -0
  24. package/static/fonts/OFL-hind.txt +0 -0
  25. package/static/fonts/OFL-montserrat.txt +0 -0
  26. package/static/scripts/fix-code-block.js +53 -53
  27. package/static/scripts/fix-navbar.js +25 -25
  28. package/static/scripts/linenumber.js +25 -25
  29. package/static/scripts/misc.js +217 -217
  30. package/static/scripts/resize.js +85 -85
  31. package/static/scripts/search.js +77 -83
  32. package/static/scripts/third-party/Apache-License-2.0.txt +202 -202
  33. package/static/scripts/third-party/fuse.js +8 -8
  34. package/static/scripts/third-party/lang-css.js +2 -2
  35. package/static/scripts/third-party/prettify.js +28 -28
  36. package/static/styles/clean-jsdoc-theme-base.css +393 -393
  37. package/static/styles/clean-jsdoc-theme-dark.css +324 -324
  38. package/static/styles/clean-jsdoc-theme-light.css +319 -319
  39. package/static/styles/reset.css +351 -346
  40. package/static/styles/third-party/ionicons.min.css +11 -11
  41. package/static/styles/third-party/prettify-jsdoc.css +111 -111
  42. package/static/styles/third-party/prettify-tomorrow.css +5 -5
  43. package/tmpl/augments.tmpl +10 -10
  44. package/tmpl/container.tmpl +189 -189
  45. package/tmpl/details.tmpl +208 -209
  46. package/tmpl/example.tmpl +3 -3
  47. package/tmpl/examples.tmpl +38 -38
  48. package/tmpl/exceptions.tmpl +32 -32
  49. package/tmpl/icons.tmpl +34 -34
  50. package/tmpl/layout.tmpl +165 -171
  51. package/tmpl/mainpage.tmpl +10 -10
  52. package/tmpl/members.tmpl +43 -43
  53. package/tmpl/method.tmpl +140 -140
  54. package/tmpl/params.tmpl +124 -124
  55. package/tmpl/properties.tmpl +109 -109
  56. package/tmpl/returns.tmpl +18 -18
  57. package/tmpl/source.tmpl +7 -7
  58. package/tmpl/tutorial.tmpl +19 -19
  59. package/tmpl/type.tmpl +6 -6
package/SECURITY.md CHANGED
@@ -1,21 +1,21 @@
1
- # Security Policy
2
-
3
- ## Supported Versions
4
-
5
- Use this section to tell people about which versions of your project are
6
- currently being supported with security updates.
7
-
8
- | Version | Supported |
9
- | ------- | ------------------ |
10
- | 5.1.x | :white_check_mark: |
11
- | 5.0.x | :x: |
12
- | 4.0.x | :white_check_mark: |
13
- | < 4.0 | :x: |
14
-
15
- ## Reporting a Vulnerability
16
-
17
- Use this section to tell people how to report a vulnerability.
18
-
19
- Tell them where to go, how often they can expect to get an update on a
20
- reported vulnerability, what to expect if the vulnerability is accepted or
21
- declined, etc.
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ Use this section to tell people about which versions of your project are
6
+ currently being supported with security updates.
7
+
8
+ | Version | Supported |
9
+ | ------- | ------------------ |
10
+ | 5.1.x | :white_check_mark: |
11
+ | 5.0.x | :x: |
12
+ | 4.0.x | :white_check_mark: |
13
+ | < 4.0 | :x: |
14
+
15
+ ## Reporting a Vulnerability
16
+
17
+ Use this section to tell people how to report a vulnerability.
18
+
19
+ Tell them where to go, how often they can expect to get an update on a
20
+ reported vulnerability, what to expect if the vulnerability is accepted or
21
+ declined, etc.
@@ -1,9 +1,9 @@
1
- const upIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
2
- <path
3
- fill-rule="evenodd"
4
- clip-rule="evenodd"
5
- d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z">
6
- </path>
7
- </svg>`;
8
-
9
- module.exports = upIcon;
1
+ const upIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
2
+ <path
3
+ fill-rule="evenodd"
4
+ clip-rule="evenodd"
5
+ d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z">
6
+ </path>
7
+ </svg>`;
8
+
9
+ module.exports = upIcon;
package/jsdoc-config.json CHANGED
@@ -1,59 +1,60 @@
1
- {
2
- "tags": {
3
- "allowUnknownTags": true
4
- },
5
- "source": {
6
- "include": ["./demo/src", "./README.md"]
7
- },
8
- "plugins": ["plugins/markdown"],
9
- "opts": {
10
- "encoding": "utf8",
11
- "destination": "output/light",
12
- "recurse": true,
13
- "template": "./",
14
- "theme_opts": {
15
- "theme": "light",
16
- "title": "clean-jsdoc-theme",
17
- "footer": "Fork: <a href='https://github.com/ankitskvmdam/clean-jsdoc-theme'>https://github.com/ankitskvmdam/clean-jsdoc-theme</a>",
18
- "meta": [
19
- {
20
- "name": "Author",
21
- "content": "Ankit Kumar"
22
- },
23
- {
24
- "name": "Description",
25
- "content": "A beautifully crafted theme for jsdoc"
26
- }
27
- ],
28
- "menu": [
29
- {
30
- "title": "Github",
31
- "id": "github",
32
- "link": "https://github.com/ankitskvmdam/clean-jsdoc-theme"
33
- },
34
- {
35
- "title": "npm",
36
- "id": "npm",
37
- "link": "https://www.npmjs.com/package/clean-jsdoc-theme"
38
- }
39
- ],
40
- "resizeable": {
41
- "navbar": {
42
- "min": "300",
43
- "max": "600"
44
- }
45
- },
46
- "codepen": {
47
- "enable_for": ["examples"],
48
- "options": {
49
- "js_external": "https://code.jquery.com/jquery-3.6.0.min.js",
50
- "js_pre_processor": "babel"
51
- }
52
- }
53
- }
54
- },
55
- "markdown.hardwrap": true,
56
- "markdown": {
57
- "hardwrap": true
58
- }
59
- }
1
+ {
2
+ "tags": {
3
+ "allowUnknownTags": true
4
+ },
5
+ "source": {
6
+ "include": ["./demo/src", "./README.md"]
7
+ },
8
+ "plugins": ["plugins/markdown"],
9
+ "opts": {
10
+ "encoding": "utf8",
11
+ "destination": "output/light",
12
+ "recurse": true,
13
+ "template": "./",
14
+ "tutorials": "./demo/src/tutorials",
15
+ "theme_opts": {
16
+ "theme": "light",
17
+ "title": "clean-jsdoc-theme",
18
+ "footer": "Fork: <a href='https://github.com/ankitskvmdam/clean-jsdoc-theme'>https://github.com/ankitskvmdam/clean-jsdoc-theme</a>",
19
+ "meta": [
20
+ {
21
+ "name": "Author",
22
+ "content": "Ankit Kumar"
23
+ },
24
+ {
25
+ "name": "Description",
26
+ "content": "A beautifully crafted theme for jsdoc"
27
+ }
28
+ ],
29
+ "menu": [
30
+ {
31
+ "title": "Github",
32
+ "id": "github",
33
+ "link": "https://github.com/ankitskvmdam/clean-jsdoc-theme"
34
+ },
35
+ {
36
+ "title": "npm",
37
+ "id": "npm",
38
+ "link": "https://www.npmjs.com/package/clean-jsdoc-theme"
39
+ }
40
+ ],
41
+ "resizeable": {
42
+ "navbar": {
43
+ "min": "300",
44
+ "max": "600"
45
+ }
46
+ },
47
+ "codepen": {
48
+ "enable_for": ["examples"],
49
+ "options": {
50
+ "js_external": "https://code.jquery.com/jquery-3.6.0.min.js",
51
+ "js_pre_processor": "babel"
52
+ }
53
+ }
54
+ }
55
+ },
56
+ "markdown.hardwrap": true,
57
+ "markdown": {
58
+ "hardwrap": true
59
+ }
60
+ }
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "clean-jsdoc-theme",
3
- "version": "3.2.10",
4
- "description": "A beautifully crafted theme/template for JSDoc 3. This theme/template looks and feels like a premium theme/template. This is a fully mobile responsive theme and also fully customizable theme.",
5
- "main": "publish.js",
6
- "scripts": {
7
- "test": "node node_modules/jsdoc/jsdoc.js -c jsdoc-config.json",
8
- "lint:js": "eslint . --ext .js",
9
- "lint:style": "stylelint static/styles/",
10
- "lint": "concurrently --prefix '{time}-{pid}' 'npm run lint:types' 'npm run lint:style'"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://github.com/ankitskvmdam/clean-jsdoc-theme.git"
15
- },
16
- "author": "Ank",
17
- "license": "ISC",
18
- "bugs": {
19
- "url": "https://github.com/ankitskvmdam/clean-jsdoc-theme/issues"
20
- },
21
- "homepage": "https://ankdev.me/clean-jsdoc-theme/dark/index.html",
22
- "peerDependencies": {
23
- "jsdoc": "3"
24
- },
25
- "keywords": [
26
- "jsdoc",
27
- "template",
28
- "jsdoc-template",
29
- "javascript documentation",
30
- "customizable jsdoc theme / template"
31
- ],
32
- "devDependencies": {
33
- "@jsdoc/eslint-config": "^1.1.6",
34
- "concurrently": "^5.3.0",
35
- "eslint": "^7.22.0",
36
- "prettier": "^2.2.1",
37
- "stylelint": "^13.12.0",
38
- "stylelint-config-sass-guidelines": "^7.1.0",
39
- "stylelint-config-standard": "^20.0.0",
40
- "stylelint-order": "^4.1.0",
41
- "stylelint-scss": "^3.19.0"
42
- },
43
- "dependencies": {
44
- "fs-extra": "^9.1.0"
45
- }
46
- }
1
+ {
2
+ "name": "clean-jsdoc-theme",
3
+ "version": "3.3.3",
4
+ "description": "A beautifully crafted theme/template for JSDoc 3. This theme/template looks and feels like a premium theme/template. This is a fully mobile responsive theme and also fully customizable theme.",
5
+ "main": "publish.js",
6
+ "scripts": {
7
+ "test": "node node_modules/jsdoc/jsdoc.js -c jsdoc-config.json",
8
+ "lint:js": "eslint . --ext .js",
9
+ "lint:style": "stylelint static/styles/",
10
+ "lint": "concurrently --prefix '{time}-{pid}' 'npm run lint:types' 'npm run lint:style'"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/ankitskvmdam/clean-jsdoc-theme.git"
15
+ },
16
+ "author": "Ank",
17
+ "license": "ISC",
18
+ "bugs": {
19
+ "url": "https://github.com/ankitskvmdam/clean-jsdoc-theme/issues"
20
+ },
21
+ "homepage": "https://ankdev.me/clean-jsdoc-theme/dark/index.html",
22
+ "peerDependencies": {
23
+ "jsdoc": "3"
24
+ },
25
+ "keywords": [
26
+ "jsdoc",
27
+ "template",
28
+ "jsdoc-template",
29
+ "javascript documentation",
30
+ "customizable jsdoc theme / template"
31
+ ],
32
+ "devDependencies": {
33
+ "@jsdoc/eslint-config": "^1.1.6",
34
+ "concurrently": "^5.3.0",
35
+ "eslint": "^7.22.0",
36
+ "prettier": "^2.2.1",
37
+ "stylelint": "^13.12.0",
38
+ "stylelint-config-sass-guidelines": "^7.1.0",
39
+ "stylelint-config-standard": "^20.0.0",
40
+ "stylelint-order": "^4.1.0",
41
+ "stylelint-scss": "^3.19.0"
42
+ },
43
+ "dependencies": {
44
+ "fs-extra": "^9.1.0"
45
+ }
46
+ }