From d5418827332a40309b052503c6d3fdc9601be79c Mon Sep 17 00:00:00 2001 From: parulin <161326115+parulin@users.noreply.github.com> Date: Tue, 12 Aug 2025 09:25:54 -0400 Subject: [PATCH] Revert some configuration options * reuse html builder * rename videos extension to youtube_frame * remove HTML body max/min parameters * remove reference to release number in HTML title --- .readthedocs.yaml | 2 +- _ext/__init__.py | 0 _ext/{videos.py => youtube_frame.py} | 0 conf.py | 6 ++---- 4 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 _ext/__init__.py rename _ext/{videos.py => youtube_frame.py} (100%) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 9d7570ed..9a52b135 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,7 +10,7 @@ submodules: recursive: true sphinx: - builder: dirhtml + builder: html configuration: conf.py fail_on_warning: false diff --git a/_ext/__init__.py b/_ext/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/_ext/videos.py b/_ext/youtube_frame.py similarity index 100% rename from _ext/videos.py rename to _ext/youtube_frame.py diff --git a/conf.py b/conf.py index 7688c666..d61ea863 100644 --- a/conf.py +++ b/conf.py @@ -32,7 +32,7 @@ extensions = [ 'sphinx.ext.autosectionlabel', 'sphinxnotes.strike', 'sphinx_reredirects', - 'videos', + 'youtube_frame', ] redirects = { @@ -72,12 +72,10 @@ exclude_patterns = [ html_theme = 'sphinx_rtd_theme' -html_title = f'{project} {release} Documentation' +html_title = f'{project} Documentation' html_theme_options = { 'style_external_links': True, - 'body_min_width': '50%', - 'body_max_width': '90%', 'collapse_navigation': True, }