From 0a20116991036787804d731a5c719cdc3aa008a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Boisg=C3=A9rault?= Date: Sat, 27 Jul 2024 12:53:59 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20versions=20in=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mkdocs/api.md | 4 ++-- mkdocs/api.md.template | 4 ++-- mkdocs/configuration.md | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mkdocs/api.md b/mkdocs/api.md index 6e387d1..fca8b55 100644 --- a/mkdocs/api.md +++ b/mkdocs/api.md @@ -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: diff --git a/mkdocs/api.md.template b/mkdocs/api.md.template index 7966906..2aa5010 100644 --- a/mkdocs/api.md.template +++ b/mkdocs/api.md.template @@ -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: diff --git a/mkdocs/configuration.md b/mkdocs/configuration.md index 173d9dd..a8e2dd7 100644 --- a/mkdocs/configuration.md +++ b/mkdocs/configuration.md @@ -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. @@ -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