File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Further information about this functionality is available in the [Docusaurus doc
1717
1818## Creating a new version of the docs {/* #creating-a-new-version-of-the-docs * /}
1919
20- Typically this task is performed by the Integration team using the following steps:
20+ Typically this task is performed using the following steps:
2121
22221 . Ensure that all pending appropriate merge requests have been merged
23231 . Ensure that your local branch is up-to-date
@@ -48,14 +48,16 @@ Typically this task is performed by the Integration team using the following ste
4848
4949The archival of a set of documentation usually happens immediately after the forking of documentation for the latest version.
5050
51- 1. After the Pull Request for this new version has been accepted, navigate to the Deploy Logs, and locate its " Permalink" .
51+ 1. Create a new branch ` archive/[version]` , for example ` archive/4.3`
52+ 1. Push the branch to the authoritative GitHub repository
53+ 1. Log in to Netlify and navigate to the [Deploy Logs](https://app.netlify.com/projects/moodledevdocs/deploys)
54+ 1. Locate the build and copy its Permalink.
52551. Remove the entire folder from ` versioned_docs` and ` versioned_sidebars` :
5356
5457 ` ` ` bash
5558 rm -rf versioned_docs/version-4.3 versioned_sidebars/version-4.3-*
5659 ` ` `
5760
58- 1. Commit the changes
59611. Update any remaining references to the version:
6062 1. Open the ` versionsArchived.json` file and add the full link to the Netlify build.
6163 1. Open the ` versions.json` file and remove the version from the list
You can’t perform that action at this time.
0 commit comments