File: local_build.sh

package info (click to toggle)
python-trame 3.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 101,620 kB
  • sloc: python: 13,515; sh: 183; javascript: 93; makefile: 7
file content (15 lines) | stat: -rwxr-xr-x 269 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

set -e

# Clean up the current documentation
rm -rf dist
mkdir dist

# Build and open
sphinx-build source dist
# rm -rf _build/doctrees
# python -m sphinx -T -b html -d _build/doctrees -D language=en source dist

cd dist
python -m http.server 8000