Skip to content

Fix 'What's New' page formatting and generation#464

Merged
cvanelteren merged 4 commits into
mainfrom
doc/fix-whats-new-formatting
Jan 13, 2026
Merged

Fix 'What's New' page formatting and generation#464
cvanelteren merged 4 commits into
mainfrom
doc/fix-whats-new-formatting

Conversation

@cvanelteren
Copy link
Copy Markdown
Collaborator

Improves the RST conversion logic in 'fetch_releases.py' to correctly handle Markdown headers, code blocks, images, and HTML details tags. Also updates 'conf.py' to use 'sys.executable' for robust script execution.

Closes #463

Improves the RST conversion logic in 'fetch_releases.py' to correctly handle Markdown headers, code blocks, images, and HTML details tags. Also updates 'conf.py' to use 'sys.executable' for robust script execution.
Replaces custom manual parsing with m2r2 library for more robust Markdown to ReStructuredText conversion in 'fetch_releases.py'. Adds 'm2r2' to 'environment.yml' dependencies.
Fixes ImportError: lxml.html.clean module is now a separate project. This is required by nbsphinx.
@cvanelteren cvanelteren merged commit d31f165 into main Jan 13, 2026
9 checks passed
@cvanelteren cvanelteren deleted the doc/fix-whats-new-formatting branch January 13, 2026 20:52
cvanelteren added a commit that referenced this pull request Jan 16, 2026
* Fix 'What's New' page formatting and generation

Improves the RST conversion logic in 'fetch_releases.py' to correctly handle Markdown headers, code blocks, images, and HTML details tags. Also updates 'conf.py' to use 'sys.executable' for robust script execution.

* Switch to m2r2 for Markdown to RST conversion

Replaces custom manual parsing with m2r2 library for more robust Markdown to ReStructuredText conversion in 'fetch_releases.py'. Adds 'm2r2' to 'environment.yml' dependencies.

* Add lxml-html-clean dependency

Fixes ImportError: lxml.html.clean module is now a separate project. This is required by nbsphinx.
K-Mirembe-Mercy pushed a commit to K-Mirembe-Mercy/UltraPlot that referenced this pull request Mar 22, 2026
* Fix 'What's New' page formatting and generation

Improves the RST conversion logic in 'fetch_releases.py' to correctly handle Markdown headers, code blocks, images, and HTML details tags. Also updates 'conf.py' to use 'sys.executable' for robust script execution.

* Switch to m2r2 for Markdown to RST conversion

Replaces custom manual parsing with m2r2 library for more robust Markdown to ReStructuredText conversion in 'fetch_releases.py'. Adds 'm2r2' to 'environment.yml' dependencies.

* Add lxml-html-clean dependency

Fixes ImportError: lxml.html.clean module is now a separate project. This is required by nbsphinx.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: What's new? misformatted

1 participant