Skip to content

chore: Add references to docs to make relative, not direct, references#505

Merged
mariajgrimaldi merged 5 commits into
openedx:mainfrom
sarina:add-refs-oeps
Jun 30, 2025
Merged

chore: Add references to docs to make relative, not direct, references#505
mariajgrimaldi merged 5 commits into
openedx:mainfrom
sarina:add-refs-oeps

Conversation

@sarina

@sarina sarina commented Jun 9, 2025

Copy link
Copy Markdown
Contributor

Usage of :doc: is an antipattern. It is fragile and prone to breaking cross references when docs are moved or renamed.

Adding in .. _reference: syntax to files and headings means cross-references can instead be made with the :ref: directive, which will (presuming the references themselves are not deleted or renamed) be more robust to docs refactorings.

@sarina

sarina commented Jun 20, 2025

Copy link
Copy Markdown
Contributor Author

@openedx/hooks-extension-framework this is ready for review! It's blocking a downstream PR so approval/merge would be appreciated.

@mariajgrimaldi mariajgrimaldi merged commit c0eab5c into openedx:main Jun 30, 2025
13 checks passed
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.

3 participants