diff --git a/conf.py b/conf.py index 1699424b..72b3335f 100644 --- a/conf.py +++ b/conf.py @@ -21,7 +21,7 @@ project = 'Learn Multibody Dynamics' html_title = project -copyright = '2022-2025, Jason K. Moore' +copyright = '2022-2026, Jason K. Moore' author = 'Jason K. Moore' version = '0.5.dev0' @@ -64,6 +64,10 @@ # labeled, using :numref:`my_figure`. numfig = True +# Make sure that autosectionlabel generates unique labels even if the same +# section titles appear in different pages. +autosectionlabel_prefix_document = True + # Sphinx >=4 default to MathJax v3, but v3 does not support wrapping lines. So # force Sphinx to use v2 and config MathJax to wrap long lines. mathjax_path = "https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML"