clean-jsdoc-theme 4.3.2 → 5.0.0-alpha.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/LICENSE +21 -21
- package/README.md +82 -625
- package/dist/publish.d.mts +287 -0
- package/dist/publish.d.ts +287 -0
- package/dist/publish.js +819 -0
- package/dist/publish.js.map +1 -0
- package/dist/publish.mjs +779 -0
- package/dist/publish.mjs.map +1 -0
- package/package.json +66 -55
- package/.eslintignore +0 -5
- package/.eslintrc.js +0 -3
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -43
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -27
- package/.github/dependabot.yml +0 -9
- package/.github/pull_request_template.md +0 -16
- package/.github/workflows/codeql.yml +0 -72
- package/.github/workflows/greetings.yml +0 -16
- package/.prettierignore +0 -2
- package/.prettierrc +0 -5
- package/.stylelintignore +0 -4
- package/.stylelintrc +0 -18
- package/.travis.yml +0 -30
- package/CHANGELOG.md +0 -260
- package/CODE_OF_CONDUCT.md +0 -76
- package/CODE_OF_CONDUCT_HINDI.md +0 -61
- package/CONTRIBUTING.md +0 -36
- package/SECURITY.md +0 -21
- package/clean-jsdoc-theme-defaults.js +0 -37
- package/clean-jsdoc-theme-helper.js +0 -186
- package/css-property-order-fix.js +0 -56
- package/helpers/Environment.html +0 -3
- package/helpers/down-arrow.js +0 -9
- package/jsdoc-config.json +0 -102
- package/minify.js +0 -72
- package/publish.js +0 -1110
- 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 +0 -726
- package/static/scripts/core.min.js +0 -23
- package/static/scripts/resize.js +0 -90
- package/static/scripts/search.js +0 -265
- package/static/scripts/search.min.js +0 -6
- package/static/scripts/third-party/Apache-License-2.0.txt +0 -202
- package/static/scripts/third-party/fuse.js +0 -9
- package/static/scripts/third-party/hljs-line-num-original.js +0 -369
- package/static/scripts/third-party/hljs-line-num.js +0 -1
- package/static/scripts/third-party/hljs-original.js +0 -5171
- package/static/scripts/third-party/hljs.js +0 -1
- package/static/scripts/third-party/popper.js +0 -5
- package/static/scripts/third-party/tippy.js +0 -1
- package/static/scripts/third-party/tocbot.js +0 -672
- package/static/scripts/third-party/tocbot.min.js +0 -1
- package/static/styles/clean-jsdoc-theme-base.css +0 -1159
- package/static/styles/clean-jsdoc-theme-dark.css +0 -412
- package/static/styles/clean-jsdoc-theme-light.css +0 -482
- package/static/styles/clean-jsdoc-theme-scrollbar.css +0 -30
- package/static/styles/clean-jsdoc-theme-without-scrollbar.min.css +0 -1
- package/static/styles/clean-jsdoc-theme.min.css +0 -1
- package/tmpl/augments.tmpl +0 -10
- package/tmpl/container.tmpl +0 -208
- package/tmpl/details.tmpl +0 -207
- package/tmpl/example.tmpl +0 -3
- package/tmpl/examples.tmpl +0 -48
- package/tmpl/exceptions.tmpl +0 -32
- package/tmpl/icons.tmpl +0 -73
- package/tmpl/include-target-script-and-styles.tmpl +0 -43
- package/tmpl/layout.tmpl +0 -167
- package/tmpl/mainpage.tmpl +0 -10
- package/tmpl/members.tmpl +0 -42
- package/tmpl/method.tmpl +0 -175
- package/tmpl/mobile-sidebar.tmpl +0 -21
- package/tmpl/navbar-actions.tmpl +0 -19
- package/tmpl/navbar-menu.tmpl +0 -25
- package/tmpl/navbar.tmpl +0 -14
- package/tmpl/params.tmpl +0 -131
- package/tmpl/properties.tmpl +0 -109
- package/tmpl/returns.tmpl +0 -19
- package/tmpl/search.tmpl +0 -17
- package/tmpl/sidebar-items.tmpl +0 -24
- package/tmpl/sidebar-title.tmpl +0 -8
- package/tmpl/sidebar.tmpl +0 -9
- package/tmpl/source.tmpl +0 -13
- package/tmpl/toc.tmpl +0 -4
- package/tmpl/tutorial.tmpl +0 -32
- package/tmpl/type.tmpl +0 -13
package/CHANGELOG.md
DELETED
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
## Change Log
|
|
2
|
-
|
|
3
|
-
### In version 4.2.0
|
|
4
|
-
|
|
5
|
-
1. Add an option to include files list in homepage. Previously we are including it by default. From now the developer has to explicitly ask for it. For more [see](https:/github.com/ankitskvmdam/clean-jsdoc-theme#add-files-list-in-homepage)
|
|
6
|
-
|
|
7
|
-
### In version 4.0.0
|
|
8
|
-
|
|
9
|
-
This is the most performant version of `clean-jsdoc-theme`. Check
|
|
10
|
-
the [report on lighthouse](https://googlechrome.github.io/lighthouse/viewer/?psiurl=https%3A%2F%2Fankdev.me%2Fclean-jsdoc-theme%2Fv4%2Findex.html&strategy=desktop&category=performance&category=accessibility&category=best-practices&category=seo&category=pwa&utm_source=lh-chrome-ext)
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
### New
|
|
14
|
-
|
|
15
|
-
1. New dark and light theme. Now you can toggle between dark and light themes.
|
|
16
|
-
2. There is an option to change the default font size.
|
|
17
|
-
3. New search feature which doesn't cost KBs. [#search](https://github.com/ankitskvmdam/clean-jsdoc-theme#search)
|
|
18
|
-
4. Minify all generated files.
|
|
19
|
-
5. Added Table of content.
|
|
20
|
-
|
|
21
|
-
### Removed
|
|
22
|
-
|
|
23
|
-
1. Search options
|
|
24
|
-
2. `theme` options. Now it is `default_theme`
|
|
25
|
-
3. `overlay_scrollbar`. We found that you can include overlay scrollbar
|
|
26
|
-
using [`add_script_path`](https://github.com/ankitskvmdam/clean-jsdoc-theme#add-script-paths)
|
|
27
|
-
and [`include_js`](https://github.com/ankitskvmdam/clean-jsdoc-theme#add-custom-script-files) options.
|
|
28
|
-
4. `resizeable`. Now there is no option to resize sidebar.
|
|
29
|
-
|
|
30
|
-
### In version 3.3.2
|
|
31
|
-
|
|
32
|
-
### Feature
|
|
33
|
-
|
|
34
|
-
1. Add an option to excludes inherited symbols. (#96)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/96]
|
|
35
|
-
|
|
36
|
-
### In version 3.3.0
|
|
37
|
-
|
|
38
|
-
### Feature
|
|
39
|
-
|
|
40
|
-
1. Now there is an option to order the navbar section.
|
|
41
|
-
|
|
42
|
-
### Bug Fixes
|
|
43
|
-
|
|
44
|
-
1. Fix: Line height of empty line is render as 0 on Mozilla firefox.
|
|
45
|
-
2. Fix: Unnecessary errors with empty examples (#92)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/92]
|
|
46
|
-
3. Fix: Disabled source still produces 'details' block (
|
|
47
|
-
#90)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/90]
|
|
48
|
-
4. Fix: Tutorials that share their name with a class will have that classes methods dropdown (
|
|
49
|
-
#80)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/89]
|
|
50
|
-
|
|
51
|
-
### Options Removed
|
|
52
|
-
|
|
53
|
-
1. `menuLocation`: `menuLocation` theme_opts is removed. Now `sections` can be used to order the entire navbar section
|
|
54
|
-
|
|
55
|
-
### In version 3.2.8
|
|
56
|
-
|
|
57
|
-
### Bug Fixes
|
|
58
|
-
|
|
59
|
-
1. Fix: Search condition statement. (#81)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/81]
|
|
60
|
-
2. Fix: missing styles/heading.css. (#80)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/80]
|
|
61
|
-
|
|
62
|
-
### Feature
|
|
63
|
-
|
|
64
|
-
1. Feat: add menuLocation option to adjust the place to append extra links. (
|
|
65
|
-
#78)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/78]
|
|
66
|
-
|
|
67
|
-
### In version 3.2.7
|
|
68
|
-
|
|
69
|
-
### Bug Fix
|
|
70
|
-
|
|
71
|
-
1. Fix: quotes issue for codepen options.
|
|
72
|
-
2. Fix: source is not printing if source is the only key. (
|
|
73
|
-
#71)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/71]
|
|
74
|
-
3. Fix (css): font size of return type. (#70)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/70]
|
|
75
|
-
|
|
76
|
-
### In version 3.2.6
|
|
77
|
-
|
|
78
|
-
### Feature
|
|
79
|
-
|
|
80
|
-
1. Add an option to open code in codepen.
|
|
81
|
-
|
|
82
|
-
### Bug Fix
|
|
83
|
-
|
|
84
|
-
1. Fix the css of example
|
|
85
|
-
caption. [View changes.](https://github.com/ankitskvmdam/clean-jsdoc-theme/commit/1cba9400a6d9ae2991eb5b32282e7572510656c6)
|
|
86
|
-
2. Fix the overflow css of code
|
|
87
|
-
section. [View changes.](https://github.com/ankitskvmdam/clean-jsdoc-theme/commit/1cba9400a6d9ae2991eb5b32282e7572510656c6)
|
|
88
|
-
3. Fix the css of code block in dark theme.
|
|
89
|
-
|
|
90
|
-
### In version 3.2.4
|
|
91
|
-
|
|
92
|
-
### Bug Fix
|
|
93
|
-
|
|
94
|
-
1. When the codebase is large then search didn't
|
|
95
|
-
work. [#68](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/68)
|
|
96
|
-
|
|
97
|
-
### In version 3.2.3
|
|
98
|
-
|
|
99
|
-
### Bug Fix
|
|
100
|
-
|
|
101
|
-
1. On mobile screen navbar, main content and footer are not as expected after applying resize.
|
|
102
|
-
|
|
103
|
-
### In version 3.2.1
|
|
104
|
-
|
|
105
|
-
### Feature
|
|
106
|
-
|
|
107
|
-
1. Now there is an option to make navbar resizeable.
|
|
108
|
-
|
|
109
|
-
### In version 3.2.0
|
|
110
|
-
|
|
111
|
-
### Bug Fix
|
|
112
|
-
|
|
113
|
-
1. When passing HTML as title, an NPM Error occurs. In this release that error is fixed.
|
|
114
|
-
|
|
115
|
-
### Others
|
|
116
|
-
|
|
117
|
-
1. Remove filter support.
|
|
118
|
-
|
|
119
|
-
### In version 3.1.2
|
|
120
|
-
|
|
121
|
-
### New
|
|
122
|
-
|
|
123
|
-
1. Change ham animation.
|
|
124
|
-
|
|
125
|
-
### Others
|
|
126
|
-
|
|
127
|
-
1. Update readme file.
|
|
128
|
-
|
|
129
|
-
### In version 3.1.0
|
|
130
|
-
|
|
131
|
-
### Bug fixes
|
|
132
|
-
|
|
133
|
-
1. fix unclosed <div> in method.tmpl [#63](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/63)
|
|
134
|
-
|
|
135
|
-
### New
|
|
136
|
-
|
|
137
|
-
1. Add brand-new light and dark theme.
|
|
138
|
-
2. Add collapsible main section in navbar.
|
|
139
|
-
|
|
140
|
-
### Refactor
|
|
141
|
-
|
|
142
|
-
1. Refactor css and js to improve performance.
|
|
143
|
-
|
|
144
|
-
### In version 3.0.10
|
|
145
|
-
|
|
146
|
-
### Bug Fixes
|
|
147
|
-
|
|
148
|
-
1. Previously, we are enforcing below templates:
|
|
149
|
-
|
|
150
|
-
```js
|
|
151
|
-
// jsdoc config file
|
|
152
|
-
// ...other options.
|
|
153
|
-
templates: {
|
|
154
|
-
cleverLinks: true,
|
|
155
|
-
monospaceLinks: false,
|
|
156
|
-
default: {
|
|
157
|
-
outputSourceFiles: false,
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
In this release we removed this template rule.
|
|
163
|
-
|
|
164
|
-
### In version 3.0.9
|
|
165
|
-
|
|
166
|
-
#### Bug Fixes
|
|
167
|
-
|
|
168
|
-
1. On Mobile screen the ham icon is not visible. That is solved in this release.
|
|
169
|
-
2. Fix: Tooltip copied text color.
|
|
170
|
-
3. Fix: When copied code, `JAVASCRIPT\nCopied!` also got attached with it.
|
|
171
|
-
|
|
172
|
-
### In version 3.0.8
|
|
173
|
-
|
|
174
|
-
#### Feature
|
|
175
|
-
|
|
176
|
-
1. Add support for `@see` documentation link. [#59](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/59)
|
|
177
|
-
|
|
178
|
-
## In version 3.0.7
|
|
179
|
-
|
|
180
|
-
### Feature
|
|
181
|
-
|
|
182
|
-
1. Now left panel classes and modules can be
|
|
183
|
-
collapse. [Feature Request #57](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/57)
|
|
184
|
-
|
|
185
|
-
## In version 3.0.6
|
|
186
|
-
|
|
187
|
-
### Bug Fix
|
|
188
|
-
|
|
189
|
-
1. Fix body overflow.
|
|
190
|
-
2. Fix css for table.
|
|
191
|
-
|
|
192
|
-
## In version 3.0.4
|
|
193
|
-
|
|
194
|
-
### New
|
|
195
|
-
|
|
196
|
-
1. Update `search`. Now instead of boolean it accepts an object. This object is used to configure
|
|
197
|
-
search. [fuse.js options](https://fusejs.io/api/options.html)
|
|
198
|
-
|
|
199
|
-
## In version 3.0.2
|
|
200
|
-
|
|
201
|
-
### Bug Fix
|
|
202
|
-
|
|
203
|
-
1. Simplify the meta/script/link
|
|
204
|
-
declaration [Pull Request: [#56](https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/56)] [Thanks to [GMartigny](https://github.com/GMartigny)]
|
|
205
|
-
|
|
206
|
-
## In version 3.0.0
|
|
207
|
-
|
|
208
|
-
### New
|
|
209
|
-
|
|
210
|
-
1. Add an option to include css files.
|
|
211
|
-
2. Add an option to add js.
|
|
212
|
-
3. Add an option to include static folder.
|
|
213
|
-
4. OverlayScrollbar are now supported by default. If you don't want to use it pass an option to disable it.
|
|
214
|
-
|
|
215
|
-
### Breaking changes
|
|
216
|
-
|
|
217
|
-
1. `add_script_path` previously you have to pass an array of string, but now you have to pass an array of object where
|
|
218
|
-
keys are the attributes of the script tag
|
|
219
|
-
2. `add_style_path` previously you have to pass an array of string, but now you have to pass an array of object where
|
|
220
|
-
keys are the attributes of the link tag
|
|
221
|
-
3. `meta` previously you have to pass an array of string, but now you have to pass an array of object where keys are the
|
|
222
|
-
attributes of the meta tag
|
|
223
|
-
|
|
224
|
-
## In version 2.2.15
|
|
225
|
-
|
|
226
|
-
### New
|
|
227
|
-
|
|
228
|
-
1. Scrollable code area
|
|
229
|
-
|
|
230
|
-
## In version 2.2.14
|
|
231
|
-
|
|
232
|
-
### Bug Fix
|
|
233
|
-
|
|
234
|
-
1. Malformed HTML when parsing 'default' JSDoc
|
|
235
|
-
tags [issue: [#48](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/48)]
|
|
236
|
-
|
|
237
|
-
## In version 2.2.13
|
|
238
|
-
|
|
239
|
-
### New
|
|
240
|
-
|
|
241
|
-
1. Make the # before members and methods a clickable
|
|
242
|
-
anchor. [pull request: [#44](https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/44)] [Thanks to [GMartigny](https://github.com/GMartigny)]
|
|
243
|
-
|
|
244
|
-
### Other
|
|
245
|
-
|
|
246
|
-
1. Change jsdoc into a
|
|
247
|
-
peerDependency [pull request: [#45](https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/45)][Thanks to [GMartigny](https://github.com/GMartigny)]
|
|
248
|
-
|
|
249
|
-
## In version 2.2.12
|
|
250
|
-
|
|
251
|
-
### New
|
|
252
|
-
|
|
253
|
-
1. Add dark theme.
|
|
254
|
-
|
|
255
|
-
### Bug fix
|
|
256
|
-
|
|
257
|
-
1. Fix typescript-eslint camelCase rule
|
|
258
|
-
issue [issue: [#37](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/37)]
|
|
259
|
-
2. Fix ordered list style [issue: [#40](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/40)]
|
|
260
|
-
3. Fix code overflow issue.
|
package/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
-
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
|
9
|
-
level of experience, education, socio-economic status, nationality, personal
|
|
10
|
-
appearance, race, religion, or sexual identity and orientation.
|
|
11
|
-
|
|
12
|
-
## Our Standards
|
|
13
|
-
|
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
|
15
|
-
include:
|
|
16
|
-
|
|
17
|
-
* Using welcoming and inclusive language
|
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
|
19
|
-
* Gracefully accepting constructive criticism
|
|
20
|
-
* Focusing on what is best for the community
|
|
21
|
-
* Showing empathy towards other community members
|
|
22
|
-
|
|
23
|
-
Examples of unacceptable behavior by participants include:
|
|
24
|
-
|
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
-
advances
|
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
-
* Public or private harassment
|
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
|
30
|
-
address, without explicit permission
|
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
-
professional setting
|
|
33
|
-
|
|
34
|
-
## Our Responsibilities
|
|
35
|
-
|
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
-
response to any instances of unacceptable behavior.
|
|
39
|
-
|
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
-
threatening, offensive, or harmful.
|
|
45
|
-
|
|
46
|
-
## Scope
|
|
47
|
-
|
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
-
when an individual is representing the project or its community. Examples of
|
|
50
|
-
representing a project or community include using an official project e-mail
|
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
|
53
|
-
further defined and clarified by project maintainers.
|
|
54
|
-
|
|
55
|
-
## Enforcement
|
|
56
|
-
|
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
-
reported by contacting the project team at hello@ankdev.me. All
|
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
|
63
|
-
|
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
-
members of the project's leadership.
|
|
67
|
-
|
|
68
|
-
## Attribution
|
|
69
|
-
|
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
|
72
|
-
|
|
73
|
-
[homepage]: https://www.contributor-covenant.org
|
|
74
|
-
|
|
75
|
-
For answers to common questions about this code of conduct, see
|
|
76
|
-
https://www.contributor-covenant.org/faq
|
package/CODE_OF_CONDUCT_HINDI.md
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# योगदानकर्ता नियमों की आचार संहिता
|
|
2
|
-
|
|
3
|
-
## हमारी प्रतिज्ञा
|
|
4
|
-
|
|
5
|
-
खुले और सौहार्दपूर्ण वातावरण को बढ़ावा देने के हित में, हम योगदानकर्ता एवं अनुरक्षक के रूप में प्रतिज्ञा करते हैं कि हम
|
|
6
|
-
परियोजना और समुदाय में हमारी भागीदारी को - उम्र, शारीरिक आकार, विकलांगता, जाति, लिंग पहचान व उसकी अभिव्यक्ति, अनुभव का
|
|
7
|
-
स्तर, राष्ट्रीयता, व्यक्तिगत रूप, कुल, धर्म अथवा यौनिकता और यौन अभिविन्यास पर ध्यान दिए बिना - सभी के लिए उत्पीड़न-मुक्त
|
|
8
|
-
अनुभव बनाएंगे।
|
|
9
|
-
|
|
10
|
-
## हमारे मानक
|
|
11
|
-
|
|
12
|
-
सकारात्मक माहौल बनाने वाले व्यवहारों के उदाहरणों में शामिल है :
|
|
13
|
-
|
|
14
|
-
* सौहार्दपूर्ण, अभिनंदनीय व समावेशी भाषा का प्रयोग
|
|
15
|
-
* भिन्न दृष्टिकोण और अनुभवों का सम्मान करना
|
|
16
|
-
* योग्य रूप से समालोचना को स्वीकारना
|
|
17
|
-
* समुदाय के लिए जो श्रेष्ठ है उस पर ध्यान केंद्रित करना
|
|
18
|
-
* समुदाय के अन्य सदस्यों के प्रति समानुभूति दिखाना
|
|
19
|
-
|
|
20
|
-
प्रतिभागियों द्वारा अस्वीकार्य व्यवहार के उदाहरणों में शामिल है :
|
|
21
|
-
|
|
22
|
-
* कामुक भाषा या आकृति का उपयोग और नापसन्द यौन दृष्टि रखना अथवा कोशिशों में अग्रिम होना
|
|
23
|
-
* दुर्व्यवहार, अपमानजनक/लज्जाजनक टिप्पणी अथवा व्यक्तिगत या राजनीतिक हमला
|
|
24
|
-
* सार्वजनिक या निजी उत्पीड़न
|
|
25
|
-
* दूसरों की निजी जानकारी, जैसे वास्तविक अथवा इलेक्ट्रॉनिक पता, बिना उनके सुस्पष्ट अनुमति के प्रकाशित करना
|
|
26
|
-
* अन्य आचरण जिसे व्यवसायी परिस्थिति में, अनुचित ठहराया जा सकता है
|
|
27
|
-
|
|
28
|
-
## हमारा उत्तरदायित्व
|
|
29
|
-
|
|
30
|
-
परियोजना अनुरक्षकों पर व्यवहार के स्वीकार मानकों के स्पष्टीकरण की जिम्मेदारी है। किसी भी अस्वीकार्य व्यवहार के जवाब में
|
|
31
|
-
उचित और निष्पक्ष सुधारात्मक कार्रवाई करने की अपेक्षा भी अनुरक्षकों से की जाती है।
|
|
32
|
-
|
|
33
|
-
परियोजना अनुरक्षकों को ऐसी टिप्पणियों, कमिट, कोड, विकी संपादन, मुद्दों और अन्य योगदानों को हटाने, सम्पादित करने या
|
|
34
|
-
अस्वीकार करने का अधिकार है जो इस आचार संहिता के मुताबिक नहीं है। साथ-साथ उनकी जिम्मेदारी व अधिकार है किसी भी ऐसे
|
|
35
|
-
योगदानकर्ता को अस्थायी या स्थायीरूप से प्रतिबंधित करना, जिसका व्यवहार अनुचित, धमकीभरा, आक्रामक या नुकसानदेय समझा जा सकता
|
|
36
|
-
है ।
|
|
37
|
-
|
|
38
|
-
## विस्तार
|
|
39
|
-
|
|
40
|
-
यदि कोई व्यक्ति किसी परियोजना या संप्रदाय का प्रतिनिधित्व कर रहा है, उस समय यह आचार संहिता - परियोजना व सार्वजनिक -
|
|
41
|
-
दोनों ही क्षेत्रों में लागू होती है। परियोजना या संप्रदाय के प्रतिनिधित्व के उदाहरणों में शामिल है - आधिकारिक परियोजना
|
|
42
|
-
ई-मेल पता का प्रयोग, आधिकारिक सोशल मीडिया खाते के माध्यम से पोस्टिंग या किसी ऑनलाइन या ऑफलाइन कार्यक्रम में नियुक्त
|
|
43
|
-
प्रतिनिधि का पदभार संभालना। परियोजना का प्रतिनिधित्व, परियोजना अनुरक्षक द्वारा और आगे परिभाषित या स्पष्ट किया जा सकता
|
|
44
|
-
है।
|
|
45
|
-
|
|
46
|
-
## प्रवर्तन
|
|
47
|
-
|
|
48
|
-
अपमानजनक, उत्पीड़नीय अथवा अन्य अस्वीकारीय व्यवहार के बारे में परियोजना दल को hello@ankdev.me पर सूचित किया जा सकता है।
|
|
49
|
-
सभी शिकायतों की समीक्षा और जाँच होगी और परिस्थिति अनुरूप उचित व आवश्यक प्रतिक्रिया होगी। परियोजना दल घटना के सूचक के
|
|
50
|
-
सम्बन्ध में गोपनीयता बनाए रखने के लिए बाध्य है। विशिष्ट प्रवर्तन नीतियों के आगे की जानकारी अलग से दी जा सकती है।
|
|
51
|
-
|
|
52
|
-
परियोजना अनुरक्षक, जो आचार संहिता का पालन नहीं करते या सद्भाव से उसे लागू नहीं करते, स्थायी या अस्थायी नतीजों का सामना
|
|
53
|
-
कर सकते हैं जिसका निर्णय परियोजना का नेतृत्व करने वाले अन्य सदस्य करेंगें।
|
|
54
|
-
|
|
55
|
-
## गुणारोपण
|
|
56
|
-
|
|
57
|
-
इस आचार संहिता को [Contributor Covenant](https://www.contributor-covenant.org) के संस्करण १.४ से अनुकूलित किया है,
|
|
58
|
-
जो [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
|
|
59
|
-
पर उपलब्ध है।
|
|
60
|
-
|
|
61
|
-
[मुखपृष्ठ]: https://www.contributor-covenant.org
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Contributing
|
|
2
|
-
|
|
3
|
-
When contributing to this repository, please first discuss the change you wish to make via issue or
|
|
4
|
-
email (hello@ankdev.me) before making a change.
|
|
5
|
-
|
|
6
|
-
Please note we have a code of
|
|
7
|
-
conduct ([hindi](https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/master/CODE_OF_CONDUCT_HINDI.md)
|
|
8
|
-
, [english](https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/master/CODE_OF_CONDUCT.md)), please follow it in all
|
|
9
|
-
your interactions with the project.
|
|
10
|
-
|
|
11
|
-
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
|
|
12
|
-
|
|
13
|
-
- Reporting a bug
|
|
14
|
-
- Discussing the current state of the code
|
|
15
|
-
- Submitting a fix
|
|
16
|
-
- Proposing new features
|
|
17
|
-
- Becoming a maintainer
|
|
18
|
-
|
|
19
|
-
## Any contributions you make will be under the MIT Software License
|
|
20
|
-
|
|
21
|
-
In short, when you submit code changes, your submissions are understood to be under the
|
|
22
|
-
same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact at
|
|
23
|
-
hello@ankdev.me if that's a concern.
|
|
24
|
-
|
|
25
|
-
## Creating issues
|
|
26
|
-
|
|
27
|
-
Please go
|
|
28
|
-
through [bug_report](https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/master/.github/ISSUE_TEMPLATE/bug_report.md)
|
|
29
|
-
and [feature_request](https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/master/.github/ISSUE_TEMPLATE/feature_request.md)
|
|
30
|
-
guide for information
|
|
31
|
-
|
|
32
|
-
## Pull Request Process
|
|
33
|
-
|
|
34
|
-
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
|
|
35
|
-
build.
|
|
36
|
-
2. Fill the pull request template.
|
package/SECURITY.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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,37 +0,0 @@
|
|
|
1
|
-
const SECTION_TYPE = {
|
|
2
|
-
Classes: 'Classes',
|
|
3
|
-
Modules: 'Modules',
|
|
4
|
-
Externals: 'Externals',
|
|
5
|
-
Events: 'Events',
|
|
6
|
-
Namespaces: 'Namespaces',
|
|
7
|
-
Mixins: 'Mixins',
|
|
8
|
-
Tutorials: 'Tutorials',
|
|
9
|
-
Interfaces: 'Interfaces',
|
|
10
|
-
Global: 'Global',
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
const defaultSections = [
|
|
14
|
-
SECTION_TYPE.Modules,
|
|
15
|
-
SECTION_TYPE.Classes,
|
|
16
|
-
SECTION_TYPE.Externals,
|
|
17
|
-
SECTION_TYPE.Events,
|
|
18
|
-
SECTION_TYPE.Namespaces,
|
|
19
|
-
SECTION_TYPE.Mixins,
|
|
20
|
-
SECTION_TYPE.Tutorials,
|
|
21
|
-
SECTION_TYPE.Interfaces,
|
|
22
|
-
SECTION_TYPE.Global,
|
|
23
|
-
];
|
|
24
|
-
|
|
25
|
-
const HTML_MINIFY_OPTIONS = {
|
|
26
|
-
collapseWhitespace: true,
|
|
27
|
-
removeComments: true,
|
|
28
|
-
html5: true,
|
|
29
|
-
minifyJS: true,
|
|
30
|
-
minifyCSS: true,
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
module.exports = {
|
|
34
|
-
HTML_MINIFY_OPTIONS,
|
|
35
|
-
SECTION_TYPE,
|
|
36
|
-
defaultSections
|
|
37
|
-
}
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
const has = require('lodash/has');
|
|
2
|
-
const klawSync = require('klaw-sync');
|
|
3
|
-
const path = require('path');
|
|
4
|
-
const fse = require('fs-extra');
|
|
5
|
-
const showdown = require('showdown');
|
|
6
|
-
|
|
7
|
-
const mdToHTMLConverter = new showdown.Converter();
|
|
8
|
-
|
|
9
|
-
function lsSync(dir, opts = {}) {
|
|
10
|
-
const depth = has(opts, 'depth') ? opts.depth : -1;
|
|
11
|
-
|
|
12
|
-
const files = klawSync(dir, {
|
|
13
|
-
depthLimit: depth,
|
|
14
|
-
filter: (f) => !path.basename(f.path).startsWith('.'),
|
|
15
|
-
nodir: true,
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
return files.map((f) => f.path);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
function copyToOutputFolder(filePath, outdir) {
|
|
22
|
-
const resolvedPath = path.resolve(filePath);
|
|
23
|
-
const filename = path.basename(resolvedPath);
|
|
24
|
-
const out = path.join(outdir, filename);
|
|
25
|
-
|
|
26
|
-
fse.copyFileSync(resolvedPath, out);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function copyToOutputFolderFromArray(filePathArray, outdir) {
|
|
30
|
-
const outputList = [];
|
|
31
|
-
|
|
32
|
-
if (Array.isArray(filePathArray)) {
|
|
33
|
-
for (const filePath of filePathArray) {
|
|
34
|
-
if (typeof filePath === 'string') {
|
|
35
|
-
copyToOutputFolder(filePath, outdir);
|
|
36
|
-
outputList.push(path.basename(filePath));
|
|
37
|
-
} else if (typeof filePath === 'object') {
|
|
38
|
-
const { filepath, targets } = filePath;
|
|
39
|
-
|
|
40
|
-
copyToOutputFolder(filepath, outdir);
|
|
41
|
-
outputList.push({ filepath: path.basename(filepath), targets });
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return outputList;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function buildFooter(themeOpts) {
|
|
50
|
-
var footer = themeOpts.footer;
|
|
51
|
-
|
|
52
|
-
return footer;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
function moduleHeader(themeOpts) {
|
|
56
|
-
var displayModuleHeader = themeOpts.displayModuleHeader || false;
|
|
57
|
-
|
|
58
|
-
return displayModuleHeader;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
function getFavicon(themeOpts) {
|
|
62
|
-
var favicon = themeOpts.favicon || undefined;
|
|
63
|
-
|
|
64
|
-
return favicon;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// function copy
|
|
68
|
-
function createDynamicStyleSheet(themeOpts) {
|
|
69
|
-
var styleClass = themeOpts.create_style || undefined;
|
|
70
|
-
/* prettier-ignore-start */
|
|
71
|
-
|
|
72
|
-
return styleClass;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function createDynamicsScripts(themeOpts) {
|
|
76
|
-
var scripts = themeOpts.add_scripts || undefined;
|
|
77
|
-
|
|
78
|
-
return scripts;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function returnPathOfScriptScr(themeOpts) {
|
|
82
|
-
var scriptPath = themeOpts.add_script_path || undefined;
|
|
83
|
-
|
|
84
|
-
return scriptPath;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
function returnPathOfStyleSrc(themeOpts) {
|
|
88
|
-
var stylePath = themeOpts.add_style_path || undefined;
|
|
89
|
-
|
|
90
|
-
return stylePath;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
function includeCss(themeOpts, outdir) {
|
|
94
|
-
var stylePath = themeOpts.include_css || undefined;
|
|
95
|
-
|
|
96
|
-
if (stylePath) {
|
|
97
|
-
stylePath = copyToOutputFolderFromArray(stylePath, outdir);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
return stylePath;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
function resizeable(themeOpts) {
|
|
104
|
-
var resizeOpts = themeOpts.resizeable || {};
|
|
105
|
-
|
|
106
|
-
return resizeOpts;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
function codepen(themeOpts) {
|
|
110
|
-
var codepenOpts = themeOpts.codepen || {};
|
|
111
|
-
|
|
112
|
-
return codepenOpts;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
function includeScript(themeOpts, outdir) {
|
|
116
|
-
var scriptPath = themeOpts.include_js || undefined;
|
|
117
|
-
|
|
118
|
-
if (scriptPath) {
|
|
119
|
-
scriptPath = copyToOutputFolderFromArray(scriptPath, outdir);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
return scriptPath;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
function getMetaTagData(themeOpts) {
|
|
126
|
-
var meta = themeOpts.meta || undefined;
|
|
127
|
-
|
|
128
|
-
return meta;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
function getTheme(themeOpts) {
|
|
132
|
-
var theme = themeOpts.default_theme || 'dark';
|
|
133
|
-
|
|
134
|
-
return theme;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
function getBaseURL(themeOpts) {
|
|
138
|
-
return themeOpts.base_url;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
function copyStaticFolder(themeOpts, outdir) {
|
|
142
|
-
const staticDir = themeOpts.static_dir || undefined;
|
|
143
|
-
|
|
144
|
-
if (staticDir) {
|
|
145
|
-
for (const dir of staticDir) {
|
|
146
|
-
const output = path.join(outdir, dir);
|
|
147
|
-
|
|
148
|
-
fse.copySync(dir, output);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Currently for some reason yields markdown is
|
|
155
|
-
* not processed by jsdoc. So, we are processing it here
|
|
156
|
-
*
|
|
157
|
-
* @param {Array<{type: string, description: string}>} yields
|
|
158
|
-
*/
|
|
159
|
-
function getProcessedYield(yields) {
|
|
160
|
-
if (!Array.isArray(yields)) return [];
|
|
161
|
-
|
|
162
|
-
return yields.map((y) => ({
|
|
163
|
-
...y,
|
|
164
|
-
description: mdToHTMLConverter.makeHtml(y.description),
|
|
165
|
-
}));
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
module.exports = {
|
|
169
|
-
buildFooter,
|
|
170
|
-
moduleHeader,
|
|
171
|
-
codepen,
|
|
172
|
-
createDynamicStyleSheet,
|
|
173
|
-
createDynamicsScripts,
|
|
174
|
-
getBaseURL,
|
|
175
|
-
getFavicon,
|
|
176
|
-
getMetaTagData,
|
|
177
|
-
getTheme,
|
|
178
|
-
includeCss,
|
|
179
|
-
includeScript,
|
|
180
|
-
resizeable,
|
|
181
|
-
returnPathOfScriptScr,
|
|
182
|
-
returnPathOfStyleSrc,
|
|
183
|
-
copyStaticFolder,
|
|
184
|
-
getProcessedYield,
|
|
185
|
-
lsSync,
|
|
186
|
-
};
|