TODO
1 -STUFF I WANT TO CHANGE ABOUT STAGIT- 2 (might rename it to "statigit" also.) 3 4 [ ] Separate out stagit.c into clean, standalone modules. 5 - but how to handle includes/headers... 6 7 [x] Redesign options / I/O 8 9 [x] create config.h file 10 [x] reused document chunks (header, footer, logo, etc) 11 [ ] nested (whether to show all files on files.html) 12 [x] backlinks (whether to show .. in directories) 13 [x] commit depth limit 14 15 ---NEW FEATURES--- 16 [x] include binary files in static site + link to them 17 [x] add support for projects with folders in them 18 [x] backlink on subdirectory pages 19 [x] add lines of code totals on files page 20 [x] add lines of code on each file's page 21 [x] show line/byte totals for each directory 22 [x] tweak paths that start with dots, so that they don't get hidden or 403'd 23 - put parentheses around the dirnames in the urls 24 [x] while writing log, only print links to files whose pages exist 25 [x] add backlinks on files 26 [ ] handle trailing/leading slashes in -o and -b 27 ---END NEW FEATURES--- 28 29 [x] Incorporate index page into main.c 30 [x] Correctly link to repo pages from index page, based on configuration/baseurl 31 [ ] Separate repo page generation out of main.c 32 [ ] Remove globals / replace them with passed structs 33 [ ] Update man page 34 35 [ ] Redo caching, to minimally repeat work 36 - but it needs to also not increase the complexity. 37 - it's ok to duplicate storage 38 - perhaps: save every reusable intermediate into a file. 39 then, check for changes and reuse if valid.