File: build.sh

package info (click to toggle)
python-asciimatics 1.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,488 kB
  • sloc: python: 15,713; sh: 8; makefile: 2
file content (8 lines) | stat: -rwxr-xr-x 695 bytes parent folder | download
1
2
3
4
5
6
7
8
PYTHONPATH=.. sphinx-apidoc ../asciimatics -o ./source -f
cat source/asciimatics.rst | awk -- '/:undoc-members:/ {next} { print $0 } /:members:/ { print "   :inherited-members:"}' > source/tmp.rst
mv -f source/tmp.rst source/asciimatics.rst
cat source/asciimatics.widgets.rst | awk -- '/:undoc-members:/ {next} { print $0 } /:members:/ { print "   :inherited-members:"}' > source/tmp.rst
mv -f source/tmp.rst source/asciimatics.widgets.rst
cat source/asciimatics.renderers.rst | awk -- '/:undoc-members:/ {next} { print $0 } /:members:/ { print "   :inherited-members:"}' > source/tmp.rst
mv -f source/tmp.rst source/asciimatics.renderers.rst
PYTHONPATH=.. sphinx-build -b html ./source ./build