first re-commit.
This commit is contained in:
21
pigpio-master/DOC/bin/build_site.py
Normal file
21
pigpio-master/DOC/bin/build_site.py
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import sqlite3
|
||||
|
||||
db=sqlite3.connect("dbase/pigpio.sqlite")
|
||||
|
||||
c=db.cursor()
|
||||
|
||||
c.execute("select file_name from pigpio")
|
||||
|
||||
names = c.fetchall()
|
||||
|
||||
for n in names:
|
||||
os.system("bin/html.py {0} >HTML/{0}.html".format(n[0]))
|
||||
print(n[0])
|
||||
|
||||
c.close()
|
||||
|
||||
db.close()
|
||||
|
Reference in New Issue
Block a user