Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtulio/lab-ghpages
lab only - dont't use me ;)
https://github.com/mtulio/lab-ghpages
Last synced: 8 days ago
JSON representation
lab only - dont't use me ;)
- Host: GitHub
- URL: https://github.com/mtulio/lab-ghpages
- Owner: mtulio
- Created: 2022-10-28T18:05:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-26T19:04:09.000Z (about 1 year ago)
- Last Synced: 2024-05-10T00:02:19.801Z (6 months ago)
- Language: Shell
- Homepage: https://mtulio.github.io/lab-ghpages
- Size: 1.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lab-ghpages
Github Pages lab repo.
NOTE: do not use me. =]
feature1
## Docs versioning
- install mike
- create v0.1.x
```bash
mike deploy --push v0.1.x
mike set-default v0.1.x
```- create v0.2.x
```bash
echo 'version v0.2.x' > docs/index.md &&\
git add docs/index.md &&\
git commit -m 'version v0.2.x' docs/index.md
mike deploy --push v0.2.x latest
mike set-default v0.2.x
```- create v0.3.x
```bash
VERSION=v0.3.x
echo "version $VERSION" > docs/index.md &&\
git add docs/index.md &&\
git commit -m "version $VERSION" docs/index.md
mike deploy --push $VERSION preview
```- create v0.4.x
```bash
VERSION=v0.4.x
echo "version $VERSION" > docs/index.md &&\
git add docs/index.md &&\
git commit -m "version $VERSION" docs/index.md
#mike deploy --push $VERSION preview
```- create v0.5.x
```bash
VERSION=v0.5.x
echo "version $VERSION" > docs/index.md &&\
git add docs/index.md &&\
git commit -m "version $VERSION" docs/index.md
mike deploy --push $VERSION preview
```- create warning
- testing
```bash
mike serve -a 0.0.0.0:8181
```