clean-jsdoc-theme 3.3.3 → 4.0.2
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/.github/workflows/{codeql-analysis.yml → codeql.yml} +23 -18
- package/.github/workflows/greetings.yml +16 -0
- package/CHANGELOG.md +16 -0
- package/LICENSE +1 -1
- package/README.md +206 -311
- package/jsdoc-config.json +7 -5
- package/minify.js +52 -0
- package/package.json +10 -6
- package/publish.js +805 -871
- package/static/fonts/Inconsolata-Regular.ttf +0 -0
- package/static/fonts/OpenSans-Regular.ttf +0 -0
- package/static/fonts/WorkSans-Bold.ttf +0 -0
- package/static/scripts/core.js +576 -0
- package/static/scripts/core.min.js +23 -0
- package/static/scripts/resize.js +59 -54
- package/static/scripts/search.js +220 -53
- package/static/scripts/search.min.js +11 -0
- package/static/scripts/third-party/hljs-line-num.js +1 -0
- package/static/scripts/third-party/hljs-original.js +5162 -0
- package/static/scripts/third-party/hljs.js +1 -0
- package/static/scripts/third-party/popper.js +6 -0
- package/static/scripts/third-party/tippy.js +2 -0
- package/static/scripts/third-party/tocbot.js +1 -0
- package/static/styles/clean-jsdoc-theme-base.css +752 -190
- package/static/styles/clean-jsdoc-theme-dark.css +216 -133
- package/static/styles/clean-jsdoc-theme-light.css +239 -170
- package/static/styles/clean-jsdoc-theme.min.css +1 -0
- package/tmpl/container.tmpl +13 -12
- package/tmpl/details.tmpl +16 -16
- package/tmpl/examples.tmpl +3 -1
- package/tmpl/icons.tmpl +43 -5
- package/tmpl/layout.tmpl +62 -81
- package/tmpl/members.tmpl +1 -2
- package/tmpl/method.tmpl +4 -5
- package/tmpl/mobile-sidebar.tmpl +21 -0
- package/tmpl/navbar-actions.tmpl +19 -0
- package/tmpl/navbar-menu.tmpl +25 -0
- package/tmpl/navbar.tmpl +14 -0
- package/tmpl/returns.tmpl +1 -1
- package/tmpl/search.tmpl +17 -0
- package/tmpl/sidebar-items.tmpl +24 -0
- package/tmpl/sidebar-title.tmpl +10 -0
- package/tmpl/sidebar.tmpl +9 -0
- package/tmpl/source.tmpl +7 -2
- package/tmpl/toc.tmpl +4 -0
- package/helpers/navbarBuilder.js +0 -0
- package/static/fonts/MavenPro-Regular.ttf +0 -0
- package/static/fonts/Montserrat-Regular.ttf +0 -0
- package/static/fonts/Muli-Black.ttf +0 -0
- package/static/fonts/OFL-hind.txt +0 -93
- package/static/fonts/OFL-montserrat.txt +0 -93
- package/static/scripts/fix-code-block.js +0 -53
- package/static/scripts/fix-navbar.js +0 -25
- package/static/scripts/linenumber.js +0 -25
- package/static/scripts/misc.js +0 -217
- package/static/scripts/third-party/lang-css.js +0 -2
- package/static/scripts/third-party/prettify.js +0 -28
- package/static/styles/reset.css +0 -351
- package/static/styles/third-party/ionicons.min.css +0 -11
- package/static/styles/third-party/prettify-jsdoc.css +0 -111
- package/static/styles/third-party/prettify-tomorrow.css +0 -5
|
@@ -13,55 +13,60 @@ name: "CodeQL"
|
|
|
13
13
|
|
|
14
14
|
on:
|
|
15
15
|
push:
|
|
16
|
-
branches: [ master ]
|
|
16
|
+
branches: [ "master" ]
|
|
17
17
|
pull_request:
|
|
18
18
|
# The branches below must be a subset of the branches above
|
|
19
|
-
branches: [ master ]
|
|
19
|
+
branches: [ "master" ]
|
|
20
20
|
schedule:
|
|
21
|
-
- cron: '
|
|
21
|
+
- cron: '23 8 * * 1'
|
|
22
22
|
|
|
23
23
|
jobs:
|
|
24
24
|
analyze:
|
|
25
25
|
name: Analyze
|
|
26
26
|
runs-on: ubuntu-latest
|
|
27
|
+
permissions:
|
|
28
|
+
actions: read
|
|
29
|
+
contents: read
|
|
30
|
+
security-events: write
|
|
27
31
|
|
|
28
32
|
strategy:
|
|
29
33
|
fail-fast: false
|
|
30
34
|
matrix:
|
|
31
35
|
language: [ 'javascript' ]
|
|
32
|
-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
|
33
|
-
# Learn more
|
|
34
|
-
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
|
36
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
|
37
|
+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
|
35
38
|
|
|
36
39
|
steps:
|
|
37
40
|
- name: Checkout repository
|
|
38
|
-
uses: actions/checkout@
|
|
41
|
+
uses: actions/checkout@v3
|
|
39
42
|
|
|
40
43
|
# Initializes the CodeQL tools for scanning.
|
|
41
44
|
- name: Initialize CodeQL
|
|
42
|
-
uses: github/codeql-action/init@
|
|
45
|
+
uses: github/codeql-action/init@v2
|
|
43
46
|
with:
|
|
44
47
|
languages: ${{ matrix.language }}
|
|
45
48
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
46
49
|
# By default, queries listed here will override any specified in a config file.
|
|
47
50
|
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
48
|
-
|
|
51
|
+
|
|
52
|
+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
53
|
+
# queries: security-extended,security-and-quality
|
|
49
54
|
|
|
55
|
+
|
|
50
56
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
51
57
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
52
58
|
- name: Autobuild
|
|
53
|
-
uses: github/codeql-action/autobuild@
|
|
59
|
+
uses: github/codeql-action/autobuild@v2
|
|
54
60
|
|
|
55
61
|
# ℹ️ Command-line programs to run using the OS shell.
|
|
56
|
-
# 📚 https://
|
|
62
|
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
|
57
63
|
|
|
58
|
-
#
|
|
59
|
-
#
|
|
60
|
-
# uses a compiled language
|
|
64
|
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
|
65
|
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
|
61
66
|
|
|
62
|
-
|
|
63
|
-
#
|
|
64
|
-
#
|
|
67
|
+
# - run: |
|
|
68
|
+
# echo "Run, Build Application using script"
|
|
69
|
+
# ./location_of_script_within_repo/buildscript.sh
|
|
65
70
|
|
|
66
71
|
- name: Perform CodeQL Analysis
|
|
67
|
-
uses: github/codeql-action/analyze@
|
|
72
|
+
uses: github/codeql-action/analyze@v2
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: Greetings
|
|
2
|
+
|
|
3
|
+
on: [pull_request_target, issues]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
greeting:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
permissions:
|
|
9
|
+
issues: write
|
|
10
|
+
pull-requests: write
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/first-interaction@v1
|
|
13
|
+
with:
|
|
14
|
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
15
|
+
issue-message: "Wonderful, you have created your first issue for clean-jsdoc-theme."
|
|
16
|
+
pr-message: "That's Amazing! Thanks for creating your first PR for clean-jsdoc-theme."
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
## Change Log
|
|
2
2
|
|
|
3
|
+
### In version 4.0.0
|
|
4
|
+
|
|
5
|
+
### New
|
|
6
|
+
|
|
7
|
+
1. New dark and light theme.
|
|
8
|
+
1. New search feature which doesn't cost KBs. [#search](https://github.com/ankitskvmdam/clean-jsdoc-theme#search)
|
|
9
|
+
1. Minify all generated files.
|
|
10
|
+
1. Added Table of content.
|
|
11
|
+
|
|
12
|
+
### Removed
|
|
13
|
+
|
|
14
|
+
1. Search options
|
|
15
|
+
1. `theme` options. Now it is `default_theme`
|
|
16
|
+
1. `overlay_scrollbar`. We found that you can include overlay scrollbar using [`add_script_path`](https://github.com/ankitskvmdam/clean-jsdoc-theme#add-script-paths) and [`include_js`](https://github.com/ankitskvmdam/clean-jsdoc-theme#add-custom-script-files) options.
|
|
17
|
+
1. `resizeable`. Now there is no option to resize sidebar.
|
|
18
|
+
|
|
3
19
|
### In version 3.3.2
|
|
4
20
|
|
|
5
21
|
### Feature
|
package/LICENSE
CHANGED