-
Notifications
You must be signed in to change notification settings - Fork 35
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
Use a time template in module documentation generation #256
Conversation
Ok, this is ready for showtime |
Example of the change that results at https://github.com/EESSI/docs/actions/runs/10287388444/job/28470290282#step:5:3933 |
@@ -34,7 +34,10 @@ jobs: | |||
cp docs/available_software/data/json_data.json docs/available_software/data/json_data.json.orig | |||
cp docs/available_software/data/json_data_detail.json docs/available_software/data/json_data_detail.json.orig | |||
|
|||
export TIME_GENERATED_TEMPLATE="{{ generated_time }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the side-step here via this environment variable, why not just "hardcode" {{ generated_time }}
in the generated pages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So that others sites can use the script without being forced to take the same approach.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, doesn't hurt I guess.
Co-authored-by: Kenneth Hoste <kenneth.hoste@ugent.be>
Fixes #255