Skip to content

Commit

Permalink
docs/profiles/infrastructure.rst: Add new commands
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Dec 11, 2023
1 parent e8e3d5a commit bfc61b2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/profiles/infrastructure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,30 @@ 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 the YAML file and link field names to the schema reference documentation:

.. code-block:: shell
./manage.py lint -l mapping/sustainability.yaml
2. Update the associated Markdown page:

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

0 comments on commit bfc61b2

Please sign in to comment.