tangled
alpha
login
or
join now
slices.network
/
quickslice
55
fork
atom
Auto-indexing service and GraphQL API for AT Protocol Records
quickslice.slices.network/
atproto
gleam
graphql
55
fork
atom
overview
issues
7
pulls
2
pipelines
docs: update version on build
chadtmiller.com
3 months ago
aca63428
6193857e
+4
-2
2 changed files
expand all
collapse all
unified
split
Makefile
www
src
www
layout.gleam
+3
-1
Makefile
···
38
39
# Generate documentation
40
docs-build:
0
0
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")], [