Closed Bug 1780087 Opened 3 months ago Closed 3 months ago

Create a `searchfox` role

Categories

(Developer Infrastructure :: Source Documentation, enhancement)

enhancement

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: ahal, Assigned: ahal)

Details

Attachments

(2 files)

It's pretty common to want to link to source files in searchfox. A searchfox role that can be used like:

See :searchfox:`this directory <tools/lint>` for available linters

would be pretty nifty. I got a bit nerd sniped by this problem and have already implemented the role.

See the docstring in this patch for usage examples.

This is more to demonstrate the use of the role than anything else.

Depends on D152124

Attachment #9285955 - Attachment description: Bug 1780087 - [firefox-source-docs] Implement a 'searchfox' role, r?#firefox-source-docs-reviewers → Bug 1780087 - [docs] Implement a 'searchfox' role, r?#firefox-source-docs-reviewers
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/81bca5e6eaf6
[docs] Implement a 'searchfox' role, r=firefox-source-docs-reviewers,sylvestre
https://hg.mozilla.org/integration/autoland/rev/aa2081144647
Convert some searchfox links under 'docs/code-quality' to the new role, r=linter-reviewers,sylvestre
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.