forked from Mirror/pmbootstrap
docs/index: introduce local deploy example
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2599
This commit is contained in:
parent
abb8d92437
commit
a61fd50d6f
1 changed files with 17 additions and 0 deletions
|
@ -35,6 +35,23 @@ Indices and tables
|
||||||
* :ref:`modindex`
|
* :ref:`modindex`
|
||||||
* :ref:`search`
|
* :ref:`search`
|
||||||
|
|
||||||
|
Deploying locally
|
||||||
|
=================
|
||||||
|
|
||||||
|
To deploy with python virtual environment and sphinx-autobuild:
|
||||||
|
|
||||||
|
.. code-block:: sh
|
||||||
|
|
||||||
|
cd /path/to/pmbootstrap
|
||||||
|
python -m venv build-sphinx-env
|
||||||
|
source ./build-sphinx-env/bin/activate
|
||||||
|
pip install sphinx-autobuild sphinx_rtd_theme myst-parser sphinxcontrib-autoprogram
|
||||||
|
sphinx-autobuild docs docs/_build/html
|
||||||
|
|
||||||
|
.. code-block:: text
|
||||||
|
|
||||||
|
[sphinx-autobuild] Serving on http://127.0.0.1:8000
|
||||||
|
[sphinx-autobuild] Waiting to detect changes...
|
||||||
|
|
||||||
*Note:* This documentation is currently a work-in-progress, your feedback and contributions are very welcome!
|
*Note:* This documentation is currently a work-in-progress, your feedback and contributions are very welcome!
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue