Skip to content

Commit

Permalink
update site to shotover v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Sep 12, 2024
1 parent 7f36804 commit d98afe0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ set -u

rm -rf docs/docs/examples
rm -rf docs/docs/user-guide
git clone https://github.com/shotover/shotover-proxy.git --depth 1
git clone --depth 1 --branch v0.4.1 https://github.com/shotover/shotover-proxy.git
rm -rf docs/docs/latest
mv shotover-proxy/docs/src docs/docs/latest
rm -rf shotover-proxy
cd docs/docs/latest
find . -type f -name "*.md" -exec sed -i 's/```YAML/```yaml/g' {} +
find . -type f -name "*.md" -exec sed -i 's/```plain/```/g' {} +
find . -type f -name "*.md" -exec sed -i 's/```console/```make/g' {} +
rm logo.png logo.svg index.md SUMMARY.md
cd ../../../
Expand All @@ -20,4 +21,4 @@ cd docs/.vitepress/
mkdir shotover-blog
mv dist/* shotover-blog
mv shotover-blog dist/
mv dist/shotover-blog/index.html dist/
mv dist/shotover-blog/index.html dist/
4 changes: 2 additions & 2 deletions docs/docs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default [
},
{
items: [
{ text: 'Source Types', link: '/docs/latest/source-types' }
{ text: 'Source Types', link: '/docs/latest/sources.md' }
]
},
{
Expand Down Expand Up @@ -39,7 +39,7 @@ export default [
},
{
items: [
{ text: 'Contributing', link: '/docs/latest/contributing' }
{ text: 'Contributing', link: '/docs/latest/dev-docs/contributing' }
]
}
]

0 comments on commit d98afe0

Please sign in to comment.