Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c67262f50f | |||
| 48a46516d5 | |||
| 2ef28054d3 | |||
| be42392698 | |||
| 0e276a0171 | |||
| 7bc89e30d9 |
BIN
python-myst-parser-3.0.1.tar.gz
LFS
BIN
python-myst-parser-3.0.1.tar.gz
LFS
Binary file not shown.
3
python-myst-parser-4.0.1.tar.gz
Normal file
3
python-myst-parser-4.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:472eacf90753abcd65739fd1b88f9eb41b14008968f53da23882c4331f36b2b6
|
||||||
|
size 825970
|
||||||
@@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 2 04:36:38 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.0.1:
|
||||||
|
* Minor fix for sphinx 8.2 compat
|
||||||
|
* Fix type of MockIncludeDirective’s klass parameter
|
||||||
|
* Support python>=3.10, sphinx >=7,<9, docutils>=0.19,<0.22
|
||||||
|
* Improve footnote def/ref warnings and translations
|
||||||
|
- Add patch support-docutils-0.22.patch:
|
||||||
|
* Support docutils output changes.
|
||||||
|
- Sprinkle in pytest-param-files, since it's packaged now.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 21 09:47:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 16 08:50:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 9 08:37:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Thu May 9 08:37:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-myst-parser
|
# spec file for package python-myst-parser
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,9 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-myst-parser
|
Name: python-myst-parser
|
||||||
Version: 3.0.1
|
Version: 4.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An extended commonmark compliant parser, with bridges to docutils & sphinx
|
Summary: An extended commonmark compliant parser, with bridges to docutils & sphinx
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -26,24 +31,41 @@ URL: https://myst-parser.readthedocs.io/
|
|||||||
Source: https://github.com/executablebooks/MyST-Parser/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/executablebooks/MyST-Parser/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
# PyPI tarball does not contain tests
|
# PyPI tarball does not contain tests
|
||||||
#Source: https://files.pythonhosted.org/packages/source/m/myst-parser/myst-parser-%%{version}.tar.gz
|
#Source: https://files.pythonhosted.org/packages/source/m/myst-parser/myst-parser-%%{version}.tar.gz
|
||||||
BuildRequires: %{python_module flit-core}
|
# PATCH-FIX-OPENSUSE Regenerate failing files with --regen-file-failure
|
||||||
|
Patch0: support-docutils-0.22.patch
|
||||||
BuildRequires: %{python_module Jinja2}
|
BuildRequires: %{python_module Jinja2}
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
BuildRequires: %{python_module docutils >= 0.18 with %python-docutils < 0.22}
|
BuildRequires: %{python_module docutils >= 0.18 with %python-docutils < 0.23}
|
||||||
BuildRequires: %{python_module markdown-it-py}
|
BuildRequires: %{python_module flit-core}
|
||||||
|
BuildRequires: %{python_module linkify-it-py}
|
||||||
BuildRequires: %{python_module markdown-it-py}
|
BuildRequires: %{python_module markdown-it-py}
|
||||||
BuildRequires: %{python_module mdit-py-plugins}
|
BuildRequires: %{python_module mdit-py-plugins}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-Jinja2
|
||||||
|
Requires: python-PyYAML
|
||||||
|
Requires: python-Sphinx
|
||||||
|
Requires: python-docutils >= 0.18
|
||||||
|
Requires: python-markdown-it-py
|
||||||
|
Requires: python-mdit-py-plugins
|
||||||
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
# SECTION tests
|
# SECTION tests
|
||||||
BuildRequires: %{python_module beautifulsoup4}
|
BuildRequires: %{python_module beautifulsoup4}
|
||||||
BuildRequires: %{python_module pygments}
|
BuildRequires: %{python_module pygments}
|
||||||
|
BuildRequires: %{python_module pytest-param-files}
|
||||||
BuildRequires: %{python_module pytest-regressions}
|
BuildRequires: %{python_module pytest-regressions}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
# /SECTION
|
||||||
# SECTION docs
|
# SECTION docs
|
||||||
#BuildRequires: python3-Sphinx
|
#BuildRequires: python3-Sphinx
|
||||||
#BuildRequires: python3-Jinja2
|
#BuildRequires: python3-Jinja2
|
||||||
@@ -53,15 +75,6 @@ BuildRequires: %{python_module pytest}
|
|||||||
#BuildRequires: python3-markdown-it-py >= 1
|
#BuildRequires: python3-markdown-it-py >= 1
|
||||||
#BuildRequires: python3-mdit-py-plugins < 0.4
|
#BuildRequires: python3-mdit-py-plugins < 0.4
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: python-Jinja2
|
|
||||||
Requires: python-PyYAML
|
|
||||||
Requires: python-Sphinx
|
|
||||||
Requires: python-docutils >= 0.18
|
|
||||||
Requires: python-markdown-it-py
|
|
||||||
Requires: python-mdit-py-plugins
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -70,7 +83,7 @@ This is the reference implementation of MyST Markdown, as well as a collection o
|
|||||||
It contains an extended CommonMark (https://commonmark.org)-compliant parser using markdown-it-py (https://markdown-it-py.readthedocs.io/), as well as a Sphinx (https://www.sphinx-doc.org) extension that allows to write MyST Markdown in Sphinx.
|
It contains an extended CommonMark (https://commonmark.org)-compliant parser using markdown-it-py (https://markdown-it-py.readthedocs.io/), as well as a Sphinx (https://www.sphinx-doc.org) extension that allows to write MyST Markdown in Sphinx.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n MyST-Parser-%{version}
|
%autosetup -p1 -n MyST-Parser-%{version}
|
||||||
rm docs/.gitignore
|
rm docs/.gitignore
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@@ -91,6 +104,7 @@ rm docs/.gitignore
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/myst-docutils-xml
|
%python_clone -a %{buildroot}%{_bindir}/myst-docutils-xml
|
||||||
%python_clone -a %{buildroot}%{_bindir}/myst-docutils-demo
|
%python_clone -a %{buildroot}%{_bindir}/myst-docutils-demo
|
||||||
%python_clone -a %{buildroot}%{_bindir}/myst-inv
|
%python_clone -a %{buildroot}%{_bindir}/myst-inv
|
||||||
|
%python_group_libalternatives myst-anchors myst-docutils-html myst-docutils-html5 myst-docutils-latex myst-docutils-pseudoxml myst-docutils-xml myst-docutils-demo myst-inv
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -98,23 +112,20 @@ rm docs/.gitignore
|
|||||||
ignore="--ignore=tests/test_renderers/test_fixtures_sphinx.py"
|
ignore="--ignore=tests/test_renderers/test_fixtures_sphinx.py"
|
||||||
ignore+=" --ignore=tests/test_renderers/test_myst_refs.py"
|
ignore+=" --ignore=tests/test_renderers/test_myst_refs.py"
|
||||||
ignore+=" --ignore=tests/test_sphinx/test_sphinx_builds.py"
|
ignore+=" --ignore=tests/test_sphinx/test_sphinx_builds.py"
|
||||||
# no python-pytest-param-files package
|
%pytest $ignore
|
||||||
ignore+=" --ignore=tests/test_renderers/test_myst_config.py"
|
|
||||||
|
|
||||||
# no python-pytest-param-files package
|
%pre
|
||||||
donttest="test_parsing or test_errors or test_render or test_html_to_nodes or test_html_ast or test_html_round_trip"
|
%python_libalternatives_reset_alternative myst-anchors
|
||||||
|
|
||||||
%pytest $ignore -k "not ($donttest)"
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{python_install_alternative myst-anchors myst-docutils-html myst-docutils-html5 myst-docutils-latex myst-docutils-pseudoxml myst-docutils-xml myst-docutils-demo myst-inv}
|
%python_install_alternative myst-anchors myst-docutils-html myst-docutils-html5 myst-docutils-latex myst-docutils-pseudoxml myst-docutils-xml myst-docutils-demo myst-inv
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative myst-anchors
|
%python_uninstall_alternative myst-anchors
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/myst_parser/
|
%{python_sitelib}/myst_parser/
|
||||||
%{python_sitelib}/myst_parser-%{version}*-info
|
%{python_sitelib}/myst_parser-%{version}.dist-info
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
%python_alternative %{_bindir}/myst-anchors
|
%python_alternative %{_bindir}/myst-anchors
|
||||||
|
|||||||
265
support-docutils-0.22.patch
Normal file
265
support-docutils-0.22.patch
Normal file
@@ -0,0 +1,265 @@
|
|||||||
|
diff -urNP MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/docutil_link_resolution.md MyST-Parser-4.0.1/tests/test_renderers/fixtures/docutil_link_resolution.md
|
||||||
|
--- MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/docutil_link_resolution.md 2025-02-12 10:49:14.000000000 +0000
|
||||||
|
+++ MyST-Parser-4.0.1/tests/test_renderers/fixtures/docutil_link_resolution.md 2025-10-02 04:20:54.949806711 +0000
|
||||||
|
@@ -24,23 +24,23 @@
|
||||||
|
.
|
||||||
|
<document source="<src>/index.md">
|
||||||
|
<paragraph>
|
||||||
|
- <reference id_link="True" refid="test">
|
||||||
|
+ <reference id_link="1" refid="test">
|
||||||
|
<system_message level="2" line="1" source="<src>/index.md" type="WARNING">
|
||||||
|
<paragraph>
|
||||||
|
'myst' reference target not found: 'test' [myst.xref_missing]
|
||||||
|
|
||||||
|
- <reference id_link="True" refid="test">
|
||||||
|
+ <reference id_link="1" refid="test">
|
||||||
|
<system_message level="2" line="1" source="<src>/index.md" type="WARNING">
|
||||||
|
<paragraph>
|
||||||
|
'myst' reference target not found: 'test' [myst.xref_missing]
|
||||||
|
|
||||||
|
- <reference id_link="True" refid="test">
|
||||||
|
+ <reference id_link="1" refid="test">
|
||||||
|
explicit
|
||||||
|
<system_message level="2" line="1" source="<src>/index.md" type="WARNING">
|
||||||
|
<paragraph>
|
||||||
|
'myst' reference target not found: 'test' [myst.xref_missing]
|
||||||
|
|
||||||
|
- <reference id_link="True" refid="name%20with%20spaces">
|
||||||
|
+ <reference id_link="1" refid="name%20with%20spaces">
|
||||||
|
<system_message level="2" line="1" source="<src>/index.md" type="WARNING">
|
||||||
|
<paragraph>
|
||||||
|
'myst' reference target not found: 'name with spaces' [myst.xref_missing]
|
||||||
|
@@ -76,15 +76,15 @@
|
||||||
|
<title>
|
||||||
|
Non-anchor heading
|
||||||
|
<paragraph>
|
||||||
|
- <reference id_link="True" refid="title">
|
||||||
|
+ <reference id_link="1" refid="title">
|
||||||
|
<inline classes="std std-ref">
|
||||||
|
Title
|
||||||
|
|
||||||
|
- <reference id_link="True" refid="longer-title-with-nested-syntax">
|
||||||
|
+ <reference id_link="1" refid="longer-title-with-nested-syntax">
|
||||||
|
<inline classes="std std-ref">
|
||||||
|
Longer title with nested (syntax)
|
||||||
|
|
||||||
|
- <reference id_link="True" refid="title">
|
||||||
|
+ <reference id_link="1" refid="title">
|
||||||
|
explicit
|
||||||
|
.
|
||||||
|
|
||||||
|
@@ -102,15 +102,15 @@
|
||||||
|
Test
|
||||||
|
<target refid="target">
|
||||||
|
<paragraph>
|
||||||
|
- <reference id_link="True" refid="target">
|
||||||
|
+ <reference id_link="1" refid="target">
|
||||||
|
<inline classes="std std-ref">
|
||||||
|
Test
|
||||||
|
|
||||||
|
- <reference id_link="True" refid="target">
|
||||||
|
+ <reference id_link="1" refid="target">
|
||||||
|
<inline classes="std std-ref">
|
||||||
|
Test
|
||||||
|
|
||||||
|
- <reference id_link="True" refid="target">
|
||||||
|
+ <reference id_link="1" refid="target">
|
||||||
|
explicit
|
||||||
|
.
|
||||||
|
|
||||||
|
@@ -128,12 +128,9 @@
|
||||||
|
Test
|
||||||
|
<subtitle ids="other test-1" names="other test">
|
||||||
|
Other
|
||||||
|
- <system_message backrefs="test-1" level="1" line="3" source="<src>/index.md" type="INFO">
|
||||||
|
- <paragraph>
|
||||||
|
- Duplicate implicit target name: "test".
|
||||||
|
<target refid="test-1">
|
||||||
|
<paragraph>
|
||||||
|
- <reference id_link="True" refid="test-1">
|
||||||
|
+ <reference id_link="1" refid="test-1">
|
||||||
|
<inline classes="std std-ref">
|
||||||
|
Other
|
||||||
|
.
|
||||||
|
@@ -150,7 +147,7 @@
|
||||||
|
<paragraph ids="name-with-spaces" names="name\ with\ spaces">
|
||||||
|
Paragraph
|
||||||
|
<paragraph>
|
||||||
|
- <reference id_link="True" refid="name-with-spaces">
|
||||||
|
+ <reference id_link="1" refid="name-with-spaces">
|
||||||
|
<inline classes="std std-ref">
|
||||||
|
#name with spaces
|
||||||
|
.
|
||||||
|
@@ -192,14 +189,14 @@
|
||||||
|
<paragraph>
|
||||||
|
d
|
||||||
|
<paragraph>
|
||||||
|
- <reference id_link="True" refid="table">
|
||||||
|
+ <reference id_link="1" refid="table">
|
||||||
|
<inline classes="std std-ref">
|
||||||
|
caption
|
||||||
|
|
||||||
|
- <reference id_link="True" refid="table">
|
||||||
|
+ <reference id_link="1" refid="table">
|
||||||
|
<inline classes="std std-ref">
|
||||||
|
caption
|
||||||
|
|
||||||
|
- <reference id_link="True" refid="table">
|
||||||
|
+ <reference id_link="1" refid="table">
|
||||||
|
explicit
|
||||||
|
.
|
||||||
|
diff -urNP MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/docutil_syntax_extensions.txt MyST-Parser-4.0.1/tests/test_renderers/fixtures/docutil_syntax_extensions.txt
|
||||||
|
--- MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/docutil_syntax_extensions.txt 2025-02-12 10:49:14.000000000 +0000
|
||||||
|
+++ MyST-Parser-4.0.1/tests/test_renderers/fixtures/docutil_syntax_extensions.txt 2025-10-02 04:20:55.090824403 +0000
|
||||||
|
@@ -25,12 +25,12 @@
|
||||||
|
foo
|
||||||
|
bar
|
||||||
|
b
|
||||||
|
- <math_block nowrap="False" number="True" xml:space="preserve">
|
||||||
|
+ <math_block nowrap="0" number="True" xml:space="preserve">
|
||||||
|
foo
|
||||||
|
- <math_block nowrap="False" number="True" xml:space="preserve">
|
||||||
|
+ <math_block nowrap="0" number="True" xml:space="preserve">
|
||||||
|
|
||||||
|
a = 1
|
||||||
|
- <math_block ids="label" names="label" nowrap="False" number="True" xml:space="preserve">
|
||||||
|
+ <math_block ids="label" names="label" nowrap="0" number="True" xml:space="preserve">
|
||||||
|
|
||||||
|
b = 2
|
||||||
|
.
|
||||||
|
@@ -48,13 +48,13 @@
|
||||||
|
\end{equation*}
|
||||||
|
.
|
||||||
|
<document source="<string>">
|
||||||
|
- <math_block classes="amsmath" nowrap="True" numbered="True" xml:space="preserve">
|
||||||
|
+ <math_block classes="amsmath" nowrap="1" numbered="1" xml:space="preserve">
|
||||||
|
\begin{equation} a \end{equation}
|
||||||
|
- <math_block classes="amsmath" nowrap="True" numbered="True" xml:space="preserve">
|
||||||
|
+ <math_block classes="amsmath" nowrap="1" numbered="1" xml:space="preserve">
|
||||||
|
\begin{equation}
|
||||||
|
a
|
||||||
|
\end{equation}
|
||||||
|
- <math_block classes="amsmath" nowrap="True" xml:space="preserve">
|
||||||
|
+ <math_block classes="amsmath" nowrap="1" xml:space="preserve">
|
||||||
|
\begin{equation*}
|
||||||
|
a
|
||||||
|
\end{equation*}
|
||||||
|
diff -urNP MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/myst-config.txt MyST-Parser-4.0.1/tests/test_renderers/fixtures/myst-config.txt
|
||||||
|
--- MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/myst-config.txt 2025-02-12 10:49:14.000000000 +0000
|
||||||
|
+++ MyST-Parser-4.0.1/tests/test_renderers/fixtures/myst-config.txt 2025-10-02 04:20:55.345046213 +0000
|
||||||
|
@@ -219,7 +219,7 @@
|
||||||
|
<title>
|
||||||
|
My title
|
||||||
|
<paragraph>
|
||||||
|
- <reference id_link="True" refid="my-title">
|
||||||
|
+ <reference id_link="1" refid="my-title">
|
||||||
|
<inline classes="std std-ref">
|
||||||
|
My title
|
||||||
|
.
|
||||||
|
@@ -263,6 +263,12 @@
|
||||||
|
<document source="<string>">
|
||||||
|
<paragraph>
|
||||||
|
a
|
||||||
|
+ <section classes="system-messages">
|
||||||
|
+ <title>
|
||||||
|
+ Docutils System Messages
|
||||||
|
+ <system_message level="2" source="<string>" type="WARNING">
|
||||||
|
+ <paragraph>
|
||||||
|
+ The `attrs_image` extension is deprecated, please use `attrs_inline` instead. [myst.deprecated]
|
||||||
|
|
||||||
|
<string>:: (WARNING/2) The `attrs_image` extension is deprecated, please use `attrs_inline` instead. [myst.deprecated]
|
||||||
|
.
|
||||||
|
@@ -381,7 +387,7 @@
|
||||||
|
Chris Sewell
|
||||||
|
.
|
||||||
|
|
||||||
|
-[inv_link]
|
||||||
|
+[inv_link]
|
||||||
|
.
|
||||||
|
<inv:#index>
|
||||||
|
[](inv:#index)
|
||||||
|
@@ -397,42 +403,42 @@
|
||||||
|
.
|
||||||
|
<document source="<string>">
|
||||||
|
<paragraph>
|
||||||
|
- <reference internal="False" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
Title
|
||||||
|
|
||||||
|
- <reference internal="False" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
Title
|
||||||
|
|
||||||
|
- <reference internal="False" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
<emphasis>
|
||||||
|
explicit
|
||||||
|
|
||||||
|
- <reference internal="False" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
Title
|
||||||
|
|
||||||
|
- <reference internal="False" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
Title
|
||||||
|
|
||||||
|
- <reference internal="False" inv_match="key:std:label:search" reftitle="Python" refuri="https://example.com/search.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:label:search" reftitle="Python" refuri="https://example.com/search.html">
|
||||||
|
Search Page
|
||||||
|
|
||||||
|
- <reference internal="False" inv_match="key:std:label:search" reftitle="Python" refuri="https://example.com/search.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:label:search" reftitle="Python" refuri="https://example.com/search.html">
|
||||||
|
Search Page
|
||||||
|
|
||||||
|
- <reference internal="False" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
Title
|
||||||
|
|
||||||
|
- <reference internal="False" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
Title
|
||||||
|
|
||||||
|
- <reference internal="False" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
Title
|
||||||
|
|
||||||
|
- <reference internal="False" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:doc:index" reftitle="Python" refuri="https://example.com/index.html">
|
||||||
|
Title
|
||||||
|
.
|
||||||
|
|
||||||
|
-[inv_link_error]
|
||||||
|
+[inv_link_error]
|
||||||
|
.
|
||||||
|
<inv:#other>
|
||||||
|
|
||||||
|
@@ -447,7 +453,7 @@
|
||||||
|
<system_message level="2" line="3" source="<string>" type="WARNING">
|
||||||
|
<paragraph>
|
||||||
|
Multiple matches for '*:*:*:*index': key:std:label:genindex, key:std:label:modindex, key:std:label:py-modindex, ... [myst.iref_ambiguous]
|
||||||
|
- <reference internal="False" inv_match="key:std:label:genindex" reftitle="Python" refuri="https://example.com/genindex.html">
|
||||||
|
+ <reference internal="0" inv_match="key:std:label:genindex" reftitle="Python" refuri="https://example.com/genindex.html">
|
||||||
|
Index
|
||||||
|
|
||||||
|
<string>:1: (WARNING/2) No matches for '*:*:*:other' [myst.iref_missing]
|
||||||
|
@@ -486,7 +492,7 @@
|
||||||
|
<title>
|
||||||
|
other
|
||||||
|
<paragraph>
|
||||||
|
- <reference id_link="True" refid="title">
|
||||||
|
+ <reference id_link="1" refid="title">
|
||||||
|
reversed
|
||||||
|
.
|
||||||
|
|
||||||
|
diff -urNP MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/reporter_warnings.md MyST-Parser-4.0.1/tests/test_renderers/fixtures/reporter_warnings.md
|
||||||
|
--- MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/reporter_warnings.md 2025-02-12 10:49:14.000000000 +0000
|
||||||
|
+++ MyST-Parser-4.0.1/tests/test_renderers/fixtures/reporter_warnings.md 2025-10-02 04:20:54.751283034 +0000
|
||||||
|
@@ -116,7 +116,7 @@
|
||||||
|
|
||||||
|
[^a]
|
||||||
|
.
|
||||||
|
-<string>:3: (ERROR/3) Too many autonumbered footnote references: only 0 corresponding footnotes available.
|
||||||
|
+<string>:3: (ERROR/3) Too many autonumbered footnote references: only 0 corresponding footnote available.
|
||||||
|
<string>:1: (ERROR/3) Unknown target name: "1".
|
||||||
|
<string>:3: (ERROR/3) Unknown target name: "a".
|
||||||
|
.
|
||||||
Reference in New Issue
Block a user