Codebase list xapp / debian/2.2.8-1 makedoc
debian/2.2.8-1

Tree @debian/2.2.8-1 (Download .tar.gz)

makedoc @debian/2.2.8-1raw · history · blame

#!/usr/bin/python3

# This script is used to update the docs in docs/reference
# which are served at http://developer.linuxmint.com/xapps/reference/index.html.

import os
import sys

SRC="debian/tmp/usr/share/gtk-doc/html/libxapp/"

if not os.path.exists(SRC):
    print("Build first, with dpkg-buildpackage")
    sys.exit(1)

os.system("rm -rf docs/reference/*")
os.system("cp -R %s/* docs/reference/" % SRC)

print ("Docs updated, you can now commit and push.")