@@ -150,6 +150,35 @@ Documentation <contrib docs>` section. If you want to edit the documentation
150read our :ref:`make docs-live` section. If you are working in your own brand,
150read our :ref:`make docs-live` section. If you are working in your own brand,
151adjust your :ref:`Makefile setup <makefile setup>`.
151adjust your :ref:`Makefile setup <makefile setup>`.
155+``make books/{name}.html books/{name}.pdf``
156+===========================================
158+.. _intersphinx: https://www.sphinx-doc.org/en/stable/ext/intersphinx.html
159+.. _XeTeX: https://tug.org/xetex/
163+ To build PDF a XeTeX_ is needed, see :ref:`buildhosts`.
166+The ``books/{name}.*`` targets are building *books*. A *book* is a
167+sub-directory containing a ``conf.py`` file. One example is the user handbook
168+which can deployed separately (:origin:`docs/user/conf.py`). Such ``conf.py``
169+do inherit from :origin:`docs/conf.py` and overwrite values to fit *book's*
172+With the help of Intersphinx_ (:ref:`reST smart ref`) the links to searx’s
173+documentation outside of the book will be bound by the object inventory of
174+``DOCS_URL``. Take into account that URLs will be picked from the inventary at
175+documentation's build time.
177+Use ``make docs-help`` to see which books available:
179+.. program-output:: bash -c "cd ..; make --no-print-directory docs-help"
154.. _make gh-pages:
183.. _make gh-pages: