Skip to content

[docs] Add developer documentation for course linear navigation support#1634

Merged
aanabit merged 1 commit into
moodle:mainfrom
sarjona:linearnav
Jul 14, 2026
Merged

[docs] Add developer documentation for course linear navigation support#1634
aanabit merged 1 commit into
moodle:mainfrom
sarjona:linearnav

Conversation

@sarjona

@sarjona sarjona commented Jul 13, 2026

Copy link
Copy Markdown
Member

Document the implementation details for third-party course formats to opt into and support the new course linear navigation mechanism introduced in MDL-87302 and MDL-87575.

Copilot AI review requested due to automatic review settings July 13, 2026 14:22
@netlify

netlify Bot commented Jul 13, 2026

Copy link
Copy Markdown

Deploy Preview for moodledevdocs ready!

Name Link
🔨 Latest commit 0ca97eb
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/6a5627eecf615f00088367de
😎 Deploy Preview https://deploy-preview-1634--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Moodle DevDocs documentation for the new “course linear navigation” feature in Moodle 5.3, describing how third-party course formats can opt in and integrate with the footer navigation controls.

Changes:

  • Adds a Moodle 5.3 developer update entry introducing linear navigation support and linking to a new guide.
  • Introduces a new format plugin guide covering opt-in, configuration, page-state controls, and Behat steps.
  • Updates the course format plugin API index to mention uses_linear_navigation() and link to the new guide.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 11 comments.

File Description
docs/devupdate.md Adds a 5.3 dev update entry and links to the new linear navigation guide.
docs/apis/plugintypes/format/linear_navigation.md New integration guide for course formats to support linear navigation.
docs/apis/plugintypes/format/index.md Adds API references/cross-linking for the linear navigation feature.

Comment thread docs/apis/plugintypes/format/linear_navigation.md Outdated
Comment thread docs/apis/plugintypes/format/linear_navigation.md Outdated
Comment thread docs/apis/plugintypes/format/linear_navigation.md Outdated
Comment thread docs/apis/plugintypes/format/linear_navigation.md Outdated
Comment thread docs/apis/plugintypes/format/linear_navigation.md Outdated
Comment thread docs/apis/plugintypes/format/linear_navigation.md Outdated
Comment thread docs/apis/plugintypes/format/linear_navigation.md
Comment thread docs/devupdate.md
Comment thread docs/apis/plugintypes/format/linear_navigation.md
Comment thread docs/apis/plugintypes/format/index.md Outdated

@aanabit aanabit left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we should also mention the set_suplementary_content().
Even though it's not specific part of the linear navigation it's somehow related.
I'm not saying we should "mix" both things, but I thing a thought or discussion about it is worthy.

Apart from that, I've added a couple of tiny things only.
Thanks for working on this.

Comment thread docs/apis/plugintypes/format/linear_navigation.md Outdated
Comment thread docs/apis/plugintypes/format/index.md
Comment thread docs/apis/plugintypes/format/linear_navigation.md
Document the implementation details for third-party course formats to opt into
and support the new course linear navigation mechanism introduced in MDL-87302
and MDL-87575.
@sarjona

sarjona commented Jul 14, 2026

Copy link
Copy Markdown
Member Author

I'm not sure we should also mention the set_suplementary_content(). Even though it's not specific part of the linear navigation it's somehow related. I'm not saying we should "mix" both things, but I thing a thought or discussion about it is worthy.

I think we can create a separate pull-request to document this feature too (but I would do it separately, because it's not related to the course navigation feature) :-)

Apart from that, I've added a couple of tiny things only. Thanks for working on this.

Thanks! I reviewed them and updated the patch accordingly in some cases.

@sarjona sarjona requested a review from aanabit July 14, 2026 12:16

@aanabit aanabit left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes seem OK and the new documentation is ready to land.
Thanks for your work.
Amaia

@aanabit aanabit added this pull request to the merge queue Jul 14, 2026
Merged via the queue into moodle:main with commit 7875a10 Jul 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants