Socket
Book a DemoInstallSign in
Socket

docnav

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docnav

Create a DocPad directory structure based off of a yaml navigation

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

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'
---

Keywords

cli

FAQs

Package last updated on 04 Jan 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts