Moving Azure, AppVeyor, and CircleCI minimal examples in docs also to their own file under examples/

This commit is contained in:
Yannick Jadoul
2019-12-10 14:57:25 +01:00
parent 472fa32d9f
commit eda3dc1a4f
7 changed files with 97 additions and 87 deletions
@@ -42,7 +42,11 @@ class ImportMarkdownPlugin(mkdocs.plugins.BasePlugin):
with io.open(file_path_abs, encoding='utf8') as f:
text_to_include = f.read()
# Allow good practice of having a final newline in the file
if text_to_include.endswith('\n'):
text_to_include = text_to_include[:-1]
return text_to_include