Skip to content

Commit fbafd02

Browse files
committed
Use relative path for docroot
1 parent 2d9ca7d commit fbafd02

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
@@ -96,6 +96,7 @@ def append_conf(self, **__):
9696
# Handle custom docs dirs
9797
user_docs_dir = user_config.get('docs_dir')
9898
docs_dir = self.docs_dir(docs_dir=user_docs_dir)
99+
docs_dir = os.path.relpath(docs_dir, self.root_path)
99100
self.create_index(extension='md')
100101
user_config['docs_dir'] = docs_dir
101102

0 commit comments

Comments
 (0)