Skip to content

Commit dce2fb3

Browse files
authored
Skip redirects download (#267)
The flag makes the script to skip the download of the _[redirects](https://github.com/hazelcast/hazelcast-docs/blob/main/_redirects) file when creating a global build from non-hazelcast-docs repos For the production build we need that file, but it is useless for local build
1 parent 246699b commit dce2fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"bundle": "gulp bundle",
77
"build": "npm run bundle && load-docs-ui-playbook && antora --to-dir docs --fetch global-antora-playbook.yml && cp _redirects docs",
8-
"build-local": "npm run bundle && load-docs-ui-playbook --skip-private-repos && antora --to-dir docs --fetch global-antora-playbook.yml",
8+
"build-local": "npm run bundle && load-docs-ui-playbook --skip-private-repos --skip-redirects-download && antora --to-dir docs --fetch global-antora-playbook.yml",
99
"serve": "serve docs",
1010
"expose": "ngrok http 3000",
1111
"dev": "gulp preview"

0 commit comments

Comments
 (0)