-
Couldn't load subscription status.
- Fork 20
feat: add version list to rocm-ds flavor & improve header version & fix header banner display error #1442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
PR for changing latest_versions.txt: #1191 |
|
Code looks good, I did not test locally. |
|
The unit tests are failing do we know, why? |
This PR requires #1191 to be merged together. Without #1191, the build won't pass. |
Motivation
More components are added other than main ROCm components. They need a place to define latest version so that "latest" version on RTD can extract the latest version for the header and header banner can be triggered properly.
Technical Details
Modifies the latest_versions.txt format to include the latest version for each flavor. Note, key name has to match flavor name.
Each jinja header now receives a dictionary of latest version {site_name: latest_version} and can extract its own version accordingly. This PR also modifies project.py to properly utilize the latest version to update
app.config.projects_version_type. This variable is a criteria for header banner display, this will fix the header banner display error for non-rocm component.Test Plan
Build non-rocm docs locally to see if header banner displays properly and if header version is correct for latest.
Test Result
Submission Checklist