Skip to content

Conversation

@paoloredis
Copy link
Collaborator

@paoloredis paoloredis commented Apr 4, 2025

This script can be used to archive releases. It takes care of the following steps:

  • Creating a versioned folder
  • Injecting url frontmatter property
  • Versioning all relrefs inside the versioned folder
  • Injecting bannerText and bannerChildren property in the top level _index.md file

Example usage:

$ python3 build/version_archiver.py rs 7.8
$ python3 build/version_archiver.py kubernetes 7.8.4

Copy link
Contributor

@andy-stark-redis andy-stark-redis left a comment

Choose a reason for hiding this comment

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

Looks really good :-) I don't know if the comment about RDI is worth worrying about just now, so I'll approve.

@paoloredis paoloredis changed the title Add release_archiver.py Add version_archiver.py Apr 4, 2025
Copy link
Contributor

@kaitlynmichael kaitlynmichael left a comment

Choose a reason for hiding this comment

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

I'm not really qualified, but it looks good to me!

Copy link
Collaborator

@rrelledge rrelledge left a comment

Choose a reason for hiding this comment

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

Thank you! I tried out the script, and it seems to work really well.

@paoloredis paoloredis merged commit 9989a45 into main Apr 11, 2025
4 checks passed
@paoloredis paoloredis deleted the DOC-5059 branch April 11, 2025 07:25
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.

5 participants