Skip to content
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

Merged
merged 7 commits into from
Aug 8, 2024

Conversation

ocaisa
Copy link
Member

@ocaisa ocaisa commented Aug 7, 2024

Fixes #255

@ocaisa
Copy link
Member Author

ocaisa commented Aug 7, 2024

Ok, this is ready for showtime

@ocaisa
Copy link
Member Author

ocaisa commented Aug 7, 2024

mkdocs.yml Show resolved Hide resolved
@@ -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 }}"
Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link
Contributor

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>
@boegel boegel merged commit 61ef7d2 into EESSI:main Aug 8, 2024
3 checks passed
@ocaisa ocaisa deleted the reduce_module_update_impact branch August 8, 2024 07:47
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.

Centralise the date for the software module descriptions
2 participants