diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 5c6ca9d97..26e6c601e 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -55,6 +55,7 @@ jobs: run: | git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git pip install -e mkdocs-material-insiders + cp mkdocs-material-insiders/mkdocs.yml mkdocs.yml echo "THEME_DIR=mkdocs-material-insiders/material" >> $GITHUB_ENV - name: Deploy documentation diff --git a/mkdocs.yml b/mkdocs.yml index 14735a5b9..c6b74c4d1 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -24,8 +24,7 @@ site_url: https://squidfunk.github.io/mkdocs-material/ site_author: Martin Donath site_description: >- Create a branded static site from a set of Markdown files to host the - documentation of your Open Source or commercial project – customizable, - searchable, mobile-friendly, 40+ languages + documentation of your Open Source or commercial project # Repository repo_name: squidfunk/mkdocs-material @@ -53,14 +52,19 @@ theme: features: - content.code.annotate - content.tabs.link + # - header.autohide + # - navigation.expand + # - navigation.indexes # - navigation.instant - navigation.sections - navigation.tabs + # - navigation.tabs.sticky - navigation.top - navigation.tracking - search.highlight - search.share - search.suggest + # - toc.integrate palette: - scheme: default primary: indigo @@ -84,7 +88,6 @@ theme: # Plugins plugins: - search - - social - redirects: redirect_maps: changelog/insiders.md: insiders/changelog.md diff --git a/src/overrides/main.html b/src/overrides/main.html index 54fab2214..9f715940e 100644 --- a/src/overrides/main.html +++ b/src/overrides/main.html @@ -25,34 +25,7 @@ {% block extrahead %} - - {% set title = config.site_name %} - {% if page and page.title and not page.is_homepage %} - {% set title = config.site_name ~ " - " ~ page.title | striptags %} - {% endif %} - - - {% set image = config.site_url ~ 'assets/images/banner.png' %} - - - - - - - - - - - - - - - - - - - - + + {% endblock %}