Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: add offline docs #8527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 19, 2023
Prev Previous commit
Next Next commit
Update makefile
  • Loading branch information
BrunoQuaresma committed Jul 19, 2023
commit a9c0bb7e32bb9c7d249f2545dd6b4f77037c2fe0
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,12 @@ site/out/index.html: site/package.json $(shell find ./site $(FIND_EXCLUSIONS) -t
../scripts/yarn_install.sh
yarn build

offlinedocs/out/docs/index.html: $(shell find ./offlinedocs $(FIND_EXCLUSIONS) -type f) $(shell find ./docs $(FIND_EXCLUSIONS) -type f | sed 's: :\\ :g')
offlinedocs/out/index.html: $(shell find ./offlinedocs $(FIND_EXCLUSIONS) -type f) $(shell find ./docs $(FIND_EXCLUSIONS) -type f | sed 's: :\\ :g')
cd offlinedocs
../scripts/yarn_install.sh
yarn export

build/coder_docs_$(VERSION).tgz: offlinedocs/out/docs/index.html
build/coder_docs_$(VERSION).tgz: offlinedocs/out/index.html
tar -czf "$@" -C offlinedocs/out .

install: build/coder_$(VERSION)_$(GOOS)_$(GOARCH)$(GOOS_BIN_EXT)
Expand Down