Auto-indexing service and GraphQL API for AT Protocol Records quickslice.slices.network/
atproto gleam graphql

docs: update version on build

+4 -2
+3 -1
Makefile
··· 38 39 # Generate documentation 40 docs-build: 41 @cd www && gleam run 42 43 docs-dev: 44 @cd www && npx serve priv 45 46 # Deploy www to Bunny CDN 47 - deploy-www: docs 48 @scripts/deploy-cdn.sh
··· 38 39 # Generate documentation 40 docs-build: 41 + @VERSION=$$(git describe --tags --abbrev=0) && \ 42 + sed -i '' "s/const version = \"v[0-9.]*\"/const version = \"$$VERSION\"/" www/src/www/layout.gleam 43 @cd www && gleam run 44 45 docs-dev: 46 @cd www && npx serve priv 47 48 # Deploy www to Bunny CDN 49 + deploy-www: docs-build 50 @scripts/deploy-cdn.sh
+1 -1
www/src/www/layout.gleam
··· 213 ]) 214 } 215 216 - const version = "v0.17.1" 217 218 fn sidebar(current_path: String, pages: List(DocPage)) -> Element(Nil) { 219 html.aside([attribute.class("sidebar")], [
··· 213 ]) 214 } 215 216 + const version = "v0.17.3" 217 218 fn sidebar(current_path: String, pages: List(DocPage)) -> Element(Nil) { 219 html.aside([attribute.class("sidebar")], [