Add badges to README.
@@ -65,6 +65,11 @@ def make_aboutpage():
readme = _read_file(os.path.join(GIT_ROOT_LEVEL, 'README.md'))
readme_html = ghmarkdown(readme)
readme_html = readme_html.replace("docs/source/\\", "/docs/")
+ # filter out the circleci badge from the about page
+ readme_html = "\n".join([
+ l for l in readme_html.split("\n")
+ if not l.startswith("[![CircleCI]")
+ ])
content = template.replace('{{{CONTENT}}}', readme_html)
html = wrap_base(content, "About | ParlAI")
_write_file('about/index.html', html)
