@@ -139,7 +139,6 @@ remove_nodejs() {
139
139
rm -f package.lock > /dev/null || true
140
140
rm -f yarn.lock > /dev/null || true
141
141
rm -Rf node_modules > /dev/null || true
142
- rm -Rf docs/nodejs || true
143
142
144
143
remove_string_content_line " \/.npmignore" " .gitattributes"
145
144
@@ -153,12 +152,10 @@ remove_release_drafter() {
153
152
rm -f .github/workflows/draft-release-notes.yml || true
154
153
rm -f .github/release-drafter.yml
155
154
remove_tokens_with_content " RELEASEDRAFTER"
156
- rm -Rf docs/content/ci/release-drafter.mdx || true
157
155
}
158
156
159
157
remove_pr_autoassign () {
160
158
rm -f .github/workflows/assign-author.yml || true
161
- rm -Rf docs/content/ci/auto-assign-pr.mdx || true
162
159
}
163
160
164
161
remove_funding () {
@@ -171,14 +168,6 @@ remove_pr_template() {
171
168
172
169
remove_renovate () {
173
170
rm -f renovate.json || true
174
- rm -Rf docs/content/ci/renovate.mdx || true
175
- }
176
-
177
- remove_docs () {
178
- rm -Rf docs || true
179
- rm -f .github/workflows/test-docs.yml || true
180
- rm -f .github/workflows/release-docs.yml || true
181
- remove_string_content_line " \/docs" " .gitattributes"
182
171
}
183
172
184
173
process_readme () {
@@ -249,8 +238,6 @@ process_internal() {
249
238
rm -f " .github/workflows/test-scaffold.yml" > /dev/null || true
250
239
rm -Rf .scaffold > /dev/null || true
251
240
252
- rm -f " docs/static/img/init.gif" > /dev/null || true
253
-
254
241
remove_tokens_with_content " META"
255
242
remove_special_comments
256
243
@@ -284,7 +271,6 @@ main() {
284
271
use_funding=" $( ask_yesno " Use GitHub funding" ) "
285
272
use_pr_template=" $( ask_yesno " Use GitHub PR template" ) "
286
273
use_renovate=" $( ask_yesno " Use Renovate" ) "
287
- use_docs=" $( ask_yesno " Use docs" ) "
288
274
remove_self=" $( ask_yesno " Remove this script" ) "
289
275
290
276
echo
@@ -301,7 +287,6 @@ main() {
301
287
echo " Use GitHub funding : ${use_funding} "
302
288
echo " Use GitHub PR template : ${use_pr_template} "
303
289
echo " Use Renovate : ${use_renovate} "
304
- echo " Use Docs : ${use_docs} "
305
290
echo " Remove this script : ${remove_self} "
306
291
echo " ---------------------------------"
307
292
echo
@@ -330,7 +315,6 @@ main() {
330
315
[ " ${use_funding} " != " y" ] && remove_funding
331
316
[ " ${use_pr_template} " != " y" ] && remove_pr_template
332
317
[ " ${use_renovate} " != " y" ] && remove_renovate
333
- [ " ${use_docs} " != " y" ] && remove_docs
334
318
335
319
process_readme " ${extension_name} "
336
320
0 commit comments