From 19615d1a2af7a41f5ddae5f4f75d53ef94c6eb97 Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Wed, 26 Oct 2022 17:42:47 +0200 Subject: [PATCH] add edit button --- docs/stylesheets/extra.css | 15 +++++---------- mkdocs.yml | 5 ++++- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index cfb6c22..9f101dd 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -1,15 +1,10 @@ .center { - display: block; - margin: auto; - margin-bottom: 5%; - margin-top: -5%; + display: block; + margin: auto; + margin-bottom: 5%; + margin-top: -5%; } .inline-center-left { - float: right; + float: right; } - -.md-typeset h1, -.md-content__button { - display: none; -} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 4df2d5b..a006288 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,8 +1,9 @@ site_name: Self-Data Grandlyon - Technical Docs site_description: A Collection of Technical Documentations Related to the Self-Data Grandlyon Projects. site_author: Métropole de Lyon -repo_name: "Clone the Project" +repo_name: "Forge link" repo_url: "https://forge.grandlyon.com/web-et-numerique/llle_project/self-data-technical-doc" +edit_uri: "https://forge.grandlyon.com/web-et-numerique/llle_project/self-data-technical-doc/-/blob/master/docs/" theme: name: "material" @@ -19,6 +20,8 @@ theme: - navigation.tabs - navigation.top - navigation.instant + icon: + edit: material/file-edit-outline markdown_extensions: - pymdownx.inlinehilite -- GitLab