[perfdocs] Add the ability to include static content
Categories
(Testing :: Performance, task, P1)
Tracking
(firefox80 fixed)
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: alexandrui, Assigned: myeongjun.ko)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Bug 1632111 needs to add some static content to the content generated by perfdocs. This bug adds the ability to specify the static content from tree to be added alongside with the fetched one.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Hi :myeongjun :)
As we discussed in our meeting on Monday, I think this would be a good next bug for you.
What we'll want to start with is discovering any extra .rst
files in the perfdocs folder and gathering them into the matched
dict under the field static
(or some other name): https://searchfox.org/mozilla-central/source/tools/lint/perfdocs/gatherer.py#73-85
To test this, you can add a random .rst file in the raptor perfdocs folder (you can link it to the index.rst file in a similar way to how we make the main page, i.e. use the :doc:
label).
Next step will be to get those static
listed files into the generated folder. You'll have to start by modifying this code to get frameworks_info
to hold both the generated page, as well as the static pages: https://searchfox.org/mozilla-central/source/tools/lint/perfdocs/generator.py#79-114
Finally, you'll have to save those files to the generated folder here: https://searchfox.org/mozilla-central/source/tools/lint/perfdocs/generator.py#150-161
This is a bigger issue than your last few bugs so just take it one step at a time and you'll solve it in no time :)
Let me know if you hit any issues or have any questions about it!
Assignee | ||
Comment 2•4 years ago
|
||
Thanks guiding :)
I'll go over it and ask you again if I have any questions. Maybe, I gonna ask you for checking :)
Assignee | ||
Comment 3•4 years ago
|
||
Hello sparky :)
I want to check what I understand.
After this issue is solved, If I (or someone) make .rst(e.g, random.rst) file and add label(e.g, :doc:random
), User could watch docs(e.g, random and raptor that exists now) on web page?
If I understand it correctly, I gonna start working on it.
Thanks.
Comment 4•4 years ago
|
||
Hi Jun, yes exactly! :)
Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder |
Description
•