File: regen-docs

package info (click to toggle)
python-formencode 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,828 kB
  • sloc: python: 6,964; makefile: 121; sh: 89; javascript: 61
file content (9 lines) | stat: -rwxr-xr-x 247 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#!/bin/sh

mkdir -p docs/_static docs/_build
sphinx-build -E -b html docs/ docs/_build || exit 1
if [ "$1" = "publish" ] ; then
  cd docs/
  echo "Uploading files..."
  scp -r _build/* ianbicking@web.sf.net:/home/groups/f/fo/formencode/htdocs/
fi