Skip to content

Updating Profile Version on Website

Alasdair Gray edited this page Mar 4, 2020 · 1 revision

The content of profile pages should not be edited directly, all edits to content should be made in the crosswalk spreadsheet and then the content generated using GoWeb.

The following steps need to be followed to get a new version of a profile displayed on the website:
(Note that these edits do need to be made in the website page for the profile)

  1. Copy redirect_from yaml block from current version to new version
  2. Populate the previous_version: tag in the new version of the profile with the version and date code from the current version, e.g. with a value of the form 0.3-DRAFT-2019_10_24
  3. Ensure that the version: tag in the new version of the profile is of the form 0.4-DRAFT-2020_03_04

To update the information in the table on the profile page, the following edits need to be made to the file in _data/profile_versions.yaml:

  1. Find the block corresponding to the profile
  2. Change the latest_publication value to the new profile version