Skip to content

Commit 26eeaa5

Browse files
authored
Merge pull request #1346 from andrewnicols/403docsremoval
Remove docs for Moodle 4.3
2 parents 94d35c9 + 143798b commit 26eeaa5

File tree

271 files changed

+25
-33685
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+25
-33685
lines changed

general/documentation/forking-versions.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,24 @@ Typically this task is performed by the Integration team using the following ste
4646

4747
## Archiving a version of the docs
4848

49-
This procedure has not yet been completed and documentation will be created when we do so.
49+
The archival of a set of documentation usually happens immediately after the forking of documentation for the latest version.
50+
51+
1. After the Pull Request for this new version has been accepted, navigate to the Deploy Logs, and locate its "Permalink".
52+
1. Remove the entire folder from `versioned_docs` and `versioned_sidebars`:
53+
54+
```bash
55+
rm -rf versioned_docs/version-4.3 versioned_sidebars/version-4.3-*
56+
```
57+
58+
1. Commit the changes
59+
1. Update any remaining references to the version:
60+
1. Open the `versionsArchived.json` file and add the full link to the Netlify build.
61+
1. Open the `versions.json` file and remove the version from the list
62+
1. Search for any remaining occurrences as a path, for example:
63+
64+
```bash
65+
ag '/4\.3/'
66+
```
67+
68+
1. Commit these changes
69+
1. Create a pull request

static/_redirects

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@
5050
# Redirect /apis/plugintypes/tiny/legacy to /apis/plugintypes/tiny
5151
/docs/apis/plugintypes/tiny/legacy /docs/apis/plugintypes/tiny
5252
/docs/4.4/apis/plugintypes/tiny/legacy /docs/apis/plugintypes/tiny
53-
/docs/4.3/apis/plugintypes/tiny/legacy /docs/apis/plugintypes/tiny
54-
/docs/4.2/apis/plugintypes/tiny/legacy /docs/apis/plugintypes/tiny
53+
/docs/4.4/apis/plugintypes/tiny/legacy /docs/apis/plugintypes/tiny
5554

5655
# Issue #999
5756
/general/community/meetings/202403 /general/community/meetings/2024/03

versioned_docs/version-4.3/_utils.tsx

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)