Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
7638 views
1
#!/bin/bash
2
3
rm -rf docs/browse
4
5
FILES=$(find include source platform -name '*.[ch]')
6
7
echo running ctags to make xref
8
ctags -x $FILES > tags-xref
9
10
for input in $FILES
11
do
12
output=docs/browse/$input.html
13
mkdir -p $(dirname $output)
14
echo $input $output
15
python scripts/tohtml.py < $input > $output
16
done
17
18
rm tags-xref
19
20