Skip to content

Commit

Permalink
make docs-build
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqliu committed Jan 5, 2025
1 parent 5312c88 commit 2f82934
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/python-ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ jobs:
with:
python-version: 3.12
- name: Install
working-directory: ./mkdocs
run: pip install -r requirements.txt
- name: Build
working-directory: ./mkdocs
run: mkdocs build --strict
run: make install
- name: Build docs
run: make docs-build
8 changes: 3 additions & 5 deletions .github/workflows/python-release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install
working-directory: ./mkdocs
run: pip install -r requirements.txt
- name: Build
working-directory: ./mkdocs
run: mkdocs build --strict
run: make install
- name: Build docs
run: make docs-build
- name: Copy
working-directory: ./mkdocs
run: mv ./site /tmp/site
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,7 @@ clean: ## Clean up the project Python working environment
@echo "Cleanup complete"

docs:
poetry run mkdocs serve -f mkdocs/mkdocs.yml --strict
poetry run mkdocs serve -f mkdocs/mkdocs.yml

docs-build:
poetry run mkdocs build -f mkdocs/mkdocs.yml --strict

0 comments on commit 2f82934

Please sign in to comment.