Skip to content

Commit

Permalink
Use relative path for docroot
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Jun 6, 2018
1 parent 2b53047 commit 537fb3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readthedocs/doc_builder/backends/mkdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def append_conf(self, **__):
# Handle custom docs dirs
user_docs_dir = user_config.get('docs_dir')
docs_dir = self.docs_dir(docs_dir=user_docs_dir)
docs_dir = os.path.relpath(docs_dir, self.root_path)
self.create_index(extension='md')
user_config['docs_dir'] = docs_dir

Expand Down

0 comments on commit 537fb3f

Please sign in to comment.