add edit this page button

This commit is contained in:
Deborah Barnard
2024-04-15 14:44:15 +01:00
parent 461f85769a
commit bd20febdc2
2 changed files with 13 additions and 0 deletions

View File

@@ -201,6 +201,10 @@
border: 0;
}
.md-content__button > svg {
border: 0;
}
/* remove lightbox controls so users can't slideshow */
.gnext, .gprev {
display: none !important;
@@ -252,6 +256,10 @@
}
}
.md-header__source {
display:none;
}
/* dark mode */
/* [data-md-color-scheme="dark"] .md-header{
box-shadow: none;

View File

@@ -1,6 +1,9 @@
site_name: n8n Docs
site_url: https://docs.n8n.io/
site_description: Documentation for n8n, a workflow automation platform.
# Must be the docs repo for the edit page buttons to work
repo_url: https://github.com/n8n-io/n8n-docs
edit_uri: edit/main/docs/
validation:
nav:
omitted_files: info
@@ -22,6 +25,8 @@ theme:
features:
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-header/#announcement-bar
- announce.dismiss
# https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#code-actions
- content.action.edit
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-annotations
- content.code.annotate
# https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#linked-content-tabs