Adding a collection

To add a new collection, follow these steps:

  1. Define a collection in _config.yml in the collections section.

    Recommended settings:

     collections_dir: reference
         output: true
         permalink: /docs/:collection/:name/

    See the Jekyll Collections documentation for more YAML settings.

  2. Create a folder in the ~/reference/ folder. The folder name must begin with an underscore, as in _<COLLECTION_NAME>.
  3. Add .md files to the collection folder.
  4. Update the reference/ page.
    • Change the last_modified_date YAML tag to the appropriate date.
    • Add the new collection to the folder structure section.
    • Add a new section with the collection name and description.

You can access the files in a collection through the tag site.<COLLECTION_NAME>.