summaryrefslogtreecommitdiff
path: root/_doc
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-07-18 08:40:32 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-07-18 08:40:32 +0200
commitd4bd035211518be52074a49e437b0a50886d3888 (patch)
tree13632ed68b43503bb7893bd794dc8caf995c7d73 /_doc
parente3134aebcc35fdb64c227578418f1dfc3583387b (diff)
downloadruamel.yaml-d4bd035211518be52074a49e437b0a50886d3888.tar.gz
testing conf.py
Diffstat (limited to '_doc')
-rw-r--r--_doc/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/_doc/conf.py b/_doc/conf.py
index 1945643..af9e11d 100644
--- a/_doc/conf.py
+++ b/_doc/conf.py
@@ -56,7 +56,7 @@ author = u'Anthon van der Neut'
try:
from ruamel.yaml import __version__, version_info
# The short X.Y version.
- version = '.'.join(version_info[:2])
+ version = '.'.join([str(l) for l in version_info[:2]])
# The full version, including alpha/beta/rc tags.
version = release = __version__
except Exception as e:
@@ -69,7 +69,7 @@ try:
from ryd.__main__ import RYDCmd
from ruamel.std.pathlib import Path
oldargv = sys.argv
- for fn in Path('_doc').glob('*.ryd'):
+ for fn in Path('.').glob('*.ryd'):
sys.argv = ['ryd', 'convert', fn]
rc = RYDCmd()
rc.parse_args()