From 651bcb0e89f348c5c17266eb012d87951862720c Mon Sep 17 00:00:00 2001 From: kendryte747 <116556725+kendryte747@users.noreply.github.com> Date: Tue, 6 Aug 2024 10:21:45 +0800 Subject: [PATCH] Update doc, add baidu statistics (#15) Co-authored-by: zhengshanshan --- docs/source/_templates/layout.html | 24 ++++++++++++++++++++++++ docs/source/conf.py | 5 +++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 docs/source/_templates/layout.html diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html new file mode 100644 index 0000000..f2d7d22 --- /dev/null +++ b/docs/source/_templates/layout.html @@ -0,0 +1,24 @@ + +{% extends "!layout.html" %} + +{% block extrahead %} +{{ super() }} + + + +{% endblock %} diff --git a/docs/source/conf.py b/docs/source/conf.py index bf72da9..8211111 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -10,8 +10,8 @@ # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information -project = 'Arduino-K210' -copyright = '2023 Canaan Inc' +project = 'K210 Arduino' +copyright = '2024 Canaan Inc' author = 'Canaan' # release = '0.1' @@ -32,6 +32,7 @@ '.rst': 'restructuredtext', '.md': 'markdown', } +html_title = 'K210 Arduino' templates_path = ['_templates'] exclude_patterns = []