Spelling mistake: "DOM notes" -> "DOM nodes"
Categories
(DevTools :: Documentation, task, P3)
Tracking
(firefox101 fixed)
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".
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Thanks for filing!
Are you interested in taking this bug? Happy to mentor.
Comment 3•3 years ago
|
||
Assigned to you, thank you for helping.
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?
Comment 5•3 years ago
|
||
(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
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.
Comment 7•3 years ago
|
||
(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.
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
bugherder |
Description
•