Commit 9296bd2
committed
[docs] Migrate releases docs
This change also moves all version data for all released versions to a
JSON structure containing all relevant information for all Moodle
releases since 1.4.5. This is validated using a json-schema.
New React elements are introduced for:
- `ReleaseTable` - to list all releases for a major release
- `SupportedReleases` - to list and summarise only the supported
releases
All utility functions have been moved to a new `utils/SupportedReleases`
file defining the types and providign useful helpers.
The sidebar configuration has been updated to use the new data source,
but we need to improve general infrastructure to allow the docusaurus
configuration to load typescript files before it can be updated to use
the new utility. That will be investigated in a separate issue.1 parent c81a074 commit 9296bd2
File tree
31 files changed
+2925
-363
lines changed- data
- general
- _releases
- community
- development
- policies
- process
- translation/langpack
- releases
- 3.11
- 3.9
- 4.0
- scripts/migration/phases/20-tables
- sidebars
- src
- components
- ReleaseTable
- SupportedReleases
- plugins
- theme/UnsupportedVersionBanner
- utils
- static/schema
31 files changed
+2925
-363
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1159 | 1159 | | |
1160 | 1160 | | |
1161 | 1161 | | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
1162 | 1165 | | |
1163 | 1166 | | |
1164 | 1167 | | |
| |||
This file was deleted.
0 commit comments