Skip to content

MDLSITE-7037: Update index.md with new line length limit. - #1656

Open
scyrma wants to merge 1 commit into
moodle:mainfrom
scyrma:patch-1
Open

MDLSITE-7037: Update index.md with new line length limit.#1656
scyrma wants to merge 1 commit into
moodle:mainfrom
scyrma:patch-1

Conversation

@scyrma

@scyrma scyrma commented Jul 27, 2026

Copy link
Copy Markdown

Updating documentation, following coding style change relating to line length done in https://moodle.atlassian.net/browse/MDLSITE-7037

Updating documentation, following coding style change relating to line length done in https://moodle.atlassian.net/browse/MDLSITE-7037
Copilot AI review requested due to automatic review settings July 27, 2026 09:29
@netlify

netlify Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 5e77174
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/6a6724e241e748000879bb2f
😎 Deploy Preview https://deploy-preview-1656--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

Updates the Moodle developer coding style documentation to reflect the newer guidance on maximum line length.

Changes:

  • Replaces the previous 132/180-character guidance with an 80-character preferred limit and a 120-character “if needed” target for readability.

The key issue is readability.

Aim for 132 characters if it is convenient, it is not recommended to use more than 180 characters.
While there is no hard limit on line length, lines should not be longer than 80 characters, and lines longer than that should be split into multiple subsequent lines of no more than 80 characters each. If this is inconvenient, or impacts readability, aim to keep lines under 120 characters as much as possible.
@scyrma scyrma changed the title Update index.md with new line length limit. MDLSITE-7037: Update index.md with new line length limit. Jul 28, 2026
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.

2 participants