From 4723ea1981595405292b2eb2f5ae9dbddb4ad8fa Mon Sep 17 00:00:00 2001 From: Stephane Zermatten Date: Tue, 8 Oct 2024 21:35:56 +0300 Subject: [PATCH] chore: Add venv to .gitignore and document use in Eldev. --- .gitignore | 1 + Eldev | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bd4a163..ab2b9c4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ /docs/build /dist /dir +/venv mistty.info .cask *-autoloads.el* diff --git a/Eldev b/Eldev index 735ecf7..f9e8dd4 100644 --- a/Eldev +++ b/Eldev @@ -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")