Remove first item

This commit is contained in:
Cyrille Rossant 2015-09-02 22:08:07 +02:00
parent 943a1a3d8c
commit 084ac5a2b7
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,6 @@
A curated list of awesome mathematics resources.
* [Awesome Math](#awesome-math)
* [General Resources](#general-resources)
* [Learning Platforms](#learning-platforms)
* [Questions and Answers](#questions-and-answers)

View File

@ -55,6 +55,8 @@ def gen_toc(filename):
with open(filename, 'w') as f:
f.write(md[:i] + _NEWLINES)
for item in _gen_items(md):
if 'Awesome Math' in item:
continue
f.write(item + '\n')
f.write(_NEWLINES + md[j:])