Skip to content

Commit

Permalink
Add windows instructions for setting root cert.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Apr 11, 2023
1 parent 80557c8 commit 4a1d8b8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/how-to/contribute-docs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Once your development environment is set up, run:

.. code-block:: powershell
C:\...>tox -e docs
(venv) C:\...>tox -e docs
The output of the file should be in the ``docs/_build/html`` folder. If there
are any markup problems, they'll raise an error.
Expand Down Expand Up @@ -118,7 +118,7 @@ documentation:

.. code-block:: powershell
C:\...>tox -e docs-lint
(venv) C:\...>tox -e docs-lint
This will validate the documentation does not contain:

Expand Down Expand Up @@ -147,19 +147,20 @@ SSL root certificate:

.. code-block:: bash
(venv) $ pip install certifi
(venv) $ python -m pip install certifi
(venv) $ export SSL_CERT_FILE=$(python -m certifi)
.. group-tab:: Linux

.. code-block:: bash
(venv) $ pip install certifi
(venv) $ python -m pip install certifi
(venv) $ export SSL_CERT_FILE=$(python -m certifi)
.. group-tab:: Windows

???
(venv) C:\...>python -m pip install certifi
(venv) C:\...>FOR /f "delims=" %i IN ('python -m certifi') DO SET SSL_CERT_FILE=%i

Rebuilding all documentation
----------------------------
Expand All @@ -184,7 +185,7 @@ To force a rebuild for all of the documentation:

.. code-block:: powershell
C:\...>tox -e docs-all
(venv) C:\...>tox -e docs-all
The documentation should be fully rebuilt in the ``docs/_build/html`` folder.
If there are any markup problems, they'll raise an error.

0 comments on commit 4a1d8b8

Please sign in to comment.