Skip to content

Commit

Permalink
Fix bug and warnings with building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
goodmami committed Dec 12, 2019
1 parent f62d2ca commit f903235
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# The short X.Y version
version = f'{ver[0]}.{ver[1]}'
# The full version, including alpha/beta/rc tags
release = '.'.join(ver)
release = '.'.join(map(str, ver))


# -- General configuration ---------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions penman/lexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def peek(self) -> Token:
"""
Return the next token but do not advance the iterator.
If the iterator is exhausted then a :exc:`DecodeError` is
raised.
If the iterator is exhausted then a
:exc:`~penman.exceptions.DecodeError` is raised.
"""
if self._next is None:
raise self.error('Unexpected end of input')
Expand Down Expand Up @@ -140,7 +140,7 @@ def expect(self, *choices):
The iterator is advanced if successful.
Raises:
:exc:`DecodeError`: if the
:exc:`~penman.exceptions.DecodeError`: if the
next token type is not in *choices*
"""
try:
Expand Down

0 comments on commit f903235

Please sign in to comment.