Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the intro page for the 5.0 dev docs #1168

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/intro.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
id: introduction
title: Introduction
description: Developer documentation for Moodle 4.5.
description: Developer documentation for Moodle 5.0.
slug: /
tags:
- Getting started
---

Welcome to the Developer Documentation for **Moodle 4.5**.
Welcome to the Developer Documentation for **Moodle 5.0**.

This documentation is version-specific and includes a range of useful guides and information.

Expand All @@ -17,10 +17,10 @@ This documentation is version-specific and includes a range of useful guides and
- Look through our [guides to Moodle APIs](./apis.md)
- Browse our [Moodle feature](./guides.md) deep dives
- Interested in supporting the Moodle App in your plugins? Read the [Moodle App documentation](/general/app)
{/*- You may want to read the [Release notes](/general/releases/4.5) for Moodle 4.5 */}
{/*- You may want to read the [Release notes](/general/releases/5.0) for Moodle 5.0 */}

:::

import ReleaseStateSummary from '@site/src/components/ReleaseStateSummary';

<ReleaseStateSummary releaseName="4.5" />
<ReleaseStateSummary releaseName="5.0" />
2 changes: 2 additions & 0 deletions general/documentation/forking-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Typically this task is performed by the Integration team using the following ste
1. Uncomment and update the link to the release notes for this version
1. Open `docs/devupdate.md` in your editor
1. Clear the content of this file and update the version numbers
1. Open `docs/intro.md` in your editor
1. Update the occurrences of the version number for the recent release with the version number for the next major version of Moodle
1. Open `nextVersion.js` in your editor
1. Update the values for `nextVersion` (and `nextLTSVersion` after the release of an LTS version)
1. Commit these changes ([Example from Moodle 4.4](https://github.com/moodle/devdocs/commit/XXaeb6385209caed38d757d53bc47f9bd66fdcfa0cY))
Expand Down
2 changes: 1 addition & 1 deletion src/components/ReleaseStateSummary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function futureRelease({ releaseData }: majorVersionData): JSX.Element {
, which
{' '}
{releaseData.isLTS && <strong>will be an LTS release</strong>}
{!releaseData.isLTS && <strong>will not an LTS release</strong>}
{!releaseData.isLTS && <strong>will not be an LTS release</strong>}
, is scheduled for release on
{' '}
<strong>
Expand Down
Loading