Commit graph

1855 commits

Author SHA1 Message Date
Tom van Woudenberg
05f51b1c7b
Merge pull request #237 from TeachBooks/add_questions
Add TeachBooks-Questions and update favourites
2026-03-13 09:43:16 +01:00
Dennis den Ouden-van der Horst
deea65c2b6 Add TeachBooks-Questions and update favourites
Add TeachBooks-Questions to the book TOC and TeachBooks Favourites list, and include Sphinx Gated Directives and TeachBooks Zoomies in the favourites page. Also tidy requirements.txt by removing an inline bump comment from the TeachBooks-Favourites git dependency. Changes touch book/_toc.yml, book/features/favourites.md, and requirements.txt to surface the new/manual links and clean up metadata.
2026-03-13 09:32:59 +01:00
Tom van Woudenberg
5537db2ec5
Update TeachBooks-Favourites dependency with comment
Updated dependency to include a comment for version bump.
2026-02-28 13:44:22 +01:00
Tom van Woudenberg
0242cf27ee
Fix formatting of git dependency in requirements.txt 2026-02-28 13:38:24 +01:00
Dennis den Ouden-van der Horst
2674c68ba9
Merge pull request #236 from TeachBooks/bump-patch
Bump TeachBooks-Favourites dependency version
2026-01-22 10:53:17 +01:00
Dennis den Ouden-van der Horst
79f62e3008
Bump TeachBooks-Favourites dependency version
Updated the TeachBooks-Favourites dependency to the latest version.
2026-01-22 10:49:02 +01:00
Tom van Woudenberg
f51792ff18
Merge pull request #235 from TeachBooks/update-external-toc
Remove Sphinx External ToC link from favourites
2026-01-16 14:36:56 +01:00
Dennis den Ouden-van der Horst
59865009f1 Remove Sphinx External ToC link from favourites
Deleted the reference to Sphinx External ToC from the list of related resources in the favourites documentation.
2026-01-16 14:35:15 +01:00
Tom van Woudenberg
9f99a7cc4b
Update links to Sphinx exercises and contributions 2026-01-14 14:00:07 +01:00
Tom van Woudenberg
ff6367f5af
Annotate external link with '#BUMP'
Added a comment '#BUMP' to the external link for Sphinx-Gated-Directives.
2026-01-13 09:19:36 +01:00
Tom van Woudenberg
e3c0583a13 Update sphinx-autobuild.sh 2026-01-12 15:51:48 +01:00
Tom van Woudenberg
2f1e088d02 Create remove_author.css 2026-01-12 13:37:40 +01:00
Tom van Woudenberg
1a4518f6c1 added all authors 2026-01-12 13:36:57 +01:00
Tom van Woudenberg
a9170a5011 Update .gitignore 2026-01-12 13:27:11 +01:00
Tom van Woudenberg
c51586746c Create sphinx-autobuild.sh 2026-01-12 13:23:56 +01:00
Tom van Woudenberg
6f44de51c0
Update versions_URLs.md 2026-01-09 11:29:35 +01:00
Tom van Woudenberg
ea27d7af04
Merge pull request #234 from TeachBooks/dependabot/submodules/book/external/JupyterBook-Patches-99aeda4
Bump book/external/JupyterBook-Patches from `c5cb27a` to `99aeda4`
2026-01-08 11:52:05 +01:00
dependabot[bot]
d257d56838
Bump book/external/JupyterBook-Patches from c5cb27a to 99aeda4
Bumps [book/external/JupyterBook-Patches](https://github.com/TeachBooks/JupyterBook-Patches) from `c5cb27a` to `99aeda4`.
- [Release notes](https://github.com/TeachBooks/JupyterBook-Patches/releases)
- [Commits](c5cb27a87b...99aeda40ae)

---
updated-dependencies:
- dependency-name: book/external/JupyterBook-Patches
  dependency-version: 99aeda40ae0cfa06eb290ba5c3a6b9b81eb3992d
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-08 10:51:02 +00:00
Tom van Woudenberg
6802366a19
Merge pull request #233 from fmeer/release
Update plotly HTML instructions
2026-01-06 06:56:05 +01:00
Frans van der Meer
a639f14b94 Update plotly HTML instructions 2026-01-05 20:16:03 +01:00
Dennis den Ouden-van der Horst
fca8533e97 Update teachbooks to version 0.2.4 in requirements
Replaces the previous git-based install of teachbooks with the released version 0.2.4 in requirements.txt for improved stability and reproducibility.
2026-01-05 16:14:59 +01:00
Tom van Woudenberg
aa5843df88
Remove sphinx-gated-directives from requirements 2026-01-05 09:27:10 +01:00
Tom van Woudenberg
d6888adecb
Merge pull request #232 from TeachBooks/test-gates
Added Gated Directives
2026-01-05 09:18:39 +01:00
Tom van Woudenberg
684b9c84a4
Fix matplotlib entry in requirements.txt 2026-01-05 09:15:20 +01:00
Dennis den Ouden-van der Horst
aacc7368e2 Update teachbooks dependency source
Switched teachbooks dependency to use a specific Git branch (issue-127) instead of the released version. This allows for testing or using unreleased changes from the repository.
2026-01-04 18:03:01 +01:00
Dennis den Ouden-van der Horst
46d70c1578 Remove unused Sphinx config options
Cleaned up book/_config.yml by removing unused or unnecessary Sphinx configuration options related to sphinx_gated_directives and sphinx_codex. This helps simplify the configuration file.
2026-01-04 17:56:08 +01:00
Dennis den Ouden-van der Horst
c7f7917fe2 Remove sphinx_tudelft_theme from Sphinx extensions
The sphinx_tudelft_theme extension has been removed from the list of Sphinx extensions in the configuration file, possibly because it is no longer needed or has been replaced.
2026-01-04 17:54:12 +01:00
Dennis den Ouden-van der Horst
ee8777516e Remove custom YAML extension and update requirements
Deleted the custom 'include_remove_yaml' Sphinx extension and its configuration. Cleaned up YAML front matter from intro.md. Updated requirements.txt to use released teachbooks package, added sphinx-gated-directives, and removed duplicate or outdated dependencies.
2026-01-04 17:53:12 +01:00
Dennis den Ouden-van der Horst
68cf7ca756 Add extension to remove YAML front matter from includes
Introduced a custom Sphinx extension 'include_remove_yaml' to strip YAML front matter from included files. Updated _config.yml to register the extension, and added YAML front matter to intro.md for demonstration.
2026-01-04 17:41:29 +01:00
Dennis den Ouden-van der Horst
a4cb6d7090 Remove obsolete instruction notebooks and update ToC
Deleted instructie.ipynb, instructie_2.ipynb, and lesoefeningen.ipynb from the book. Updated _toc.yml to remove references to these files and moved the Sphinx-Gated-Directives manual link to the correct section. Minor update to intro.md.
2026-01-04 16:51:14 +01:00
Dennis den Ouden-van der Horst
ab38930bb3 Update TOC and requirements for TeachBooks changes
Added an external manual link to the table of contents. Updated requirements to use TeachBooks from the 'issue-127' branch and adjusted comments for clarity.
2026-01-04 16:20:16 +01:00
Dennis den Ouden-van der Horst
804bae0dee Add note inside axiom-end directive in intro
Inserted a line of text within the prf:axiom-end directive in intro.md to clarify that this text will not be rendered.
2026-01-04 13:05:52 +01:00
Dennis den Ouden-van der Horst
dda9732246 Update comment for TeachBooks-Favourites dependency
Changed the comment for the TeachBooks-Favourites git dependency from 'bump patches' to 'bump codex' to clarify the purpose of the dependency update.
2026-01-04 12:26:58 +01:00
Dennis den Ouden-van der Horst
abec15b938 Switch sphinx_gated_directives to external package
Removed the local sphinx_gated_directives extension and updated configuration to use the external package. Added Sphinx-Gated-Directives as a dependency in requirements.txt and adjusted _config.yml to load it as an extra extension.
2026-01-04 11:57:49 +01:00
Dennis den Ouden-van der Horst
688c16fe71 Remove custom code alignment CSS and update requirements
Deleted the code-align.css file that enforced left alignment for docutils code cells. Updated the requirements.txt comment for TeachBooks-Favourites to reference 'patches' instead of 'codex'.
2026-01-04 11:23:45 +01:00
Dennis den Ouden-van der Horst
c6e968a947 Update requirements.txt 2026-01-04 11:06:32 +01:00
Dennis den Ouden-van der Horst
3f6d1f1d1b Update _config.yml 2026-01-04 11:04:17 +01:00
Tom van Woudenberg
29fe49b63c zonder override 2026-01-03 15:46:57 +01:00
Tom van Woudenberg
2a78126224 change labels 2026-01-03 15:42:01 +01:00
Tom van Woudenberg
e22ea50d6d added gates 2026-01-03 15:35:40 +01:00
Dennis den Ouden-van der Horst
1ac94844a3 Refactor directive name construction for clarity
Extracted suffix_separator, suffix_start, and suffix_end from cfg to local variables for improved readability and maintainability in directive name construction.
2026-01-03 12:50:11 +01:00
Dennis den Ouden-van der Horst
e12183af9e Refactor _should_skip_name for clarity and efficiency
Extracted suffix_separator, suffix_start, and suffix_end from cfg at the start of the function to avoid repeated dictionary lookups and improve code readability.
2026-01-03 12:48:34 +01:00
Dennis den Ouden-van der Horst
f4ea60d42c Enhance sphinx_gated_directives with configurable suffixes and override logic
Refactor the sphinx_gated_directives extension to support configurable suffixes and separator for start/end directives, and add an 'override_existing' option for more flexible directive registration. Update the registry naming and logic throughout the extension, add configuration validation, and update the book config and intro to demonstrate new exercise directives and nesting.
2026-01-03 12:45:24 +01:00
Dennis den Ouden-van der Horst
144c7a95be Refactor sphinx_gated_directives and update intro.md examples
Improved code structure and comments in sphinx_gated_directives/__init__.py, clarified logic, and removed unused/legacy code. Updated intro.md to remove commented-out directive examples and replaced them with active ones for better demonstration and testing.
2026-01-03 10:30:39 +01:00
Dennis den Ouden-van der Horst
f481588509 Update child theorem to axiom and add Sphinx theme
Changed the label from 'A child theorem' to 'A child axiom' in the intro.md file for clarity. Added 'sphinx-tudelft-theme==1.2.1' to requirements.txt to specify the documentation theme.
2026-01-02 20:08:02 +01:00
Dennis den Ouden-van der Horst
f9e4a0f0b7 Improve gated directive nesting validation and docs
Added a robust validate_SE function to check for correct nesting of start and end directives, with detailed error reporting. Updated the CheckGatedDirectivesTransform to use this validation and improved error messages for mismatched or incorrectly nested directives. Extended intro.md with comprehensive examples of nested directives, including both valid and invalid cases, to document and test the new behavior. Also added the sphinx_tudelft_theme extension in _config.yml.
2026-01-02 20:05:44 +01:00
Dennis den Ouden-van der Horst
a5f014ddf6 Replace logo figure with nothing.svg in intro
Added a new SVG file 'nothing.svg' and updated the intro.md to use this image in place of the previous logo-wide.svg. Adjusted figure attributes and alt text accordingly.
2026-01-02 17:55:31 +01:00
Dennis den Ouden-van der Horst
bd47d63475 Remove debug logging and update intro content
Debug logging statements were removed from MergeGatedDirectivesTransform in sphinx_gated_directives. The intro.md file was updated to include new theorem and figure directive examples, code cells, and additional documentation content.
2026-01-02 17:40:03 +01:00
Dennis den Ouden-van der Horst
fddd493e39 Comment out legacy registry logic in sphinx_gated_directives
Commented out the code related to the 'sphinx_gated_directives_registry' in favor of using only the 'sphinx_gated_directives_super_registry'. Updated purge and transform logic accordingly. Added clarifying comments to code-align.css regarding left alignment enforcement.
2026-01-02 17:18:18 +01:00
Dennis den Ouden-van der Horst
c7486c0b42 Add sphinx_gated_directives extension and code-align CSS
Introduces the custom Sphinx extension 'sphinx_gated_directives' for start/end directive gating and validation, registering it in the Sphinx local extensions. Also adds a CSS file to enforce left alignment for code cells. Updates _config.yml to configure the new extension and set the documentation language to English.
2026-01-02 17:09:33 +01:00