Skip to content

Commit 953c518

Browse files
Major changes in dependency management, docs, linting, and checks
1 parent 4b77cf7 commit 953c518

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ publish: ## publish a release to pypi.
4444
.PHONY: build-and-publish
4545
build-and-publish: build publish ## Build and publish.
4646

47+
.PHONY: doc-test
48+
doc-test: ## Test if documentation can be built without warnings or errors
49+
@poetry run mkdocs build -f docs/mkdocs.yml -d _build -s
50+
51+
.PHONY: doc-build
52+
doc-build: ## Build the documentation
53+
@poetry run mkdocs build -f docs/mkdocs.yml -d _build
54+
55+
.PHONY: doc-serve
56+
doc-serve: ## Build and serve the documentation
57+
@poetry run mkdocs serve -f docs/mkdocs.yml
58+
4759
.PHONY: format
4860
format: ## Format code with black and isort
4961
@echo "🎨 Formatting code"

docs/Makefile

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ markdown_extensions:
9090
alternate_style: true
9191
- pymdownx.snippets:
9292
check_paths: true
93-
base_path: '..'
9493
- admonition
9594
- footnotes
9695
- codehilite

0 commit comments

Comments
 (0)