Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

documentation on how to build the documentation

jonaswinkleree7308be2da6
diff --git a/docs/extending.rst b/docs/extending.rst
index b2ddf3d85..860106258 100644
--- a/docs/extending.rst
+++ b/docs/extending.rst
@@ -109,6 +109,30 @@ This will build the front end and put it in a location from which the Django ser
it as static content. This way, you can verify that authentication is working.
+Building the documentation
+==========================
+
+The documentation is built using sphinx. I've configured ReadTheDocs to automatically build
+the documentation when changes are pushed. If you want to build the documentation locally,
+this is how you do it:
+
+1. Install python dependencies.
+
+ .. code:: shell-session
+
+ $ cd /path/to/paperless
+ $ pipenv install --dev
+
+2. Build the documentation
+
+ .. code:: shell-session
+
+ $ cd /path/to/paperless/docs
+ $ pipenv run make clean html
+
+This will build the HTML documentation, and put the resulting files in the ``_build/html``
+directory.
+
Extending Paperless
===================