Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite all docs/reference destinations to be inline ref URIs #6538

Closed
wants to merge 3 commits into from

Conversation

jdbaldry
Copy link
Member

@jdbaldry jdbaldry commented Feb 27, 2024

Matching the implementation in https://github.com/grafana/website/pull/18304.

I know of at least one transformation bug that can be seen in the patch for docs/sources/data-collection.md where the link is missing a trailing space.

Drafting this until I can check through the patch and the files to see what other bugs I can uncover.

You can test locally with make docs DOCS_IMAGE=grafana/docs-base:nightly

If you have the website repository cloned, you can also use the jdb/2024-01-link-checking branch to do link checking but be aware that link checking doesn't follow aliases nor can it handle the relref shortcode.

You run the two projects together with make docs 'PROJECTS=agent grafana-cloud' DOCS_IMAGE=grafana/docs-base:nightly

To see the most viewed Agent pages to prioritize checking them:
https://bi.grafana-ops.net/d/e7be048f-625e-486b-a4d3-37a393fe834f/docs-page-views?orgId=1&var-repository=All&var-path=%5E%2Fdocs%2Fagent&viewPanel=7 or https://bi.grafana-ops.net/d/fdc2ghw1231fkf/health-check-3e-pages?orgId=1&var-regexp=%5E%2Fdocs%2Fagent&var-projects=Agent

@jdbaldry jdbaldry force-pushed the jdb/2024-02-use-inline-ref-uris branch 2 times, most recently from 81a552b to becbd65 Compare February 28, 2024 08:49
It takes too long to run each time for a regular DX task like `make docs`.
I'd rather risk that the file is out of sync.

Signed-off-by: Jack Baldry <[email protected]>
@jdbaldry jdbaldry force-pushed the jdb/2024-02-use-inline-ref-uris branch from becbd65 to b0ab483 Compare February 28, 2024 13:47
Copy link
Contributor

This PR has not had any activity in the past 30 days, so the needs-attention label has been added to it.
If you do not have enough time to follow up on this PR or you think it's no longer relevant, consider closing it.
The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your PR will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!

@github-actions github-actions bot added the needs-attention An issue or PR has been sitting around and needs attention. label Mar 30, 2024
@rfratto rfratto added variant/static Related to Grafana Agent Static. variant/operator Related to Grafana Agent Static Operator. variant/flow Relatd to Grafana Agent Flow. type/docs Docs Squad label across all Grafana Labs repos labels Apr 9, 2024
@github-actions github-actions bot removed the needs-attention An issue or PR has been sitting around and needs attention. label Apr 10, 2024
@jdbaldry jdbaldry closed this Apr 30, 2024
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Jun 1, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. type/docs Docs Squad label across all Grafana Labs repos variant/flow Relatd to Grafana Agent Flow. variant/operator Related to Grafana Agent Static Operator. variant/static Related to Grafana Agent Static.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants