From 075f45e8068e4c0c06c1350158cc482e907faf34 Mon Sep 17 00:00:00 2001 From: zhengshanshan Date: Thu, 24 Oct 2024 17:28:30 +0800 Subject: [PATCH] update --- source/_templates/Fleft.html | 1 + source/_templates/FleftEn.html | 24 ++++++++++++++++++++++++ source/_templates/FooterEn.html | 26 ++++++++++++++++++++++++++ source/_templates/FrightEn.html | 22 ++++++++++++++++++++++ source/conf.py | 6 +++++- 5 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 source/_templates/FleftEn.html create mode 100644 source/_templates/FooterEn.html create mode 100644 source/_templates/FrightEn.html diff --git a/source/_templates/Fleft.html b/source/_templates/Fleft.html index 629b401..f0b1a60 100644 --- a/source/_templates/Fleft.html +++ b/source/_templates/Fleft.html @@ -20,4 +20,5 @@
资料下载
博客
文档中心
+
问答社区
\ No newline at end of file diff --git a/source/_templates/FleftEn.html b/source/_templates/FleftEn.html new file mode 100644 index 0000000..3b3fdc8 --- /dev/null +++ b/source/_templates/FleftEn.html @@ -0,0 +1,24 @@ + + \ No newline at end of file diff --git a/source/_templates/FooterEn.html b/source/_templates/FooterEn.html new file mode 100644 index 0000000..fc5d9bd --- /dev/null +++ b/source/_templates/FooterEn.html @@ -0,0 +1,26 @@ + + diff --git a/source/_templates/FrightEn.html b/source/_templates/FrightEn.html new file mode 100644 index 0000000..0510ba0 --- /dev/null +++ b/source/_templates/FrightEn.html @@ -0,0 +1,22 @@ + + \ No newline at end of file diff --git a/source/conf.py b/source/conf.py index c843218..2409208 100644 --- a/source/conf.py +++ b/source/conf.py @@ -12,7 +12,7 @@ project = 'K210 CanMV' copyright = '2024 Canaan Inc' -author = 'Canaan' +# author = 'Canaan' # release = '0.1' # -- General configuration --------------------------------------------------- @@ -71,3 +71,7 @@ "footer_center": ["Footer.html"], "footer_end" : ["Fright.html"], } +if language == 'en': + html_theme_options["footer_start"] = ["FleftEn.html"] + html_theme_options["footer_center"] = ["FooterEn.html"] + html_theme_options["footer_end"] = ["FrightEn.html"] \ No newline at end of file