Merge pull request #1485 from jwilk-forks/python3.6

docs/conf.py: make regexp string raw
This commit is contained in:
Ryan Gonzalez 2018-01-08 16:34:15 -06:00 committed by GitHub
commit b0da831fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ extensions = ['sphinx.ext.intersphinx']
from get_version import __version__ as hy_version from get_version import __version__ as hy_version
# Read the Docs might dirty its checkout, so strip the dirty flag. # Read the Docs might dirty its checkout, so strip the dirty flag.
hy_version = re.sub('[+.]dirty\Z', '', hy_version) hy_version = re.sub(r'[+.]dirty\Z', '', hy_version)
templates_path = ['_templates'] templates_path = ['_templates']
source_suffix = '.rst' source_suffix = '.rst'