Skip to content

Commit

Permalink
chore: move docs dependencies to main pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
mkniewallner committed Nov 13, 2022
1 parent 44cfb40 commit acca4cf
Show file tree
Hide file tree
Showing 16 changed files with 428 additions and 613 deletions.
56 changes: 0 additions & 56 deletions .github/actions/check-docs/action.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/actions/deploy-docs/action.yml

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,8 @@ jobs:
- name: Check out
uses: actions/checkout@v3

- name: check documentation
uses: ./.github/actions/check-docs
- name: Set up the environment
uses: ./.github/actions/setup-poetry-env

- name: Check if documentation can be built
run: poetry run mkdocs build -s
7 changes: 5 additions & 2 deletions .github/workflows/on-release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ jobs:
- name: Check out
uses: actions/checkout@v3

- name: check documentation
uses: ./.github/actions/deploy-docs
- name: Set up the environment
uses: ./.github/actions/setup-poetry-env

- name: Deploy documentation
run: poetry run mkdocs gh-deploy --force
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ build-and-publish: build publish ## Build and publish.

.PHONY: docs-test
docs-test: ## Test if documentation can be built without warnings or errors.
@( cd docs ; poetry run mkdocs build -s)
@poetry run mkdocs build -s

.PHONY: docs
docs: ## Build and serve the documentation.
@( cd docs ; poetry run mkdocs serve )
@poetry run mkdocs serve

.PHONY: help
help: ## Show help for the commands.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img width="460" height="300" src="https://raw.githubusercontent.com/fpgmaas/deptry/main/docs/docs/static/deptry_Logo-01.svg">
<img width="460" height="300" src="https://raw.githubusercontent.com/fpgmaas/deptry/main/docs/static/deptry_Logo-01.svg">
</p>

---
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit acca4cf

Please sign in to comment.