Skip to content

Commit

Permalink
🩹 Fix versions in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
boisgera committed Jul 27, 2024
1 parent 0f09a52 commit 0a20116
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions mkdocs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ from pandoc.types import *
>>> config # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
{'auto': True,
'path': ...,
'version': '3.1.1',
'pandoc_types_version': '1.23'}
'version': '3.2',
'pandoc_types_version': '1.23.1'}
```
To avoid this, call `pandoc.configure(...)` yourself beforehand.
Alternatively, select manually your pandoc executable afterwards:
Expand Down
4 changes: 2 additions & 2 deletions mkdocs/api.md.template
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ from pandoc.types import *
>>> config # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
{'auto': True,
'path': ...,
'version': '3.1.1',
'pandoc_types_version': '1.23'}
'version': '3.2',
'pandoc_types_version': '1.23.1'}
```
To avoid this, call `pandoc.configure(...)` yourself beforehand.
Alternatively, select manually your pandoc executable afterwards:
Expand Down
6 changes: 3 additions & 3 deletions mkdocs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ do not require the `pandoc` executable, but in this case
we still need to know what version of pandoc you target,
so specify for example:

pandoc.configure(version=' 2.18')
pandoc.configure(version='2.18')

[^features]: typically conversion between json and Python object representations
of documents and analysis or transformations of documents as Python objects.
Expand Down Expand Up @@ -82,8 +82,8 @@ but returns a dictionary whose keys are `auto`, `path`,
>>> pandoc.configure(read=True) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
{'auto': True,
'path': ...,
'version': '3.1.1',
'pandoc_types_version': '1.23'}
'version': '3.2',
'pandoc_types_version': '1.23.1'}
```

The `read` option may be combined with other arguments, for example
Expand Down

0 comments on commit 0a20116

Please sign in to comment.