Skip to content

Commit

Permalink
Merge pull request #284 from open-contracting/283-update-oc4ids-page
Browse files Browse the repository at this point in the history
docs/profiles/infrastructure.rst: Add new commands
  • Loading branch information
jpmckinney authored Dec 11, 2023
2 parents e8e3d5a + be59890 commit 44638e8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/profiles/infrastructure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,29 @@ You can then:

- Edit the workbook in your preferred spreadsheet software
- Export each sheet as a CSV file to the ``mapping`` directory

Update sustainability.yaml
~~~~~~~~~~~~~~~~~~~~~~~~~~

For each change to the `CoST IDS sustainability elements <https://docs.google.com/spreadsheets/d/165epI69oQ5YyL4-2q8VubFn9VuNham2Pi1u0P49id9o/>`__, run:

.. code-block:: shell
./manage.py update-sustainability-elements
Update sustainability.md
~~~~~~~~~~~~~~~~~~~~~~~~

For each change to ``mapping/sustainability.yaml``:

1. Lint it, and link any field names to the schema reference documentation:

.. code-block:: shell
./manage.py lint -l mapping/sustainability.yaml
2. Update ``docs/cost/ids/sustainability.md``:

.. code-block:: shell
./manage.py update-sustainability-docs

0 comments on commit 44638e8

Please sign in to comment.