-
Notifications
You must be signed in to change notification settings - Fork 1
docs: new Docusaurus workflows #2
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
This stack of pull requests is managed by Graphite. Learn more about stacking. |
VERSION=$(git for-each-ref --sort=-creatordate --format '%(refname:short)' refs/tags | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -1) | ||
echo "Using latest tag: $VERSION" | ||
# Use main branch for latest | ||
git checkout main |
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.
are you sure that this is what you want? shipping top-of-main as "latest" - this is break all the 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.
The way Docusaurus does this canonically is they treat top of main as "v-Next", and point to the latest stable release by default. We can change this behavior if you want!
f200f7e
to
cb5b408
Compare
6037af3
to
daf54ab
Compare
cat > versionsArchived.json << 'EOF' | ||
{ | ||
"v0.2.22": "https://llamastack.github.io/legacy/v0.2.22/", | ||
"v0.2.21": "https://llamastack.github.io/legacy/v0.2.21/", | ||
"v0.2.20": "https://llamastack.github.io/legacy/v0.2.20/", | ||
"v0.2.19": "https://llamastack.github.io/legacy/v0.2.19/", | ||
"v0.2.18": "https://llamastack.github.io/legacy/v0.2.18/", | ||
"v0.2.17": "https://llamastack.github.io/legacy/v0.2.17/", | ||
"v0.2.16": "https://llamastack.github.io/legacy/v0.2.16/", | ||
"v0.2.15": "https://llamastack.github.io/legacy/v0.2.15/", | ||
"v0.2.14": "https://llamastack.github.io/legacy/v0.2.14/", | ||
"v0.2.13": "https://llamastack.github.io/legacy/v0.2.13/", | ||
"v0.2.12": "https://llamastack.github.io/legacy/v0.2.12/", | ||
"v0.2.11": "https://llamastack.github.io/legacy/v0.2.11/" | ||
} | ||
EOF |
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.
do we need this?
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.
No, should be resolved at the top of the stack
Merge activity
|
Uh oh!
There was an error while loading. Please reload this page.