Skip to content

Conversation

@douden
Copy link
Contributor

@douden douden commented Jan 19, 2026

Introduces new configuration options: proof_title_format, proof_number_weight, and proof_title_weight, allowing users to customize the format and font weight of proof directive titles. Documentation and CSS updated to reflect these changes, and directive logic now applies the user-defined title format.

Introduces new configuration options: proof_title_format, proof_number_weight, and proof_title_weight, allowing users to customize the format and font weight of proof directive titles. Documentation and CSS updated to reflect these changes, and directive logic now applies the user-defined title format.
@douden douden marked this pull request as ready for review January 19, 2026 16:14
@douden douden requested review from mmcky and removed request for Tom-van-Woudenberg January 19, 2026 16:22
@douden
Copy link
Contributor Author

douden commented Jan 19, 2026

@mmcky : I have no idea why the ci - tests fail. Do you have any idea?

Maybe tests are outdated?

douden and others added 4 commits January 21, 2026 13:55
Updated the CI workflow to install the sphinx-testing package before running tests. This ensures that all required testing dependencies are available during CI runs.
Eliminated the installation of sphinx-testing from the CI workflow and replaced its path import in tests/conftest.py with the standard os.path module.
Added missing newline at end of several test files and switched from os.path to pathlib in conftest.py for improved path handling. Also updated some test HTML content to fix encoding issues.
@douden douden removed the request for review from mmcky January 21, 2026 13:05
@douden douden marked this pull request as draft January 21, 2026 13:05
douden and others added 7 commits January 21, 2026 14:09
Replaces invalid or non-ASCII characters in test HTML files with correct ASCII equivalents to improve readability and consistency in test outputs.
Appends a newline at the end of several HTML and LaTeX test files to ensure consistency and avoid warnings from tools that expect files to end with a newline.
@douden douden marked this pull request as ready for review January 21, 2026 13:22
@douden
Copy link
Contributor Author

douden commented Jan 21, 2026

@mmcky : I have no idea why the ci - tests fail. Do you have any idea?

Maybe tests are outdated?

@mmcky: I have fixed the tests, so you can ignore my request.

douden and others added 2 commits January 22, 2026 11:33
Expanded documentation on customizing proof directive title formats and font weights, providing clearer explanations and examples. Removed unnecessary !important from CSS font-weight rules for proof titles and numbers.
Updated the CSS selectors in the asset copying logic to match rules without the !important flag by default. This allows custom font-weight values to be injected with !important only when configured, improving CSS override flexibility.
The '!important' flag was removed from the dynamically generated CSS for proof number and title font weights. This change allows for easier CSS overrides and better integration with existing styles.
@Tom-van-Woudenberg
Copy link

Probably nice to add tests ;)

@douden douden changed the base branch from main to prepare-release January 23, 2026 12:29
@douden douden merged commit 8fdfb3d into prepare-release Jan 23, 2026
7 checks passed
@douden douden deleted the title-styling branch January 23, 2026 12:35
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.

3 participants