Adjust regexes for Version history
What does this MR do and why?
Adjusts regexes for Version history.
Turns out, only the first item has to have one of the special keywords to render as History.
This will fix the history block here: https://gitlab-org.gitlab.io/technical-writing-group/gitlab-docs-hugo/user/project/repository/code_suggestions/#disable-code-suggestions
Screenshots, screen recordings, or links to review app
before | after |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/technical-writing-group/gitlab-docs-hugo/-/blob/main/doc/setup.md. -
Visit a page where a version history item doesn't include a keyword, but is still in the history block on the Nanoc site, like this: http://localhost:1313/user/project/repository/code_suggestions/. All history lines should be inside the history wrapper.
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this merge request.