Skip to content

Commit ce0f1a8

Browse files
authored
Merge pull request #257 from lf-lang/versioning
Instructions for versioning
2 parents 884cd20 + 8f56740 commit ce0f1a8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,14 @@ In our [deployment workflow](https://github.com/lf-lang/lf-lang.github.io/blob/m
2424
$ yarn build
2525
```
2626
This generates static content in the `build` directory, which gets served using GitHub's static contents hosting service, GitHub Pages.
27+
28+
### Versioning
29+
Instructions for "freezing" the current docs and filing them under a version number, can be found [here](https://docusaurus.io/docs/versioning). Normally, the steps are:
30+
```
31+
git switch main
32+
git pull
33+
git checkout -b v<major>.<minor>.<patch>
34+
yarn docusaurus docs:version <major>.<minor>.<patch>
35+
git add versioned_docs/*
36+
git commit -a -m 'Docs v<major>.<minor>.<patch>'
37+
```

0 commit comments

Comments
 (0)