Skip to content

Commit

Permalink
Merge pull request #10483 from pradyunsg/add-docs-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg authored Sep 19, 2021
2 parents 89326c8 + 035bc84 commit 4f4c310
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ on:
- cron: 0 0 * * MON # Run every Monday at 00:00 UTC

jobs:
docs:
name: docs
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install nox
- run: nox -s docs

determine-changes:
runs-on: ubuntu-latest
outputs:
Expand Down
2 changes: 2 additions & 0 deletions docs/html/reference/requirements-file-format.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
(requirements-file-format)=

# Requirements File Format

Requirements files serve as a list of items to be installed by pip, when
Expand Down
4 changes: 2 additions & 2 deletions docs/html/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ installed using :ref:`pip install` like so:
py -m pip install -r requirements.txt
Details on the format of the files are here: :ref:`Requirements File Format`.
Details on the format of the files are here: :ref:`requirements-file-format`.

Logically, a Requirements file is just a list of :ref:`pip install` arguments
placed in a file. Note that you should not rely on the items in the file being
Expand Down Expand Up @@ -185,7 +185,7 @@ not by discovering ``requirements.txt`` files embedded in projects.

See also:

* :ref:`Requirements File Format`
* :ref:`requirements-file-format`
* :ref:`pip freeze`
* `"setup.py vs requirements.txt" (an article by Donald Stufft)
<https://caremad.io/2013/07/setup-vs-requirement/>`_
Expand Down

0 comments on commit 4f4c310

Please sign in to comment.