diff website/www/conf.py @ 7740:67438e439da8

docs: issue2551317 add support for jinja2 customization examples Added sphinx-tabs to doc build. This allows adding code-tabs one for "TAL" examples and one for "Jinja2" examples in the doc. Converted partly the "Editing multiple items in an index view" example. Sombody who knows jinja2 better than I, and can test the example will need to finish it. Documented requirement and method for building docs in developers.txt. Added requirements.pip files for pip install -r ... modules needed for processing docs. Fixed missing block in layout.txt that stopped tabs.css from being loaded.
author John Rouillard <rouilj@ieee.org>
date Sat, 17 Feb 2024 18:56:04 -0500
parents 4376d8c19b2a
children 828f79ae965b
line wrap: on
line diff
--- a/website/www/conf.py	Tue Feb 13 20:31:42 2024 -0500
+++ b/website/www/conf.py	Sat Feb 17 18:56:04 2024 -0500
@@ -43,7 +43,10 @@
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx_sitemap']
+extensions = ['sphinx_sitemap', 'sphinx_tabs.tabs']
+
+sphinx_tabs_valid_builders = ['linkcheck']
+sphinx_tabs_disable_tab_closing = True
 
 # for sitemap default: "{lang}{version}subdir/{link}"
 sitemap_url_scheme = "{link}"

Roundup Issue Tracker: http://roundup-tracker.org/