Merge pull request #55 from TeachBooks/iframes-improvement

Update requirements.txt
This commit is contained in:
Tom van Woudenberg 2025-02-20 12:58:33 +01:00 • committed by GitHub
commit 86f21e17f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 6 deletions

View file

@ -43,6 +43,7 @@ sphinx:
- download_link_replacer
- sphinx.ext.extlinks
- sphinx_image_inverter
- sphinx_iframes
- sphinx_exercise
- teachbooks_sphinx_tippy

View file

@ -28,10 +28,12 @@ Demonstration of all steps of this exercise, video available [here](https://yout
````
:::{card} Check your understanding
<iframe src="https://home.teachbooks.io/wp-admin/admin-ajax.php?action=h5p_embed&id=2" width="624" height="324" frameborder="0" allowfullscreen="allowfullscreen" title="Testing your knowledge"></iframe><script src="https://home.teachbooks.io/wp-content/plugins/h5p/h5p-php-library/js/h5p-resizer.js" charset="UTF-8"></script>
:::
::::{card} Check your understanding
```{h5p} https://home.teachbooks.io/wp-admin/admin-ajax.php?action=h5p_embed&id=2
```
::::
:::{card} Check your understanding
<iframe src="https://home.teachbooks.io/wp-admin/admin-ajax.php?action=h5p_embed&id=1" width="959" height="502" frameborder="0" allowfullscreen="allowfullscreen" title="Testing more Teachbooks knowledge"></iframe>
:::
::::{card} Check your understanding
```{h5p} https://home.teachbooks.io/wp-admin/admin-ajax.php?action=h5p_embed&id=1
```
::::

View file

@ -9,3 +9,6 @@ teachbooks-sphinx-tippy
# now list the packages (and the respective url) you wish to download from the GitLab package registry
--extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple
sphinx-thebe ~= 0.9.9
# Now list the files you want to download directly from GitHub
git+https://github.com/TeachBooks/sphinx-iframes.git