diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7256bec..00b94cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v3 - name: Install Requirements. - run: pip3 install sphinx==5.3.0 sphinx_multiversion sphinx_book_theme sphinxcontrib-mermaid myst-parser + run: pip3 install sphinx==5.3.0 sphinx_multiversion sphinx_book_theme sphinx_copybutton sphinxcontrib-mermaid myst-parser - name: Build run: | diff --git a/source/conf.py b/source/conf.py index 96e5b10..5a8c54c 100644 --- a/source/conf.py +++ b/source/conf.py @@ -69,8 +69,7 @@ "repository_url": "https://github.com/kendryte/canmv_docs", 'collapse_navigation': True, 'navigation_depth': 7, - "use_edit_page_button": True, - "use_edit_page_button": True, "show_navbar_depth": 2, + "use_repository_button": True, "primary_sidebar_end": ["versionsFlex.html"], }