clean-jsdoc-theme 4.1.7 → 4.1.9

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 (68) hide show
  1. package/.eslintignore +5 -5
  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/dependabot.yml +9 -9
  6. package/.github/pull_request_template.md +16 -16
  7. package/.github/workflows/codeql.yml +72 -72
  8. package/.github/workflows/greetings.yml +16 -16
  9. package/.prettierignore +1 -2
  10. package/.prettierrc +5 -5
  11. package/.stylelintignore +4 -4
  12. package/.stylelintrc +18 -23
  13. package/.travis.yml +30 -30
  14. package/CHANGELOG.md +256 -235
  15. package/CODE_OF_CONDUCT.md +76 -76
  16. package/CODE_OF_CONDUCT_HINDI.md +61 -46
  17. package/CONTRIBUTING.md +36 -24
  18. package/LICENSE +21 -21
  19. package/README.md +497 -456
  20. package/SECURITY.md +21 -21
  21. package/helpers/down-arrow.js +9 -9
  22. package/jsdoc-config.json +62 -61
  23. package/minify.js +60 -56
  24. package/package.json +52 -50
  25. package/publish.js +1138 -1129
  26. package/static/scripts/core.js +662 -656
  27. package/static/scripts/core.min.js +23 -23
  28. package/static/scripts/resize.js +90 -90
  29. package/static/scripts/search.js +262 -262
  30. package/static/scripts/third-party/Apache-License-2.0.txt +202 -202
  31. package/static/scripts/third-party/fuse.js +8 -8
  32. package/static/scripts/third-party/hljs-line-num-original.js +369 -365
  33. package/static/scripts/third-party/hljs-line-num.js +1 -1
  34. package/static/scripts/third-party/hljs-original.js +5171 -5162
  35. package/static/scripts/third-party/hljs.js +1 -1
  36. package/static/scripts/third-party/popper.js +5 -5
  37. package/static/scripts/third-party/tippy.js +1 -1
  38. package/static/scripts/third-party/tocbot.js +672 -1
  39. package/static/scripts/third-party/tocbot.min.js +1 -0
  40. package/static/styles/clean-jsdoc-theme-base.css +968 -968
  41. package/static/styles/clean-jsdoc-theme-dark.css +407 -407
  42. package/static/styles/clean-jsdoc-theme-light.css +388 -388
  43. package/tmpl/augments.tmpl +10 -10
  44. package/tmpl/container.tmpl +190 -190
  45. package/tmpl/details.tmpl +207 -207
  46. package/tmpl/example.tmpl +3 -3
  47. package/tmpl/examples.tmpl +40 -40
  48. package/tmpl/exceptions.tmpl +32 -32
  49. package/tmpl/icons.tmpl +72 -72
  50. package/tmpl/layout.tmpl +157 -157
  51. package/tmpl/mainpage.tmpl +10 -10
  52. package/tmpl/members.tmpl +42 -42
  53. package/tmpl/method.tmpl +156 -139
  54. package/tmpl/mobile-sidebar.tmpl +20 -20
  55. package/tmpl/navbar-actions.tmpl +18 -18
  56. package/tmpl/navbar-menu.tmpl +24 -24
  57. package/tmpl/navbar.tmpl +13 -13
  58. package/tmpl/params.tmpl +124 -124
  59. package/tmpl/properties.tmpl +109 -109
  60. package/tmpl/returns.tmpl +18 -18
  61. package/tmpl/search.tmpl +16 -16
  62. package/tmpl/sidebar-items.tmpl +23 -23
  63. package/tmpl/sidebar-title.tmpl +9 -9
  64. package/tmpl/sidebar.tmpl +8 -8
  65. package/tmpl/source.tmpl +12 -12
  66. package/tmpl/toc.tmpl +3 -3
  67. package/tmpl/tutorial.tmpl +19 -19
  68. package/tmpl/type.tmpl +12 -7
package/CHANGELOG.md CHANGED
@@ -1,235 +1,256 @@
1
- ## Change Log
2
-
3
- ### In version 4.0.0
4
-
5
- This is the most performant version of `clean-jsdoc-theme`. Check 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).
6
-
7
- ### New
8
-
9
- 1. New dark and light theme. Now you can toggle between dark and light themes.
10
- 2. There is an option to change the default font size.
11
- 3. New search feature which doesn't cost KBs. [#search](https://github.com/ankitskvmdam/clean-jsdoc-theme#search)
12
- 4. Minify all generated files.
13
- 5. Added Table of content.
14
-
15
- ### Removed
16
-
17
- 1. Search options
18
- 1. `theme` options. Now it is `default_theme`
19
- 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.
20
- 1. `resizeable`. Now there is no option to resize sidebar.
21
-
22
- ### In version 3.3.2
23
-
24
- ### Feature
25
-
26
- 1. Add an option to excludes inherited symbols. (#96)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/96]
27
-
28
- ### In version 3.3.0
29
-
30
- ### Feature
31
-
32
- 1. Now there is an option to order the navbar section.
33
-
34
- ### Bug Fixes
35
-
36
- 1. Fix: Line height of empty line is render as 0 on Mozilla firefox.
37
- 1. Fix: Unnecessary errors with empty examples (#92)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/92]
38
- 1. Fix: Disabled source still produces 'details' block (#90)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/90]
39
- 1. Fix: Tutorials that share their name with a class will have that classes methods dropdown (#80)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/89]
40
-
41
- ### Options Removed
42
-
43
- 1. `menuLocation`: `menuLocation` theme_opts is removed. Now `sections` can be used to order the entire navbar section
44
-
45
- ### In version 3.2.8
46
-
47
- ### Bug Fixes
48
-
49
- 1. Fix: Search condition statement. (#81)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/81]
50
- 1. Fix: missing styles/heading.css. (#80)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/80]
51
-
52
- ### Feature
53
-
54
- 1. Feat: add menuLocation option to adjust the place to append extra links. (#78)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/78]
55
-
56
- ### In version 3.2.7
57
-
58
- ### Bug Fix
59
-
60
- 1. Fix: quotes issue for codepen options.
61
- 1. Fix: source is not printing if source is the only key. (#71)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/71]
62
- 1. Fix (css): font size of return type. (#70)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/70]
63
-
64
- ### In version 3.2.6
65
-
66
- ### Feature
67
-
68
- 1. Add an option to open code in codepen.
69
-
70
- ### Bug Fix
71
-
72
- 1. Fix the css of example caption. [View changes.](https://github.com/ankitskvmdam/clean-jsdoc-theme/commit/1cba9400a6d9ae2991eb5b32282e7572510656c6)
73
- 1. Fix the overflow css of code section. [View changes.](https://github.com/ankitskvmdam/clean-jsdoc-theme/commit/1cba9400a6d9ae2991eb5b32282e7572510656c6)
74
- 1. Fix the css of code block in dark theme.
75
-
76
- ### In version 3.2.4
77
-
78
- ### Bug Fix
79
-
80
- 1. When the codebase is large then search didn't works. [#68](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/68)
81
-
82
- ### In version 3.2.3
83
-
84
- ### Bug Fix
85
-
86
- 1. On mobile screen navbar, main content and footer are not as expected after applying resize.
87
-
88
- ### In version 3.2.1
89
-
90
- ### Feature
91
-
92
- 1. Now there is an option to make navbar resizeable.
93
-
94
- ### In version 3.2.0
95
-
96
- ### Bug Fix
97
-
98
- 1. When passing HTML as title then there is NPM Error. In this release that error is fixed.
99
-
100
- ### Others
101
-
102
- 1. Remove filter support.
103
-
104
- ### In version 3.1.2
105
-
106
- ### New
107
-
108
- 1. Change ham animation.
109
-
110
- ### Others
111
-
112
- 1. Update readme file.
113
-
114
- ### In version 3.1.0
115
-
116
- ### Bug fixes
117
-
118
- 1. fix unclosed <div> in method.tmpl [#63](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/63)
119
-
120
- ### New
121
-
122
- 1. Add brand new light and dark theme.
123
- 1. Add collapsible main section in navbar.
124
-
125
- ### Refactor
126
-
127
- 1. Refactor css and js to improve performance.
128
-
129
- ### In version 3.0.10
130
-
131
- ### Bug Fixes
132
-
133
- 1. Previously, we are enforcing below templates:
134
-
135
- ```js
136
- // jsdoc config file
137
- // ...other options.
138
- templates: {
139
- cleverLinks: true,
140
- monospaceLinks: false,
141
- default: {
142
- outputSourceFiles: false,
143
- }
144
- },
145
- ```
146
-
147
- In this release we removed this template rule.
148
-
149
- ### In version 3.0.9
150
-
151
- #### Bug Fixes
152
-
153
- 1. On Mobile screen the ham icon is not visible. That is solved in this release.
154
- 2. Fix: Tooltip copied text color.
155
- 3. Fix: When copied code, `JAVASCRIPT\nCopied!` also got attached with it.
156
-
157
- ### In version 3.0.8
158
-
159
- #### Feature
160
-
161
- 1. Add support for `@see` documentation link. [#59](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/59)
162
-
163
- ## In version 3.0.7
164
-
165
- ### Feature
166
-
167
- 1. Now left panel classes and modules can be collapse. [Feature Request #57](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/57)
168
-
169
- ## In version 3.0.6
170
-
171
- ### Bug Fix
172
-
173
- 1. Fix body overflow.
174
- 1. Fix css for table.
175
-
176
- ## In version 3.0.4
177
-
178
- ### New
179
-
180
- 1. Update `search`. Now instead of boolean it accepts an object. This object is used to configure search. [fuse.js options](https://fusejs.io/api/options.html)
181
-
182
- ## In version 3.0.2
183
-
184
- ### Bug Fix
185
-
186
- 1. Simplify the meta/script/link declaration [Pull Request: [#56](https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/56)] [Thanks to [GMartigny](https://github.com/GMartigny)]
187
-
188
- ## In version 3.0.0
189
-
190
- ### New
191
-
192
- 1. Add an option to include css files.
193
- 1. Add an option to add js.
194
- 1. Add an option to include static folder.
195
- 1. OverlayScrollbar are now supported by default. If you don't want to use it pass an option to disable it.
196
-
197
- ### Breaking changes
198
-
199
- 1. `add_script_path` previously you have to pass an array of string but now you have to pass an array of object where keys are the attributes of the script tag
200
- 1. `add_style_path` previously you have to pass an array of string but now you have to pass an array of object where keys are the attributes of the link tag
201
- 1. `meta` previously you have to pass an array of string but now you have to pass an array of object where keys are the attributes of the meta tag
202
-
203
- ## In version 2.2.15
204
-
205
- ### New
206
-
207
- 1. Scrollable code area
208
-
209
- ## In version 2.2.14
210
-
211
- ### Bug Fix
212
-
213
- 1. Malformed HTML when parsing 'default' JSDoc tags [issue: [#48](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/48)]
214
-
215
- ## In version 2.2.13
216
-
217
- ### New
218
-
219
- 1. Make the # before members and methods a clickable anchor. [pull request: [#44](https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/44)] [Thanks to [GMartigny](https://github.com/GMartigny)]
220
-
221
- ### Other
222
-
223
- 1. Change jsdoc into a peerDependency [pull request: [#45](https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/45)][Thanks to [GMartigny](https://github.com/GMartigny)]
224
-
225
- ## In version 2.2.12
226
-
227
- ### New
228
-
229
- 1. Add dark theme.
230
-
231
- ### Bug fix
232
-
233
- 1. Fix typescript-eslint camelCase rule issue [issue: [#37](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/37)]
234
- 1. Fix ordered list style [issue: [#40](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/40)]
235
- 1. Fix code overflow issue.
1
+ ## Change Log
2
+
3
+ ### In version 4.0.0
4
+
5
+ This is the most performant version of `clean-jsdoc-theme`. Check
6
+ 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)
7
+ .
8
+
9
+ ### New
10
+
11
+ 1. New dark and light theme. Now you can toggle between dark and light themes.
12
+ 2. There is an option to change the default font size.
13
+ 3. New search feature which doesn't cost KBs. [#search](https://github.com/ankitskvmdam/clean-jsdoc-theme#search)
14
+ 4. Minify all generated files.
15
+ 5. Added Table of content.
16
+
17
+ ### Removed
18
+
19
+ 1. Search options
20
+ 2. `theme` options. Now it is `default_theme`
21
+ 3. `overlay_scrollbar`. We found that you can include overlay scrollbar
22
+ using [`add_script_path`](https://github.com/ankitskvmdam/clean-jsdoc-theme#add-script-paths)
23
+ and [`include_js`](https://github.com/ankitskvmdam/clean-jsdoc-theme#add-custom-script-files) options.
24
+ 4. `resizeable`. Now there is no option to resize sidebar.
25
+
26
+ ### In version 3.3.2
27
+
28
+ ### Feature
29
+
30
+ 1. Add an option to excludes inherited symbols. (#96)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/96]
31
+
32
+ ### In version 3.3.0
33
+
34
+ ### Feature
35
+
36
+ 1. Now there is an option to order the navbar section.
37
+
38
+ ### Bug Fixes
39
+
40
+ 1. Fix: Line height of empty line is render as 0 on Mozilla firefox.
41
+ 2. Fix: Unnecessary errors with empty examples (#92)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/92]
42
+ 3. Fix: Disabled source still produces 'details' block (
43
+ #90)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/90]
44
+ 4. Fix: Tutorials that share their name with a class will have that classes methods dropdown (
45
+ #80)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/89]
46
+
47
+ ### Options Removed
48
+
49
+ 1. `menuLocation`: `menuLocation` theme_opts is removed. Now `sections` can be used to order the entire navbar section
50
+
51
+ ### In version 3.2.8
52
+
53
+ ### Bug Fixes
54
+
55
+ 1. Fix: Search condition statement. (#81)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/81]
56
+ 2. Fix: missing styles/heading.css. (#80)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/80]
57
+
58
+ ### Feature
59
+
60
+ 1. Feat: add menuLocation option to adjust the place to append extra links. (
61
+ #78)[https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/78]
62
+
63
+ ### In version 3.2.7
64
+
65
+ ### Bug Fix
66
+
67
+ 1. Fix: quotes issue for codepen options.
68
+ 2. Fix: source is not printing if source is the only key. (
69
+ #71)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/71]
70
+ 3. Fix (css): font size of return type. (#70)[https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/70]
71
+
72
+ ### In version 3.2.6
73
+
74
+ ### Feature
75
+
76
+ 1. Add an option to open code in codepen.
77
+
78
+ ### Bug Fix
79
+
80
+ 1. Fix the css of example
81
+ caption. [View changes.](https://github.com/ankitskvmdam/clean-jsdoc-theme/commit/1cba9400a6d9ae2991eb5b32282e7572510656c6)
82
+ 2. Fix the overflow css of code
83
+ section. [View changes.](https://github.com/ankitskvmdam/clean-jsdoc-theme/commit/1cba9400a6d9ae2991eb5b32282e7572510656c6)
84
+ 3. Fix the css of code block in dark theme.
85
+
86
+ ### In version 3.2.4
87
+
88
+ ### Bug Fix
89
+
90
+ 1. When the codebase is large then search didn't
91
+ work. [#68](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/68)
92
+
93
+ ### In version 3.2.3
94
+
95
+ ### Bug Fix
96
+
97
+ 1. On mobile screen navbar, main content and footer are not as expected after applying resize.
98
+
99
+ ### In version 3.2.1
100
+
101
+ ### Feature
102
+
103
+ 1. Now there is an option to make navbar resizeable.
104
+
105
+ ### In version 3.2.0
106
+
107
+ ### Bug Fix
108
+
109
+ 1. When passing HTML as title, an NPM Error occurs. In this release that error is fixed.
110
+
111
+ ### Others
112
+
113
+ 1. Remove filter support.
114
+
115
+ ### In version 3.1.2
116
+
117
+ ### New
118
+
119
+ 1. Change ham animation.
120
+
121
+ ### Others
122
+
123
+ 1. Update readme file.
124
+
125
+ ### In version 3.1.0
126
+
127
+ ### Bug fixes
128
+
129
+ 1. fix unclosed <div> in method.tmpl [#63](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/63)
130
+
131
+ ### New
132
+
133
+ 1. Add brand-new light and dark theme.
134
+ 2. Add collapsible main section in navbar.
135
+
136
+ ### Refactor
137
+
138
+ 1. Refactor css and js to improve performance.
139
+
140
+ ### In version 3.0.10
141
+
142
+ ### Bug Fixes
143
+
144
+ 1. Previously, we are enforcing below templates:
145
+
146
+ ```js
147
+ // jsdoc config file
148
+ // ...other options.
149
+ templates: {
150
+ cleverLinks: true,
151
+ monospaceLinks: false,
152
+ default: {
153
+ outputSourceFiles: false,
154
+ }
155
+ },
156
+ ```
157
+
158
+ In this release we removed this template rule.
159
+
160
+ ### In version 3.0.9
161
+
162
+ #### Bug Fixes
163
+
164
+ 1. On Mobile screen the ham icon is not visible. That is solved in this release.
165
+ 2. Fix: Tooltip copied text color.
166
+ 3. Fix: When copied code, `JAVASCRIPT\nCopied!` also got attached with it.
167
+
168
+ ### In version 3.0.8
169
+
170
+ #### Feature
171
+
172
+ 1. Add support for `@see` documentation link. [#59](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/59)
173
+
174
+ ## In version 3.0.7
175
+
176
+ ### Feature
177
+
178
+ 1. Now left panel classes and modules can be
179
+ collapse. [Feature Request #57](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/57)
180
+
181
+ ## In version 3.0.6
182
+
183
+ ### Bug Fix
184
+
185
+ 1. Fix body overflow.
186
+ 2. Fix css for table.
187
+
188
+ ## In version 3.0.4
189
+
190
+ ### New
191
+
192
+ 1. Update `search`. Now instead of boolean it accepts an object. This object is used to configure
193
+ search. [fuse.js options](https://fusejs.io/api/options.html)
194
+
195
+ ## In version 3.0.2
196
+
197
+ ### Bug Fix
198
+
199
+ 1. Simplify the meta/script/link
200
+ declaration [Pull Request: [#56](https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/56)] [Thanks to [GMartigny](https://github.com/GMartigny)]
201
+
202
+ ## In version 3.0.0
203
+
204
+ ### New
205
+
206
+ 1. Add an option to include css files.
207
+ 2. Add an option to add js.
208
+ 3. Add an option to include static folder.
209
+ 4. OverlayScrollbar are now supported by default. If you don't want to use it pass an option to disable it.
210
+
211
+ ### Breaking changes
212
+
213
+ 1. `add_script_path` previously you have to pass an array of string, but now you have to pass an array of object where
214
+ keys are the attributes of the script tag
215
+ 2. `add_style_path` previously you have to pass an array of string, but now you have to pass an array of object where
216
+ keys are the attributes of the link tag
217
+ 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
218
+ attributes of the meta tag
219
+
220
+ ## In version 2.2.15
221
+
222
+ ### New
223
+
224
+ 1. Scrollable code area
225
+
226
+ ## In version 2.2.14
227
+
228
+ ### Bug Fix
229
+
230
+ 1. Malformed HTML when parsing 'default' JSDoc
231
+ tags [issue: [#48](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/48)]
232
+
233
+ ## In version 2.2.13
234
+
235
+ ### New
236
+
237
+ 1. Make the # before members and methods a clickable
238
+ anchor. [pull request: [#44](https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/44)] [Thanks to [GMartigny](https://github.com/GMartigny)]
239
+
240
+ ### Other
241
+
242
+ 1. Change jsdoc into a
243
+ peerDependency [pull request: [#45](https://github.com/ankitskvmdam/clean-jsdoc-theme/pull/45)][Thanks to [GMartigny](https://github.com/GMartigny)]
244
+
245
+ ## In version 2.2.12
246
+
247
+ ### New
248
+
249
+ 1. Add dark theme.
250
+
251
+ ### Bug fix
252
+
253
+ 1. Fix typescript-eslint camelCase rule
254
+ issue [issue: [#37](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/37)]
255
+ 2. Fix ordered list style [issue: [#40](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues/40)]
256
+ 3. Fix code overflow issue.
@@ -1,76 +1,76 @@
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
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