diff --git a/book/_config.yml b/book/_config.yml index 7dfb1d3..1cf67a0 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -18,6 +18,7 @@ sphinx: - teachbooks_sphinx_grasple - sphinx_apa_references - sphinx_github_alerts + - sphinx_metadata_figure config: html_js_files: - https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js @@ -45,6 +46,12 @@ sphinx: macros: "newcolor": ['\definecolor{newcolor}{RGB}{111, 29, 119}{\color{newcolor}#1}',1] named_colors_custom_colors: {'onlylight':[165,21,160],'lightanddark':[45,180,117,204,158,110],'hyphen-color':[45,180,117,165,21,160],'attributiongrey':[150,150,150]} + metadata_figure_settings: + style: + placement: hide + license: + summaries: false + individual: false teachbooks: attribution_location: margin diff --git a/book/_toc.yml b/book/_toc.yml index dcbfc9d..17e5d9b 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -88,6 +88,7 @@ parts: - file: features/exercise.md - external: https://github.com/TeachBooks/Sphinx-ref-graph/blob/manual/README.md - external: https://github.com/TeachBooks/Sphinx-GitHub-Alerts/blob/main/README.md + - external: https://github.com/TeachBooks/Sphinx-Metadata-Figure/blob/main/MANUAL.md - file: features/visuals.md sections: - external: https://github.com/TeachBooks/Sphinx-Accessibility/blob/manual/README.md diff --git a/requirements.txt b/requirements.txt index 8cc3f83..a2233b4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,6 +3,8 @@ sphinx-inline-tabs git+https://github.com/TeachBooks/TeachBooks-Favourites +sphinx-metadata-figure==1.0.0 + teachbooks-sphinx-grasple sphinx-apa-references