From 9f65ef67f7e01225812a76647bb5599bf08893b7 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 18 Aug 2023 13:05:04 +0200 Subject: [PATCH] Add Makefile --- doc/.gitignore | 1 + doc/Makefile | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 doc/Makefile diff --git a/doc/.gitignore b/doc/.gitignore index 4095079a..571d5ee3 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -1,2 +1,3 @@ public_html LdapSaisie.html +venv diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 00000000..ae393530 --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,17 @@ +serve: venv + venv/bin/mkdocs serve + +build: venv public_html LdapSaisie.html + +public_html: + venv/bin/mkdocs build -s + +LdapSaisie.html: public_html + venv/bin/htmlark public_html/print_page/index.html -o LdapSaisie.html + +venv: + python3 -m venv venv + venv/bin/python -m pip install -r requirements.txt + +clean: + rm -fr venv public_html LdapSaisie.html