From 0131dda1c3555795ee49247b7acbb06a0ee44996 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sun, 8 Sep 2024 11:27:09 +0800 Subject: Feat submodule (#107) * chore(submodules): update submodules with new repos and paths, adjust workflow for api build * chore(submodules): remove outdated submodules and adjust workflow for api build * (chore(submodules): remove outdated submodules and adjust workflow for api build) * chore(submodules): add new submodule echo and update workflow for api build * chore(submodules): add new submodules TRPGNivis, HydroRollCore, GetPlayerCard, conventional_role_play, DiceParser and update workflow for api build * chore(submodules): add new submodules DiceParser, infini and update workflow for api build * chore(submodules): move submodules, update api docs build and remove old ones * chore(submodules): move submodules, update api docs build and remove old ones * chore(submodules): update submodules with new repos and paths, adjust workflow for api build * chore(submodules): move submodules, update api docs build and remove old ones * chore(submodules): update submodules with new repos and paths, adjust workflow for api build * chore(docs): update api docs with sphinx-apidoc * chore(submodules): update api docs build workflow with combined commands * chore(docs): update api docs with sphinx-apidoc * chore(submodules): move submodules, update api docs build and remove old ones again * chore(submodules): update submodules with new repos and paths, adjust workflow for api build * chore(docs): update api docs with sphinx-apidoc * chore(submodules): remove submodules and update api docs build workflow * chore(submodules): move submodules, update api docs build and remove old ones again * chore(submodules): move submodules again, adjust api docs build workflow * chore(docs): update api docs with sphinx-apidoc --------- Co-authored-by: HsiangNianian --- docs/source/conf.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'docs/source/conf.py') diff --git a/docs/source/conf.py b/docs/source/conf.py index 91ed631..3b0d12d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -67,6 +67,7 @@ html_static_path = ["../_static"] _html_logo = ( "https://cdn.jsdelivr.net/gh/HydroRoll-Team/HydroRoll@main/docs/_static/logo.png" ) +html_logo = _html_logo html_favicon = _html_logo html_css_files = [ @@ -74,11 +75,20 @@ html_css_files = [ "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/brands.min.css", ] +html_copy_source = True +html_show_sourcelink = True + html_theme_options = { "announcement": "documentation is still under construction now, welcome any contribution!", "source_repository": "https://github.com/HydroRoll-Team/HydroRoll/", "source_branch": "main", "source_directory": "docs/source/", + # Toc options + # "collapse_navigation": True, + # "sticky_navigation": False, + # "navigation_depth": 1, + # "includehidden": False, + # "titles_only": True, "footer_icons": [ { "name": "GitHub", @@ -94,3 +104,15 @@ html_theme_options = { }, ], } + +# html_sidebars = { +# "**": [ +# "sidebar/scroll-start.html", +# "sidebar/brand.html", +# "sidebar/search.html", +# "sidebar/navigation.html", +# "sidebar/ethical-ads.html", +# "sidebar/scroll-end.html", +# ] +# } + -- cgit v1.2.3-70-g09d2