diff --git a/css/theme.css b/css/theme.css index 00d59a1..3966afc 100644 --- a/css/theme.css +++ b/css/theme.css @@ -229,6 +229,10 @@ code.code-large { font-size: 90%; } +div.alert > pre > code { + line-height: initial; +} + dfn { font-style: italic; } diff --git a/docnetjson.htm b/docnetjson.htm index 05625d3..a919149 100644 --- a/docnetjson.htm +++ b/docnetjson.htm @@ -39,6 +39,7 @@
  • Site configuration with the docnet.json file
  • Automatic H2 level ToC entry discovery
  • @@ -100,7 +101,8 @@ "__index" : "index.md", "Title Page 3" : "filename_page3.md", "Title Page 4" : "filename_page4.md" - } + }, + "Auto generated" : "reference/**" } } @@ -121,7 +123,15 @@

    Each level, starting with the root, has a special page defined, __index. This page is the page shown when the level header (in the example above this is e.g. Sub Header 1) is clicked in the navigation. If __index is specified in the root level, it's assigned to the navigation name Home. If there's no __index specified, there will still be a page generated but it will have default content (See below). The names of the elements are case sensitive.

    Levels without __index defined

    If a level has no __index defined, DocNet will create a __index entry for the level and will specify as target <path to index of parent>/nameoflevel.md. If the page exists it will be loaded as the content for the index of the level, if it doesn't exist, the HTML will simply contain the topictitle and a list of all the sub topics in the level. This guarantees the tree can always be navigated in full.

    - +

    Use of wildcard inclusions

    +

    If a level has a string value ending with **, it will process all .md files in the folders and subfolders and generate htm files from them. It will use the following process:

    +
      +
    1. Search (recursively) for all markdown (.md) files inside the specified folder (e.g. reference)
    2. +
    3. Generate index (htm) files for all folders
    4. +
    5. The title of the markdown files will be retrieved from the actual markdown files (so the first non-empty line will be used as title)
    6. +
    +
    Info

    The wildcard inclusion feature is extremely useful for referene or API documentation (mostly generated by a 3rd party tool)

    +