From ef200f47a561d5d0b37e180b0c65cfeaa700c82f Mon Sep 17 00:00:00 2001 From: belerico Date: Sat, 18 Apr 2020 16:55:26 +0200 Subject: [PATCH 1/2] [ci skip] --- docs/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index dd18c05..d3786d7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -78,7 +78,8 @@ def setup(app): - with open("../README.md", "r+") as f: + print(os.getcwd()) + with open("./README.md", "r+") as f: readme = f.read() readme = re.sub(r"docs/source/", "", readme) f.seek(0) From 740def39fefacbb2e14f859d1c99ffb131753b1d Mon Sep 17 00:00:00 2001 From: belerico Date: Sat, 18 Apr 2020 16:56:57 +0200 Subject: [PATCH 2/2] [ci skip] --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index d3786d7..5f55db4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -79,7 +79,7 @@ def setup(app): print(os.getcwd()) - with open("./README.md", "r+") as f: + with open("../../README.md", "r+") as f: readme = f.read() readme = re.sub(r"docs/source/", "", readme) f.seek(0)