Skip to content

doc/script: fix missing role colons, refresh release guide and sign off release commits - #707

Merged
xdelaruelle merged 3 commits into
envmodules:mainfrom
xdelaruelle:doc-fixes
Sep 23, 2026
Merged

xdelaruelle merged 3 commits into
envmodules:mainfrom
xdelaruelle:doc-fixes

Conversation

@xdelaruelle

@xdelaruelle xdelaruelle commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Three small fixes around documentation and the release process.

  • Six cross-references are written as mfcmd:... or `ref:`... without the leading colon, so Sphinx renders them as literal text instead of links. Add the missing colon.
  • Refresh the "Create new Modules release" developer guide after the 5.7.0 release: point to the 5.7.0 release commit as the example to follow, add the step to update the version substitutions in other-implementations.rst (which that release had to touch but the guide did not mention), clarify that MIGRATING.rst only gets its "not yet released" mention dropped, and strip the :mhook: role when building the GitHub release description from NEWS.rst.
  • The "release of version" commit that script/mpub creates on the gh-pages branch was made without a Signed-off-by: trailer. Pass -s to git commit there, and in the release guide's commit step for the main branch, so both release commits comply with the DCO.

Six cross-references are written as "mfcmd:`...`" or "ref:`...`"
without the leading colon, so Sphinx renders them as literal text
instead of links to the modulefile command or man page they name.

Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
Point to the 5.7.0 release commit as the example to follow, as it
reflects the current set of files touched by a release. Add the step
to update the version substitutions in other-implementations.rst,
which this commit had to change but the guide did not mention. Clarify
that MIGRATING.rst only gets its "not yet released" mention dropped,
as no release date is written there.

Strip the :mhook: role, introduced by the hook feature, when building
the GitHub release description from NEWS.rst.

Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
Every commit in the repository must carry a Signed-off-by trailer, but
the "release of version" commit that mpub creates on the gh-pages
branch was made without it. Pass -s to git commit there, and in the
release guide's commit step for the main branch, so both release
commits comply with the DCO.

Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
@xdelaruelle xdelaruelle changed the title doc: fix missing role colons and refresh release guide for 5.7.0 doc/script: fix missing role colons, refresh release guide and sign off release commits Sep 22, 2026
@xdelaruelle
xdelaruelle merged commit 8fb5b3d into envmodules:main Sep 23, 2026
22 checks passed
@xdelaruelle
xdelaruelle deleted the doc-fixes branch September 23, 2026 06:14
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.

1 participant