Skip to content

Create a DocPad directory structure based off of a yaml navigation

License

Notifications You must be signed in to change notification settings

amesarosh/DocNav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocNav

Create a DocPad directory structure based off of a yaml navigation file, including specific metadata.

Install

Requires node.js

[sudo] npm install -g docnav

Usage

> docnav
Options:
  -d  /src/documents directory  [required]
  -n  Location of Nav File      [required]

Example nav.yml

main:
  - ''
  - page-one:
    - child-one:
      - subchild-test-one
      - subchild-test-two
      - subchild-test-three
  - page-two:
    - child-two:
      - subchild-test
  - page-three
  - page-four

Metadata

By default, DocNav creates an index.html file in each of the directories. It also includes basic metadata for DocPad in each file.

---
layout: 'default'
title: 'Page One'
nav_title: 'Page One'
---

About

Create a DocPad directory structure based off of a yaml navigation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published