From 7b36b05355f140f5192f69f4f3d26dc56c8a1685 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sun, 28 Jan 2024 17:18:39 +0800 Subject: chore(docs): update config --- docs/source/conf.py | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index c2403d47..6d172231 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,17 +19,19 @@ with open(PYPROJECT, "r", encoding="utf8") as f: PROJECT_VERSION = DATA["project"]["version"] PROJECT_NAME = DATA["project"]["name"] AUTHOR_TABLE = DATA["project"]["authors"] -AUTHORS = ",".join([f"{aut['name']}<{aut['email']}>" for aut in AUTHOR_TABLE]) +AUTHORS = ",".join([f"{aut['name']}" for aut in AUTHOR_TABLE]) # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information -project = PROJECT_NAME # "IamAI" +project = PROJECT_NAME # "Infini" release = PROJECT_VERSION # "latest" -copyright = "2023-PRESENT, HydroRoll-Team." -author = "Hsiang Nianian" # AUTHORS +copyright = ( + "2023-PRESENT, HydroRoll-Team x 浊莲." +) +author = AUTHORS # "Hsiang Nianian" -# html_title = "Who am I? I am AI." +html_title = "INFINI GENERATOR II" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration @@ -65,8 +67,10 @@ gettext_uuid = True # optional. html_theme = "furo" html_static_path = ["../_static"] -html_logo = "https://cdn.jsdelivr.net/gh/HydroRoll-Team/infini@master/docs/_static/logo.png" -html_favicon = html_logo +html_logo = ( + "https://cdn.jsdelivr.net/gh/HydroRoll-Team/infini@master/docs/_static/logo.png" +) +# html_favicon = html_logo html_css_files = [ "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/fontawesome.min.css", @@ -74,7 +78,7 @@ html_css_files = [ ] html_theme_options = { - "announcement": "documentation is still under construction now, welcome any contribution!", + # "announcement": "documentation is still under construction now, welcome any contribution!", "source_repository": "https://github.com/HydroRoll-Team/infini/", "source_branch": "master", "source_directory": "docs/source/", @@ -92,4 +96,4 @@ html_theme_options = { "class": "fa-brands fa-python", }, ], -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2