Browse Source

updated missing file mess

pull/81/head
Frans Bouma 8 years ago
parent
commit
db3b299541
7 changed files with 6 additions and 115 deletions
  1. +2
    -2
      Configuration.htm
  2. +1
    -1
      MarkdownSource/docnet.json
  3. +0
    -6
      MarkdownSource/notfoundpage.md
  4. +1
    -1
      docnetjson.htm
  5. +1
    -1
      h2leveldiscovery.htm
  6. +0
    -103
      notfoundpage.htm
  7. +1
    -1
      search_index.json

+ 2
- 2
Configuration.htm View File

@@ -40,7 +40,7 @@
</li> </li>
<li class="tocentry"><a href="h2leveldiscovery.htm">Automatic H2 level ToC entry discovery</a> <li class="tocentry"><a href="h2leveldiscovery.htm">Automatic H2 level ToC entry discovery</a>
</li> </li>
<li class="tocentry"><a href="notfoundpage.htm">Not found (404) page</a>
<li class="tocentry"><a href="notfound.htm">Not found (404) page</a>
</li> </li>


</ul> </ul>
@@ -84,7 +84,7 @@
<ul> <ul>
<li><a href="docnetjson.htm">Site configuration with the docnet.json file</a></li> <li><a href="docnetjson.htm">Site configuration with the docnet.json file</a></li>
<li><a href="h2leveldiscovery.htm">Automatic H2 level ToC entry discovery</a></li> <li><a href="h2leveldiscovery.htm">Automatic H2 level ToC entry discovery</a></li>
<li><a href="notfoundpage.htm">Not found (404) page</a></li>
<li><a href="notfound.htm">Not found (404) page</a></li>
</ul> </ul>


</div> </div>


+ 1
- 1
MarkdownSource/docnet.json View File

@@ -15,7 +15,7 @@
{ {
"Site configuration with the docnet.json file" : "docnetjson.md", "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" : "notfoundpage.md"
"Not found (404) page" : "notfound.md"
}, },
"Authoring content" : "Authoring content" :
{ {


+ 0
- 6
MarkdownSource/notfoundpage.md View File

@@ -1,6 +0,0 @@
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.

+ 1
- 1
docnetjson.htm View File

@@ -73,7 +73,7 @@
</ul> </ul>
<li class="tocentry"><a href="h2leveldiscovery.htm">Automatic H2 level ToC entry discovery</a> <li class="tocentry"><a href="h2leveldiscovery.htm">Automatic H2 level ToC entry discovery</a>
</li> </li>
<li class="tocentry"><a href="notfoundpage.htm">Not found (404) page</a>
<li class="tocentry"><a href="notfound.htm">Not found (404) page</a>
</li> </li>
</ul> </ul>


+ 1
- 1
h2leveldiscovery.htm View File

@@ -40,7 +40,7 @@
</li> </li>
<li class="tocentry current"><a class="current" href="h2leveldiscovery.htm">Automatic H2 level ToC entry discovery</a> <li class="tocentry current"><a class="current" href="h2leveldiscovery.htm">Automatic H2 level ToC entry discovery</a>
</li> </li>
<li class="tocentry"><a href="notfoundpage.htm">Not found (404) page</a>
<li class="tocentry"><a href="notfound.htm">Not found (404) page</a>
</li> </li>


</ul> </ul>


+ 0
- 103
notfoundpage.htm View File

@@ -1,103 +0,0 @@
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Not found (404) page - DocNet Documentation</title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="css/theme.css" type="text/css" />
<link rel="stylesheet" href="css/theme_colors.css" type="text/css" />
<link rel="stylesheet" href="css/styles/vs.css">
<link rel="stylesheet" href="css/font-awesome.4.5.0.min.css">
</head>
<body role="document">
<div class="grid-for-nav">
<nav data-toggle="nav-shift" class="nav-side stickynav">
<div class="side-nav-search">
<a href="index.htm"><i class="fa fa-home"></i> DocNet Documentation</a>
<div role="search">
<form id="search-form" class="form" action="Docnet_search.htm" method="get">
<input type="text" name="q" placeholder="Search docs" />
</form>
</div>
</div>
<div class="menu menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul>
<li class="tocentry"><a href="index.htm">Home</a>
</li>

<li class="tocentry"><a href="usage.htm">Usage</a>
</li>
<li class="tocentry">
<ul>
<li><span class="navigationgroup"><i class="fa fa-caret-down"></i> <a href="Configuration.htm">Configuration</a></span></li>
<li class="tocentry"><a href="docnetjson.htm">Site configuration with the docnet.json file</a>
</li>
<li class="tocentry"><a href="h2leveldiscovery.htm">Automatic H2 level ToC entry discovery</a>
</li>
<li class="tocentry current"><a class="current" href="notfoundpage.htm">Not found (404) page</a>
</li>

</ul>
</li>
<li class="tocentry">
<span class="navigationgroup"><i class="fa fa-caret-right"></i> <a href="Authoringcontent.htm">Authoring content</a></span>
</li>
<li class="tocentry"><a href="search.htm">Search</a>
</li>
<li class="tocentry"><a href="acknowledgements.htm">Acknowledgements</a>
</li>
<li class="tocentry"><a href="license.htm">License</a>
</li>
</ul>
<div class="toc-footer">
<span class="text-small">
<hr/>
<a href="https://github.com/FransBouma/DocNet" target="_blank">Made with <i class="fa fa-github"></i> DocNet</a>
</span>
</div>
</div>
&nbsp;
</nav>
<section data-toggle="nav-shift" class="nav-content-wrap">
<nav class="nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="nav-top" class="fa fa-bars"></i>
<a href="index.htm">DocNet Documentation</a>
</nav>
<div class="nav-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<div class="breadcrumbs">
<ul><li><a href="index.htm">Home</a></li> / <li><a href="Configuration.htm">Configuration</a></li> / <li><a href="notfoundpage.htm">Not found (404) page</a></li></ul>
</div>
<hr />
</div>
<div role="main">
<div class="section">
<h1 id="not-found-404-page">Not found (404) page<a class="headerlink" href="#not-found-404-page" title="Permalink to this headline"><i class="fa fa-link" aria-hidden="true"></i></a></h1>
<p><code>Docnet</code> will automatically create a not found (404) page in the root of the destination folder named <code>404.htm</code>.</p>
<p>If no <code>404.md</code> file is found in the root of the source folder, the file will be generated with default content. If a file is found, the <code>404.md</code> will be used to generate the not found (404) page.</p>

</div>
</div>
<footer>
<hr />
<div role="contentinfo">
Made with DocNet. Get your copy at: <a href='https://github.com/FransBouma/DocNet' target='_blank'>https://github.com/FransBouma/DocNet</a>.
</div>
</footer>
</div>
</section>
</div>
<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/modernizr-2.8.3.min.js"></script>
<script src="js/highlight.pack.js"></script>
<script src="js/theme.js"></script>

</body>
</html>

+ 1
- 1
search_index.json View File

@@ -19,7 +19,7 @@
"title": "Automatic H2 level ToC entry discovery" "title": "Automatic H2 level ToC entry discovery"
}, },
{ {
"location": "notfoundpage.htm",
"location": "notfound.htm",
"breadcrumbs": "Home / Configuration / Not found (404) page", "breadcrumbs": "Home / Configuration / Not found (404) page",
"keywords": "404 a automatically be content create default destination Docnet file folder found generate generated htm If in is md named no not Not of page root source the to used will with", "keywords": "404 a automatically be content create default destination Docnet file folder found generate generated htm If in is md named no not Not of page root source the to used will with",
"title": "Not found (404) page" "title": "Not found (404) page"


Loading…
Cancel
Save