@@ -52,25 +52,17 @@ module.exports = function (grunt) {
52
52
"A task which checks whether consuming CJS and ESM apps work with the CyberChef build" ,
53
53
[ "exec:setupNodeConsumers" , "exec:testCJSNodeConsumer" , "exec:testESMNodeConsumer" , "exec:testESMDeepImportNodeConsumer" , "exec:teardownNodeConsumers" ] ) ;
54
54
55
- grunt . registerTask ( "docs" ,
56
- "Compiles documentation in the /docs directory." ,
57
- [ "clean:docs" , "jsdoc" , "chmod:docs" ] ) ;
58
-
59
-
60
55
grunt . registerTask ( "default" ,
61
56
"Lints the code base" ,
62
57
[ "eslint" , "exec:repoSize" ] ) ;
63
58
64
-
65
- grunt . registerTask ( "doc" , "docs" ) ;
66
59
grunt . registerTask ( "tests" , "test" ) ;
67
60
grunt . registerTask ( "lint" , "eslint" ) ;
68
61
69
62
70
63
// Load tasks provided by each plugin
71
64
grunt . loadNpmTasks ( "grunt-eslint" ) ;
72
65
grunt . loadNpmTasks ( "grunt-webpack" ) ;
73
- grunt . loadNpmTasks ( "grunt-jsdoc" ) ;
74
66
grunt . loadNpmTasks ( "grunt-contrib-clean" ) ;
75
67
grunt . loadNpmTasks ( "grunt-contrib-copy" ) ;
76
68
grunt . loadNpmTasks ( "grunt-contrib-watch" ) ;
@@ -117,7 +109,6 @@ module.exports = function (grunt) {
117
109
node : [ "build/node/*" ] ,
118
110
config : [ "src/core/config/OperationConfig.json" , "src/core/config/modules/*" , "src/code/operations/index.mjs" ] ,
119
111
nodeConfig : [ "src/node/index.mjs" , "src/node/config/OperationConfig.json" ] ,
120
- docs : [ "docs/*" , "!docs/*.conf.json" , "!docs/*.ico" , "!docs/*.png" ] ,
121
112
standalone : [ "build/prod/CyberChef*.html" ]
122
113
} ,
123
114
eslint : {
@@ -130,22 +121,6 @@ module.exports = function (grunt) {
130
121
node : [ "src/node/**/*.{js,mjs}" ] ,
131
122
tests : [ "tests/**/*.{js,mjs}" ] ,
132
123
} ,
133
- jsdoc : {
134
- options : {
135
- destination : "docs" ,
136
- template : "node_modules/ink-docstrap/template" ,
137
- recurse : true ,
138
- readme : "./README.md" ,
139
- configure : "docs/jsdoc.conf.json"
140
- } ,
141
- all : {
142
- src : [
143
- "src/**/*.js" ,
144
- "src/**/*.mjs" ,
145
- "!src/core/vendor/**/*"
146
- ] ,
147
- }
148
- } ,
149
124
accessibility : {
150
125
options : {
151
126
accessibilityLevel : "WCAG2A" ,
@@ -298,7 +273,6 @@ module.exports = function (grunt) {
298
273
} ,
299
274
{
300
275
expand : true ,
301
- src : "docs/**" ,
302
276
dest : "build/prod/"
303
277
} ,
304
278
]
@@ -332,12 +306,6 @@ module.exports = function (grunt) {
332
306
mode : "755" ,
333
307
} ,
334
308
src : [ "build/**/*" , "build/" ]
335
- } ,
336
- docs : {
337
- options : {
338
- mode : "755" ,
339
- } ,
340
- src : [ "docs/**/*" , "docs/" ]
341
309
}
342
310
} ,
343
311
watch : {
0 commit comments