Deski

Creating docs posts

Estimated reading: 1 minute 130 views

Create new doc post entries in _docs folder, similar to creating posts, but with following front matter settings:

---
title: Accordion
container: wide-container
category: element
right_sidebar: true
search: true
banner: true
tags: [content,element]
custom_js:
- assets/prism/prism.js #extra css files here
custom_css:
- assets/prism/prism.css #extra css files here
---

Sidebar navigation on docs post can edited in _data/navigation_docs.yml:

- title: Content
  img: img/side-nav/document.png
  docs:
    - doc-content-image # Doc file name from _docs folder
    - doc-content-video
    - doc-content-tooltip

Leave a Comment

Share this Doc
CONTENTS