Commit graph

70 commits

Author SHA1 Message Date
Tom van Woudenberg
e22ea50d6d added gates 2026-01-03 15:35:40 +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
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
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
Tom van Woudenberg
9bdbb866dc
Change execute_notebooks setting to 'auto' 2025-12-03 12:19:19 +01:00
Tom van Woudenberg
8ce33ecfee test 2025-12-03 11:57:21 +01:00
Tom van Woudenberg
130a5e3755
Add style settings for metadata figure placement 2025-11-28 15:16:16 +01:00
Tom van Woudenberg
00c79afade
Update _config.yml 2025-11-28 11:22:19 +01:00
Dennis den Ouden-van der Horst
44b912e01f Add sphinx-github-alerts extension support
Integrated the sphinx-github-alerts extension into the Sphinx configuration, requirements, and documentation table of contents to enable GitHub alerts functionality.
2025-11-20 15:10:35 +01:00
Dennis den Ouden-van der Horst
9e531c7e5f Remove custom bibtex styles and add APA warning info
Removed custom bibtex style settings from _config.yml. Added documentation in apa.md about handling duplicate label warnings in APA references, including advice on adding letters to years in .bib files.
2025-11-17 17:08:31 +01:00
Dennis den Ouden-van der Horst
7117d92eed Switch to sphinx-apa-references extension for APA style
Removed local APA style extensions and related static files, updated _config.yml to use the sphinx_apa_references extension, and revised documentation in apa.md to reflect installation and usage of the new package. Added sphinx-apa-references to requirements.txt and references.bib now includes a multi-author example for APA citation demonstration.
2025-11-17 16:48:07 +01:00
Tom van Woudenberg
1cbb112432
Add teachbooks_sphinx_grasple to extra_extensions 2025-09-06 07:45:55 +02:00
Tom van Woudenberg
17974a8899 replace extensions by favourites 2025-09-01 10:07:59 +02:00
Tom van Woudenberg
cd62b39c6d
Update _config.yml 2025-08-27 16:10:53 +02:00
Dennis den Ouden-van der Horst
f0b989617a Add sphinx-accessibility extension and docs link
Included the sphinx-accessibility extension in the Sphinx configuration and requirements. Updated the table of contents to reference the Sphinx-Accessibility manual for improved documentation coverage.
2025-08-27 14:07:19 +02:00
Dennis den Ouden-van der Horst
9d091ac6a1 Add sphinx-code-examples extension to project
Integrated the sphinx-code-examples extension by updating _config.yml, _toc.yml, and requirements.txt. This adds support for code example features and links to its manual in the table of contents.
2025-07-24 17:06:24 +02:00
Dennis den Ouden-van der Horst
906fa93976
Update _config.yml 2025-07-02 14:16:56 +02:00
Tom van Woudenberg
805d624f19
Update _config.yml 2025-05-03 09:02:02 +02:00
Tom van Woudenberg
6b73abdde5
Update _config.yml 2025-05-01 09:28:56 +02:00
Tom van Woudenberg
b0c9f6c22e
Update _config.yml 2025-04-24 15:36:32 +02:00
Tom van Woudenberg
e41e6744dc update attributions 2025-04-01 13:36:53 +02:00
douden
309971b737 Added PRIME applets 2025-02-24 10:04:29 +01:00
Dennis den Ouden-van der Horst
3dd2f263d4
Update _config.yml 2025-02-20 09:46:40 +01:00
douden
9bced5ec04 Added frames package 2025-02-20 09:43:21 +01:00
douden
6c281939ae added hyphen-color 2025-01-14 16:03:09 +01:00
douden
da3392afd9 Added alll stuff for Named Colors 2025-01-11 23:20:31 +01:00
douden
0b70a21a6a Added custom color section 2025-01-02 10:28:58 +01:00
Tom van Woudenberg
fcce5c5ed8 Revert "Merge pull request #49 from TeachBooks/temp_delete"
This reverts commit 58ed2efd41, reversing
changes made to ff0b11e795.
2024-12-16 10:27:33 +01:00
Tom van Woudenberg
6dcb0dab9e temp exclude sphinx-thebe 2024-12-14 07:43:51 +01:00
Tom van Woudenberg
5abb5acab5 Added exercise 2024-12-13 15:49:11 +01:00
Tom van Woudenberg
a1f8299530 replaced logos 2024-12-09 16:53:06 +01:00
Tom van Woudenberg
ffa414df5e
Update _config.yml 2024-12-09 15:33:39 +01:00
Tom van Woudenberg
45e269871b
BUMP 2024-12-06 15:37:01 +01:00
Robert Lanzafame
f669b640f9
Merge branch 'release' into apa-style 2024-12-06 18:00:07 +05:30
Tom van Woudenberg
4af75a8838
Update _config.yml 2024-12-06 12:58:10 +01:00
Tom van Woudenberg
ffd3768a01
Update _config.yml 2024-12-06 12:47:36 +01:00
Robert Lanzafame
080df45855
Merge branch 'release' into apa-style 2024-12-06 14:23:02 +05:30
douden
42c01ac33f added support for dark/light-mode logo 2024-12-05 16:20:42 +01:00
Robert Lanzafame
26483329f1 book setup 2024-12-05 10:54:31 +01:00
Tom van Woudenberg
4178edb956 Initial commit 2024-12-02 10:24:37 +01:00
Tom van Woudenberg
27e1e0ee76
Merge pull request #23 from TeachBooks/image-inverter
Added Image inverter
2024-11-28 08:46:40 +01:00
Tom van Woudenberg
4a973ba868
remove hypothesis 2024-11-28 08:46:12 +01:00
Tom van Woudenberg
dd871058cf
added image inverter 2024-11-28 08:38:44 +01:00
Tom van Woudenberg
94ed0027cd Added sphinx grasple as submodule 2024-11-19 09:40:44 +01:00
Tom van Woudenberg
794eda40d7 Merge branch 'release' of github.com:TeachBooks/manual into release 2024-11-16 14:51:43 +01:00
Tom van Woudenberg
16b4314de7 added suggest change button 2024-11-16 14:50:35 +01:00
Robert Lanzafame
d464bf9a0e
book config: update repo 2024-11-16 06:17:25 +02:00
Tom van Woudenberg
d213b18e61 remove TU Delft from footer 2024-11-11 13:01:29 +01:00
Tom van Woudenberg
21869ff005
Update _config.yml 2024-11-08 22:32:53 +01:00
Tom van Woudenberg
da68462609 close hyperlink footer 2024-11-01 11:34:12 +01:00