Skip to content

Latest commit

 

History

History
executable file
·
55 lines (31 loc) · 2.27 KB

readme.md

File metadata and controls

executable file
·
55 lines (31 loc) · 2.27 KB

PyroCMS Documentation

This repo is home to the PyroCMS documentation source.

Doc Status

Documentation is tagged and released with each stable release, so when 2.1.1 comes out the "2.1" branch will be updated to that latest version. Development documentation is also kept in here, so currently the "2.2" documentation is still a work in progress.

Contributing to the Docs

To contribute to the PyroCMS docs, fork this repo to your local environment. The PyroCMS docs run off of Fizl, which is a flat-file based CMS written in CodeIgniter. It doesn't need a database to run, so you should be able to load up the docs easily.

The actual doc files are contained in the content folder, and the folder structure mirrors the URL structure. Each page is a markdown file, so for instance, the Constants and Globals file is named constants-and-globals.md.

Helping Grow the Docs

Right now the following are high needs areas for the docs:

  • Spotting and fixing broken internal doc links
  • Porting over tag reference pages
  • Documenting modules
  • Checking docs for spelling, grammar, and clarity

If you have doc feedback, please feel free to use the GitHub inline code commenter.

Docs Style Guide

Format

All doc files must be .md files and written in Markdown (except for HTML tables which can be written in plain HTML).

Internal doc links should be formatting using Fizl's link plugin. Here's an example:

{{ link uri="general/basics/organization" title="Organization" }}

The yellow "tip" boxes (as seen on such pages as the Lex Parser developer guide) should follow this HTML structure:

<div class="tip"><strong>Note:</strong> Content Here</div>

These boxes should be used when there is important information the user should take note of that may get lost in a general paragraph.

Organization

The docs are organized into four sections:

  • General Info
  • Modules & Tags
  • Developers
  • PyroCMS Pro

Within these sections are sub sections separated into columns.

If you are creating a new page, it should fit reasonably within one of the existing sections. If you think we need a new section, or want to suggest some organizational changes, please email [email protected].