tangled
alpha
login
or
join now
slices.network
/
quickslice
60
fork
atom
Auto-indexing service and GraphQL API for AT Protocol Records
quickslice.slices.network/
atproto
gleam
graphql
60
fork
atom
overview
issues
7
pulls
2
pipelines
docs: update version on build
chadtmiller.com
2 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
38
39
39
# Generate documentation
40
40
docs-build:
41
41
+
@VERSION=$$(git describe --tags --abbrev=0) && \
42
42
+
sed -i '' "s/const version = \"v[0-9.]*\"/const version = \"$$VERSION\"/" www/src/www/layout.gleam
41
43
@cd www && gleam run
42
44
43
45
docs-dev:
44
46
@cd www && npx serve priv
45
47
46
48
# Deploy www to Bunny CDN
47
47
-
deploy-www: docs
49
49
+
deploy-www: docs-build
48
50
@scripts/deploy-cdn.sh
+1
-1
www/src/www/layout.gleam
···
213
213
])
214
214
}
215
215
216
216
-
const version = "v0.17.1"
216
216
+
const version = "v0.17.3"
217
217
218
218
fn sidebar(current_path: String, pages: List(DocPage)) -> Element(Nil) {
219
219
html.aside([attribute.class("sidebar")], [