Skip to content

Conversation

@maxime-rainville
Copy link
Contributor

@maxime-rainville maxime-rainville commented Apr 23, 2025

Description

Simple update to point users to the latest version of the docs.

Issues

Pull request checklist

  • The target branch is correct
  • All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting)
  • The commit messages follow our commit message guidelines
  • The PR follows our contribution guidelines
  • Code changes follow our coding conventions
  • This change is covered with tests (or tests aren't necessary for this change)
  • Any relevant User Help/Developer documentation is updated; for impactful changes, information is added to the changelog for the intended release
  • CI is green

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

This should link to the specific docs for this version - i.e. 5 on this branch and 6 on 6.0.

@maxime-rainville
Copy link
Contributor Author

This should link to the specific docs for this version - i.e. 5 on this branch and 6 on 6.0.

I thought we had decided to avoid including the version number when including documentation link to doc in the PHPDoc or in code? That way, every time someone follows that link, they'll be redirected to the latest version.

Otherwise, every time you do a major release, you'll have to go through all the code base and find all instances of https://docs.silverstripe.org/en/X and increment it by one.

Happy to change it if I'm misremembering this.

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