Skip to content

Commit

Permalink
refactor(build): simplify mkdocs build scripts (#12463)
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
  • Loading branch information
agilgur5 committed Feb 5, 2024
1 parent 6ba7401 commit 1c31790
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ jobs:
# proposals live only on GH as pure markdown
- '!docs/proposals/**'
# docs scripts & tools from `make docs`
- hack/check-mkdocs.sh
- hack/check-env-doc.sh
- .markdownlint.yaml
- .mlc_config.json
Expand Down
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -726,10 +726,8 @@ docs: /usr/local/bin/mkdocs \
# docs-linkcheck
# check environment-variables.md contains all variables mentioned in the code
./hack/check-env-doc.sh
# check all docs are listed in mkdocs.yml
./hack/check-mkdocs.sh
# build the docs
mkdocs build
mkdocs build --strict
# tell the user the fastest way to edit docs
@echo "ℹ️ If you want to preview your docs, open site/index.html. If you want to edit them with hot-reload, run 'make docs-serve' to start mkdocs on port 8000"

Expand Down
9 changes: 0 additions & 9 deletions hack/check-mkdocs.sh

This file was deleted.

0 comments on commit 1c31790

Please sign in to comment.