From e8afa021418123085ed5cbe517f15e44e3194822 Mon Sep 17 00:00:00 2001 From: Geert van Horrik Date: Wed, 5 Jul 2017 10:44:57 +0200 Subject: [PATCH] Add docs for not found (404) page --- MarkdownSource/docnet.json | 3 ++- MarkdownSource/notfound.md | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 MarkdownSource/notfound.md diff --git a/MarkdownSource/docnet.json b/MarkdownSource/docnet.json index 1d20649..8505ebd 100644 --- a/MarkdownSource/docnet.json +++ b/MarkdownSource/docnet.json @@ -14,7 +14,8 @@ "Configuration" : { "Site configuration with the docnet.json file" : "docnetjson.md", - "Automatic H2 level ToC entry discovery" : "h2leveldiscovery.md" + "Automatic H2 level ToC entry discovery" : "h2leveldiscovery.md", + "Not found (404) page" : "notfound.md" }, "Authoring content" : { diff --git a/MarkdownSource/notfound.md b/MarkdownSource/notfound.md new file mode 100644 index 0000000..7735568 --- /dev/null +++ b/MarkdownSource/notfound.md @@ -0,0 +1,6 @@ +Not found (404) page +==================== + +`Docnet` will automatically create a not found (404) page in the root of the destination folder named `404.htm`. + +If no `404.md` file is found in the root of the source folder, the file will be generated with default content. If a file is found, the `404.md` will be used to generate the not found (404) page. \ No newline at end of file