Closed dscho closed 10 years ago
this may be duplicative, or relevant to work that @knowtheory is working on. Going to leave this open for now.
Fair enough. If you do not want my script (which works), maybe you merge at least https://github.com/sinker/tacofancy/pull/83 because it does fix the INDEX.md
file.
Yep, #83 has been merged. Thanks so much for the fixes. I want @knowtheory to weigh in on this script before we move forward with it. There are about three different "let's automate the index" initiatives moving right now, so a few different solutions to consider. Thanks so much for tackling though!
Yep @dscho's script does what it says on the tin. Reads the existing index, gets the section order from that, finds all markdown files in the repo & adds/removes lines from the index. Reading the existing index to get the sort order is handy/clever.
OK, we're gonna go with #68. Sounds like @knowtheory is going to fork your concept of using the existing index to derive the section order, but generally his Coffeescript/Cake approach is a little more flexible. Join the discussion on #68. THANK YOU!!!
My main contribution, really, is the file
update-index.perl
which updatesINDEX.md
according to what is currently committed.