We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 305dfea commit b7bd16bCopy full SHA for b7bd16b
src/antsibull_docutils/markdown.py
@@ -729,11 +729,8 @@ def render_as_markdown(
729
# pylint: disable=duplicate-code
730
parts = publish_parts(
731
source=source,
732
- # The type information for the following two parameters seems to be wrong.
733
- # According to the docutils sources the expected type is StrPath | None, which
734
- # is defined as str | os.PathLike[str] | None.
735
- source_path=source_path, # type: ignore
736
- destination_path=destination_path, # type: ignore
+ source_path=source_path,
+ destination_path=destination_path,
737
parser_name=parser_name,
738
writer=MarkDownWriter(document_context),
739
settings_overrides=get_docutils_publish_settings(
0 commit comments