Closed Bug 1762483 Opened 2 years ago Closed 2 years ago

Spelling mistake: "DOM notes" -> "DOM nodes"

Categories

(DevTools :: Documentation, task, P3)

task

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: akaabdullahmateen, Assigned: av)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

Just open the page: https://firefox-source-docs.mozilla.org/devtools-user/debugger/how_to/highlight_and_inspect_dom_nodes/index.html

Actual results:

In the second paragraph which reads: "When you are working with DOM notes in the debugger, ...", the word "notes" is incorrect.

Expected results:

In the second paragraph which reads: "When you are working with DOM notes in the debugger, ...", the word "notes" should be replaced with "nodes".

Component: General → Documentation
Product: Firefox Build System → DevTools

Thanks for filing!

Are you interested in taking this bug? Happy to mentor.

Status: UNCONFIRMED → NEW
Type: defect → task
Ever confirmed: true
Flags: needinfo?(akaabdullahmateen)
Keywords: good-first-bug
Priority: -- → P3

Hi.

I would be happy to work on this bug if it is open.

Assigned to you, thank you for helping.

Assignee: nobody → av
Status: NEW → ASSIGNED

I can't seem to locate the index.html file. I am looking at the directory "\mozilla-unified\devtools\docs\user\debugger\how_to\highlight_and_inspect_dom_nodes"

Is that the right place?

(In reply to av from comment #4)

I can't seem to locate the index.html file. I am looking at the directory "\mozilla-unified\devtools\docs\user\debugger\how_to\highlight_and_inspect_dom_nodes"

Is that the right place?

You can use searchfox to find code. If you look for "When you are working with DOM notes in the debugger" you will find https://searchfox.org/mozilla-central/source/devtools/docs/user/debugger/how_to/highlight_and_inspect_dom_nodes/index.rst#7

Meaning the file is at devtools/docs/user/debugger/how_to/highlight_and_inspect_dom_nodes/index.rst

index.html is a generated file, created from index.rst

Flags: needinfo?(akaabdullahmateen)

From my understanding, are we required to use python to generate the html file? Is there a tool in Visual Studio that would be able to accomplish this?

I'm assuming that after converting the .rst to .html, I can then edit the html file. After this, I would need to convert the html back to .rst before pushing changes.

(In reply to av from comment #6)

From my understanding, are we required to use python to generate the html file? Is there a tool in Visual Studio that would be able to accomplish this?

I'm assuming that after converting the .rst to .html, I can then edit the html file. After this, I would need to convert the html back to .rst before pushing changes.

No, you don't need to edit the .html file, this file is not under our source control.

The .html file is generated dynamically from the .rst file when we publish our docs. You have to replace "notes" with "nodes" at line 7 in devtools/docs/user/debugger/how_to/highlight_and_inspect_dom_nodes/index.rst, commit your changes and push the patch to phabricator.

If you want to generate the documentation locally, you can use ./mach docs, and yes it will use python behind the scenes (but again don't edit the html files it will generate, those are ignored by the source control).

See https://firefox-source-docs.mozilla.org/setup/index.html if you need help to setup your environment.

Makes sense. Thank you. Patch will be up soon.

Depends on D143549

Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba7c9f270e19
Spelling mistake: 'DOM notes' -> 'DOM nodes' r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: