diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index 3814af86..84f47c9e 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -14,9 +14,10 @@ You can determine your currently installed version using `mkdocs --version`: mkdocs, version 0.15.2 -## Version 0.15.3 (2016-02-??) +## Version 0.15.3 (2016-02-18) * Improve the error message the given theme can't be found. +* Fix an issue with relative symlinks (#639) ## Version 0.15.2 (2016-02-08) diff --git a/mkdocs/__init__.py b/mkdocs/__init__.py index fe6daf85..170bf768 100644 --- a/mkdocs/__init__.py +++ b/mkdocs/__init__.py @@ -9,4 +9,4 @@ if sys.version_info < (2, 7): sys.stderr.write(("WARNING: Support for Python 2.6 will be dropped in the " "1.0.0 release of MkDocs\n\n")) -__version__ = '0.15.2' +__version__ = '0.15.3' diff --git a/mkdocs/config/config_options.py b/mkdocs/config/config_options.py index c80968df..8eb09b98 100644 --- a/mkdocs/config/config_options.py +++ b/mkdocs/config/config_options.py @@ -352,7 +352,8 @@ class Extras(OptionallyRequired): # Some editors (namely Emacs) will create temporary symlinks # for internal magic. We can just ignore these files. if os.path.islink(fullpath): - if not os.path.exists(os.readlink(fullpath)): + fp = os.path.join(dirpath, os.readlink(fullpath)) + if not os.path.exists(fp): continue relpath = os.path.normpath(os.path.relpath(fullpath, docs_dir))