Skip to content

Commit

Permalink
More documentation fixes for ReadTheDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Mar 25, 2018
1 parent 5912faa commit b481f87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/black.py
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


def get_version():
black_py = CURRENT_DIR / '..' / 'black.py'
black_py = CURRENT_DIR / 'black.py'
_version_re = re.compile(r'__version__\s+=\s+(?P<version>.*)')
with open(black_py, 'r', encoding='utf8') as f:
version = _version_re.search(f.read()).group('version')
Expand Down

0 comments on commit b481f87

Please sign in to comment.