Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff Makefile @ 45:6ac1ea5d2d4a
Begin documentation: add the Sphinx generated configuration as-is
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 26 Apr 2026 09:41:33 +0200 |
| parents | 742496328de6 |
| children | ddefcc20367c |
line wrap: on
line diff
--- a/Makefile Sun Apr 26 09:40:32 2026 +0200 +++ b/Makefile Sun Apr 26 09:41:33 2026 +0200 @@ -4,7 +4,7 @@ # SPDX-License-Identifier: MIT # :- -.PHONY: help all clean distclean dist build tests flake8 install-dev +.PHONY: help all clean distclean dist build tests flake8 docs clean-docs clean-docs-html install-dev install-docs help: @echo Targets: help, clean, distclean, dist, build @@ -30,5 +30,18 @@ -flake8 pygments_lexer_pseudocode2 -flake8 tests +docs: + (cd docs && make html) + +clean-docs: + (cd docs && make clean) + +clean-docs-html: + rm -rf docs/_build/html + install-dev: python -m pip install -r requirements-dev.txt + +install-docs: + python -m pip install -r requirements-docs.txt + python -m pip install --editable .
