Skip to content

Commit b94cb3b

Browse files
committed
claude15
1 parent 700d5c5 commit b94cb3b

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

run

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,28 @@ bump2version() {
2626
uv run bump2version "$@"
2727
}
2828

29+
usage+=(" $0 docs-build - build documentation")
30+
docs-build() {
31+
cd docs
32+
uv run sphinx-build -b html source build/html
33+
cd ..
34+
}
35+
36+
usage+=(" $0 docs-serve - build and serve documentation locally")
37+
docs-serve() {
38+
docs-build
39+
echo "Documentation built. Starting local server..."
40+
echo "Open http://localhost:8000 in your browser"
41+
cd docs/build/html
42+
python -m http.server 8000
43+
}
44+
45+
usage+=(" $0 docs-clean - clean documentation build artifacts")
46+
docs-clean() {
47+
rm -rf docs/build/
48+
echo "Documentation build artifacts cleaned"
49+
}
50+
2951
cmd=$1
3052
shift
3153

0 commit comments

Comments
 (0)