Skip to content

Commit

Permalink
增加仓库地址和下载静态资源 (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: zhengshanshan <[email protected]>
  • Loading branch information
shan187 and zhengshanshan authored May 29, 2024
1 parent 9deec11 commit 8aee090
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
14 changes: 0 additions & 14 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,3 @@ help:
mhtml:
@$(SPHINXMULTIVERSION) "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

_templates:
mkdir -p $(SOURCEDIR)/_templates

$(SOURCEDIR)/_templates/versionsFlex.html:
wget $(WEB_DOCS_BUILDER_URL)/_templates/$(@F) -O $@

$(SOURCEDIR)/_static/topbar.css:
wget $(WEB_DOCS_BUILDER_URL)/_static/$(@F) -O $@

$(SOURCEDIR)/_static/custom-theme.css:
wget $(WEB_DOCS_BUILDER_URL)/_static/$(@F) -O $@

$(SOURCEDIR)/_static/init_mermaid.js:
wget $(WEB_DOCS_BUILDER_URL)/_static/$(@F) -O $@
3 changes: 1 addition & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@
'collapse_navigation': True,
'use_repository_button': True,
'navigation_depth': 7,
"show_navbar_depth": True,
"use_edit_page_button": True,
"show_navbar_depth": 2,
"primary_sidebar_end": ["versionsFlex.html"],
}

Expand Down

0 comments on commit 8aee090

Please sign in to comment.