diff --git a/devel/docs.Dockerfile b/devel/docs.Dockerfile new file mode 100644 index 0000000..5938782 --- /dev/null +++ b/devel/docs.Dockerfile @@ -0,0 +1,4 @@ +FROM sphinxdoc/sphinx:2.4.4 + +COPY requirements.txt / +RUN pip install -r /requirements.txt diff --git a/docs/source/development/development.rst b/docs/source/development/development.rst index fd71ad4..e9ec476 100644 --- a/docs/source/development/development.rst +++ b/docs/source/development/development.rst @@ -220,20 +220,13 @@ Setup ~~~~~ .. code-block:: shell - python -m venv .venv - source .venv/bin/activate - python -m pip install sphinx - python -m pip install -r docs/requirements.txt - -.. note:: - - You might need to use :code:`python3` instead of :code:`python` + docker build -t genv:docs -f devel/docs.Dockerfile docs Build ~~~~~ .. code-block:: shell - make -C docs/ html + docker run -it --rm -v $PWD/docs:/docs genv:docs Python Package --------------