Skip to content

doc: Use existing labels and ref for hyperlinks in architecture.rst - #63294

Merged
anthonyeleven merged 1 commit into
ceph:mainfrom
bluikko:doc-architecture-ref
May 18, 2025
Merged

anthonyeleven merged 1 commit into
ceph:mainfrom
bluikko:doc-architecture-ref

Conversation

@bluikko

@bluikko bluikko commented May 15, 2025 •

Copy link
Copy Markdown
Contributor

Use validated ":ref:" hyperlinks instead of "external links" in "target definitions" when linking within the Ceph docs:

  • Update to use existing labels when linkin from architecture.rst.
  • Remove unused "target definitions".

Also use title case for section titles in doc/start/hardware-recommendations.rst because change to use link text generated from section title.

Other than generated link texts the rendered PR should look the same as the old docs, only differing in the source RST.

Fixes a duplicate target definition.
Only links with destinations that already have existing labels were updated to :ref:.

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

Use validated ":ref:" hyperlinks instead of "external links" in "target
definitions" when linking within the Ceph docs:
- Update to use existing labels when linkin from architecture.rst.
- Remove unused "target definitions".

Also use title case for section titles in
doc/start/hardware-recommendations.rst because change to use link text
generated from section title.

Other than generated link texts the rendered PR should look the same as
the old docs, only differing in the source RST.

Signed-off-by: Ville Ojamo <[email protected]>
@bluikko
bluikko force-pushed the doc-architecture-ref branch from b4b3d34 to 15935db Compare May 18, 2025 03:58
@bluikko

bluikko commented May 18, 2025

Copy link
Copy Markdown
Contributor Author

The earlier default job error was due to a problem on the Jenkins node.

The rendered PR looks OK, this is ready for review.
I am not enthusiastic about the document now using 2 different link styles. But I think it would be too large if this PR would start to add labels to all those documents. I will be continuing this link thing slowly.

@bluikko
bluikko marked this pull request as ready for review May 18, 2025 04:19
@bluikko
bluikko requested a review from a team as a code owner May 18, 2025 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants