From 084ac5a2b7059bbe7dae3bb0f140aef1df83ca78 Mon Sep 17 00:00:00 2001 From: Cyrille Rossant Date: Wed, 2 Sep 2015 22:08:07 +0200 Subject: [PATCH] Remove first item --- README.md | 1 - build_toc.py | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd81298..fccff75 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/build_toc.py b/build_toc.py index 700d91c..4aa4ad9 100644 --- a/build_toc.py +++ b/build_toc.py @@ -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:])