From d58331ef02cf2470d175f3911fface997d381ef1 Mon Sep 17 00:00:00 2001 From: Alexandre Bobkov Date: Sun, 29 Jun 2025 19:57:18 -0400 Subject: [PATCH] ESP-NOW RC Tutorial --- ESP-IDF_Robot/tutorial/docs/source/conf.py | 24 +++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/ESP-IDF_Robot/tutorial/docs/source/conf.py b/ESP-IDF_Robot/tutorial/docs/source/conf.py index 8e55118fc..df7e6b3eb 100644 --- a/ESP-IDF_Robot/tutorial/docs/source/conf.py +++ b/ESP-IDF_Robot/tutorial/docs/source/conf.py @@ -14,9 +14,12 @@ release = '06-2025' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration -extensions = [] +extensions = [ + "sphinx_simplepdf", +] templates_path = ['_templates'] +include_patterns = ['*.rst', '*.md'] exclude_patterns = [] @@ -26,3 +29,22 @@ exclude_patterns = [] html_theme = 'alabaster' html_static_path = ['_static'] + +# -- Options for simplepdf output -------------------------------------------- +simplepdf_css = '_static/simplepdf_alex.css' +simplepdf_coverpage = True +simplepdf_toc_depth = 3 +simplepdf_title = 'ESP-IDF ESPNOW RC Car' +simplepdf_author = 'Alexander B.' +simplepdf_file_name = 'cms-setup-guide.pdf' +simplepdf_vars = { + 'cover-image': '_static/ESP32C3_Breadboard-Adapter.png', + 'cover-overlay': '#047e2c', + 'cover-bg': "#034b1b", + 'primary-opaque': 'rgba(26, 150, 26, 0.8)', + 'primary': "#1A961A", + 'secondary': "#379683", + 'cover': "#FFFFFF", + 'links': "#790000", + 'bottom-center-content': '"Getting RC onn the road"', + 'bottom-right-content': '"Alexander B."',