Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

generator-canonical-documentation

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-canonical-documentation

A skeleton example of Markdown documentation in the recommended structure to be build with documentation-builder

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

Yeoman generator for Canonical documentation

This is a yeoman generator for quickly genrating a skeleton project of documentation in Markdown format, according to the recommended structure we use at Canonical:

Starting a new repository

To generate a new documentation repository:

sudo npm install -g generator-canonical-documentation  # Install the generator

mkdir my-documentation  # Create your new folder
cd my-documentation     # Change to the directory
yo canonical-documentation

This will create a skeleton of your documentation files.

Repository structure

├── en
│   ├── index.md         # The first page of documentation
│   └── metadata.yaml    # Contains the navigation for English pages
├── media                # A folder to keep images and other media
│   └── logo.png         # An example logo
├── metadata.yaml        # Contains global site information
├── README.md            # About this documentation
└── versions             # Version branches to build

This documentation can then be built using the documentation-buider:

$ documentation-builder 
Skipping uppercase files:
- README.md
Built:
- build/en/index.html
Copied ./media to build/media

Keywords

yeoman-generator

FAQs

Package last updated on 01 Apr 2017

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