Skip to content

[doc] Update links to latest IP regression results using a semi-automatic script#29425

Open
etterli wants to merge 2 commits intolowRISC:masterfrom
etterli:doc-regression-link
Open

[doc] Update links to latest IP regression results using a semi-automatic script#29425
etterli wants to merge 2 commits intolowRISC:masterfrom
etterli:doc-regression-link

Conversation

@etterli
Copy link
Contributor

@etterli etterli commented Mar 9, 2026

This adds a script which can be run manually to update all links to regression results for almost all IP blocks.

Currently, the IP block documentation point to a relatively old regression run. This PR adds a script which let's update these links semi-automatically. One must run the script and then can commit the documentation update.

It touches all IPs under hw/ip/ which have regression results from the earlgrey weekly regression. It also includes some IPs from hw/ip_templates. But not all work (yet, this is a timeboxed task).

This is a temporary fix and should be reworked once we have a 'latest' link.

Here are two examples how this will look like (compare it with the current AES and entropy source):

image image

The regression links point to https://nightly.reports.lowrisc.org/opentitan_weekly_earlgrey/2026_03_08/index.html. It is currently not possible to point directly to the IP report because the CSS is only loaded if the viewer first visits the index.html page (CSS is used to style the html). The badges however use the data directly from the report.

The reference to the Earl Grey tapeout points to the IP documentation on the Earl Grey website https://opentitan.org/earlgrey_1.0.0/book/hw/ip/entropy_src/index.html

@etterli etterli requested a review from vogelpi as a code owner March 9, 2026 15:40
This adds the script mdbook_regression_links.py which does update the links to the regressions of
the IP blocks. As there is currently no 'latest' link, we hardcode it to the latest weekly
regression results of Earl Grey.

This linking should be cleaned up once we have a 'latest' link.

Signed-off-by: Pascal Etterli <pascal.etterli@lowrisc.org>
@etterli etterli force-pushed the doc-regression-link branch from 17ea1c5 to 9c43afa Compare March 9, 2026 15:45
Copy link
Member

@nasahlpa nasahlpa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR, Pascal! Good to have a pointer to the latest regression run in the documentation.

CI is currently failing as you also need to check-in the auto-generated files for Darjeeling and Englishbreakfast.

This updates the regression links to the results from the 08-Mar-2026 Earl Grey regression.

Signed-off-by: Pascal Etterli <pascal.etterli@lowrisc.org>
@etterli etterli force-pushed the doc-regression-link branch from 9c43afa to 7a8a827 Compare March 9, 2026 17:14
@etterli
Copy link
Contributor Author

etterli commented Mar 9, 2026

Thanks for this PR, Pascal! Good to have a pointer to the latest regression run in the documentation.

CI is currently failing as you also need to check-in the auto-generated files for Darjeeling and Englishbreakfast.

Yep, I've seen this. It is now updated.

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.

2 participants