From 68c7cecb07967b5fbfdc2fd0f900a938a5225b14 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 3 Dec 2022 18:29:14 +0100 Subject: [PATCH 1/4] add mkdocs site to gitignore --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a93b8139a..ff17f9e33 100644 --- a/.gitignore +++ b/.gitignore @@ -51,8 +51,8 @@ coverage.xml # Django stuff: *.log -# Sphinx documentation -docs/_build/ +# MkDocs documentation +site/ # PyBuilder target/ From 6bd9ccd8f69e163acb522833bb65b9a07763b1ce Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 3 Dec 2022 18:30:02 +0100 Subject: [PATCH 2/4] update default edit path --- mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mkdocs.yml b/mkdocs.yml index 8339c957c..9de918b5b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -27,6 +27,7 @@ theme: repo: fontawesome/brands/github favicon: assets/favicon.png repo_url: https://github.com/paperless-ngx/paperless-ngx +edit_uri: blob/main/docs/ extra_css: - assets/extra.css markdown_extensions: From 15fdadadef30b40811dcac54bf9fabbde277e759 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 3 Dec 2022 19:36:49 +0100 Subject: [PATCH 3/4] open demo in new page --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 7ecd8c717..eb5cdebf3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ physical documents into a searchable online archive so you can keep, well, _less paper_. [Get started](/setup/){ .md-button .md-button--primary .index-callout } -[Demo](https://demo.paperless-ngx.com){ .md-button .md-button--secondary } +[Demo](https://demo.paperless-ngx.com){ .md-button .md-button--secondary target=_blank }
From 17891bafaf8bd7dfcbfc949efddb6bd2d61ec62b Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 3 Dec 2022 20:02:40 +0100 Subject: [PATCH 4/4] lint --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index eb5cdebf3..75a09b229 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ physical documents into a searchable online archive so you can keep, well, _less paper_. [Get started](/setup/){ .md-button .md-button--primary .index-callout } -[Demo](https://demo.paperless-ngx.com){ .md-button .md-button--secondary target=_blank } +[Demo](https://demo.paperless-ngx.com){ .md-button .md-button--secondary target=\_blank }