All of lore.kernel.org
 help / color / mirror / Atom feed
* [docs][PATCH] documentation: Add Pipenv support
@ 2020-11-10 21:29 Joshua Watt
  2020-11-11 21:30 ` [PATCH] " shantanoo.desai
  0 siblings, 1 reply; 6+ messages in thread
From: Joshua Watt @ 2020-11-10 21:29 UTC (permalink / raw)
  To: docs; +Cc: Joshua Watt

Adds a Pipfile so that Pipenv can be used to automatically install all
the dependencies required to build the documentation

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 documentation/.gitignore |  1 +
 documentation/Pipfile    | 14 ++++++++++++++
 documentation/README     |  7 +++++++
 3 files changed, 22 insertions(+)
 create mode 100644 documentation/Pipfile

diff --git a/documentation/.gitignore b/documentation/.gitignore
index 69fa449dd..21bb72530 100644
--- a/documentation/.gitignore
+++ b/documentation/.gitignore
@@ -1 +1,2 @@
 _build/
+Pipfile.lock
diff --git a/documentation/Pipfile b/documentation/Pipfile
new file mode 100644
index 000000000..7ee1d2290
--- /dev/null
+++ b/documentation/Pipfile
@@ -0,0 +1,14 @@
+[[source]]
+name = "pypi"
+url = "https://pypi.org/simple"
+verify_ssl = true
+
+[dev-packages]
+
+[packages]
+sphinx = "*"
+sphinx-rtd-theme = "*"
+pyyaml = "*"
+
+[requires]
+python_version = "3"
diff --git a/documentation/README b/documentation/README
index 534ae66f8..28d5c4be8 100644
--- a/documentation/README
+++ b/documentation/README
@@ -127,6 +127,13 @@ The resulting HTML index page will be _build/html/index.html, and you
 can browse your own copy of the locally generated documentation with
 your browser.
 
+Alternatively, you can use Pipenv to automatically install all required
+dependencies in a virtual environment:
+
+ $ cd documentation
+ $ pipenv install
+ $ pipenv run make html
+
 Sphinx theme and CSS customization
 ==================================
 
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-12  9:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 21:29 [docs][PATCH] documentation: Add Pipenv support Joshua Watt
2020-11-11 21:30 ` [PATCH] " shantanoo.desai
2020-11-11 22:05   ` [docs] " Joshua Watt
2020-11-12  7:29     ` Nicolas Dechesne
2020-11-12  9:41       ` Quentin Schulz
2020-11-12  9:58         ` Nicolas Dechesne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.