From a7b614a1c525484efeced46c2b76ee74b610bc0c Mon Sep 17 00:00:00 2001 From: Gauthier POGAM--LE MONTAGNER Date: Wed, 1 Jun 2022 02:57:57 +0200 Subject: [PATCH] Improve navigation (#243) * Add repo_url and copyright to mkdocs.yml * Add nav configuration to structure menu * Typo Co-authored-by: TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com> --- mkdocs.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index 038f9f7..6bd7587 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,8 +1,38 @@ site_name: Invidious Documentation site_url: https://docs.invidious.io/ +repo_url: https://github.com/iv-org/documentation site_author: The Invidious project. site_description: >- The official Invidious documentation +copyright: CC0 1.0 Universal (CC0 1.0) + +nav: + - Home: 'index.md' + - 'General': + - 'instances.md' + - 'export-youtube-subscriptions.md' + - 'preferences.md' + - 'applications.md' + - 'search-filters.md' + - 'url-parameters.md' + - 'proxy-videos.md' + - 'geoblocking.md' + - 'umatrix.md' + - 'known-exception.md' + - 'faq.md' + - 'For Administrators': + - 'installation.md' + - 'configuration.md' + - 'apache2.md' + - 'nginx.md' + - 'db-maintenance.md' + - 'captcha-bug.md' + - 'anti-captcha.md' + - 'takedown.md' + - 'For Developers': + - 'api.md' + - 'authenticated-endpoints.md' + theme: name: material font: false @@ -14,6 +44,7 @@ theme: - navigation.tracking # https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-tracking - navigation.expand # https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-expansion - navigation.top # https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#back-to-top-button + extra: social: - icon: fontawesome/brands/github