Skip to content

Commit

Permalink
Merge pull request #100 from seapagan/add-docs-tasks-if-enabled
Browse files Browse the repository at this point in the history
add poe tasks for documentation if mkdocs enabled
  • Loading branch information
seapagan authored Sep 23, 2023
2 parents 4507fb0 + d161c9c commit c6b67de
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions py_maker/template/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,16 @@ black = "black **/*.py"
try = "tryceratops **/*.py"
markdown = "pymarkdown scan **/*.md"
lint = ["black", "flake8", "pylint", "mypy", "try"]
{% endif %}
{% if options.docs %}
"docs:publish" = "mkdocs gh-deploy"
"docs:build" = "mkdocs build"
"docs:serve" = "mkdocs serve -w TODO.md -w CHANGELOG.md"
"docs:serve:all" = "mkdocs serve -w TODO.md -w CHANGELOG.md -a 0.0.0.0:9000"
{% endif %}
{% if options.lint %}
# configure assorted tools and linters
[tool.isort]
profile = "black"
Expand Down

0 comments on commit c6b67de

Please sign in to comment.