Skip to content

Conversation

@douden
Copy link
Contributor

@douden douden commented Jan 24, 2026

Added optioin to have directives share numbering. Reflected also in docs.

Ljon4ik4 and others added 12 commits January 24, 2026 22:00
…#64 (#161)

Added optioin to have directives share numbering. Reflected also in docs.
Extracted the translated type title into a separate variable for clarity before constructing the title node in ProofDomain.
Introduces a check_config_values function to validate Sphinx configuration values at runtime, ensuring correct types and defaults for proof-related settings. Also refactors DEFAULT_REALTYP_TO_COUNTERTYP in directive.py to dynamically use PROOF_TYPES, improving maintainability and consistency.
Refactored the definition of DEFAULT_REALTYP_TO_COUNTERTYP from directive.py to proof_type.py for better separation of concerns and to avoid circular imports. Updated imports accordingly. Minor changes to test files only add missing newlines at end of file.
Moved the DEFAULT_REALTYP_TO_COUNTERTYP dictionary from proof_type.py directly into directive.py to remove the import and simplify dependencies. Updated test HTML and LaTeX files to ensure proper newline at end of file.
Relocated the DEFAULT_REALTYP_TO_COUNTERTYP mapping from directive.py to proof_type.py for better modularity and to centralize proof type definitions.
Relocated the DEFAULT_REALTYP_TO_COUNTERTYP dictionary from proof_type.py to directive.py to improve module organization and reduce unnecessary imports.
Replaces the hardcoded DEFAULT_REALTYP_TO_COUNTERTYP dictionary with a dynamic construction based on PROOF_TYPES from proof_type.py. This improves maintainability by centralizing proof type definitions.
Replaces dynamic construction of DEFAULT_REALTYP_TO_COUNTERTYP from PROOF_TYPES with a static dictionary definition. This change removes the dependency on PROOF_TYPES and makes the mapping explicit within directive.py.
@douden douden marked this pull request as ready for review January 24, 2026 22:46
@douden douden merged commit 27f52c6 into prepare-release Jan 24, 2026
7 checks passed
@douden douden deleted the Ljon4ik4-main branch January 24, 2026 22:47
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