File: apigen.bash

package info (click to toggle)
python-autodocsumm 0.2.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 536 kB
  • sloc: python: 985; makefile: 171; sh: 21
file content (7 lines) | stat: -rwxr-xr-x 320 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/bash
# script to automatically generate the autodocsumm api documentation using
# sphinx-apidoc and sed
sphinx-apidoc -f -M -e  -T -o api ../autodocsumm/
# replace chapter title in autodocsumm.rst
sed -i '' -e 1,1s/.*/'API Reference'/ api/autodocsumm.rst
sed -i '' -e 2,2s/.*/'============='/ api/autodocsumm.rst