Skip to content

Commit

Permalink
chore: Add venv to .gitignore and document use in Eldev.
Browse files Browse the repository at this point in the history
  • Loading branch information
szermatt committed Oct 8, 2024
1 parent a4c6f23 commit 4723ea1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/docs/build
/dist
/dir
/venv
mistty.info
.cask
*-autoloads.el*
Expand Down
7 changes: 6 additions & 1 deletion Eldev
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,12 @@
(write-file "mistty.texi")))

(eldev-defcommand mistty-html-doc (&rest parameters)
"Generate documentation HTML into docs/build/html."
"Generate documentation HTML into docs/build/html.
First install Sphinx with:
python3 -m venv venv
. venv/bin/activate
pip3 install -r docs/requirements.txt"
:command documentation
:aliases (html)
(eldev-call-process "sphinx-build" '("-M" "html" "docs/source" "docs/build")
Expand Down

0 comments on commit 4723ea1

Please sign in to comment.