Skip to content

Commit 537fb3f

Browse files
committed
Use relative path for docroot
1 parent 2b53047 commit 537fb3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readthedocs/doc_builder/backends/mkdocs.py

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def append_conf(self, **__):
8181
# Handle custom docs dirs
8282
user_docs_dir = user_config.get('docs_dir')
8383
docs_dir = self.docs_dir(docs_dir=user_docs_dir)
84+
docs_dir = os.path.relpath(docs_dir, self.root_path)
8485
self.create_index(extension='md')
8586
user_config['docs_dir'] = docs_dir
8687

0 commit comments

Comments
 (0)