Skip to content

Fixed generated heading anchors to match the ones Hugo emits - #3763

Merged
nickanderson merged 1 commit into
cfengine:masterfrom
nickanderson:docs-hugo-anchor-generation
Sep 1, 2026
Merged

Fixed generated heading anchors to match the ones Hugo emits#3763
nickanderson merged 1 commit into
cfengine:masterfrom
nickanderson:docs-hugo-anchor-generation

Conversation

@nickanderson

Copy link
Copy Markdown
Member

No description provided.

@nickanderson
nickanderson force-pushed the docs-hugo-anchor-generation branch from 416e05c to c75796b Compare September 1, 2026 14:18
@nickanderson

Copy link
Copy Markdown
Member Author

@cf-bottom jenkins please

@cf-bottom

Copy link
Copy Markdown

@craigcomstock craigcomstock 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.

What issue is this fixing? I checked a few anchors and they looked OK and seemed to work.

@nickanderson

nickanderson commented Sep 1, 2026

Copy link
Copy Markdown
Member Author

What issue is this fixing? I checked a few anchors and they looked OK and seemed to work.

For example: https://docs.cfengine.com/docs/master/reference/promise-types/services/

image

the link takes you to the top of the page instead of to the anchor

This pr fixes the link to the anchor: http://buildcache.cfengine.com/packages/build-documentation-pr/jenkins-fast-build-and-deploy-docs-master-144/output/_site/reference/promise-types/services/

Notice that it links to reference/special-variables/this/#thispromiser instead of reference/special-variables/this#this-promiser

image

@nickanderson
nickanderson merged commit 9fc0f4b into cfengine:master Sep 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants