/pyrocms-docs

Documentation for PyroCMS.

Primary LanguagePHP

PyroCMS Documentation

This repo is home to the PyroCMS documentation source.

Doc Status

These docs will be released with PyroCMS 2.1, so information in these docs may not pertain to the current stable release, PyroCMS 2.0. Once PyroCMS 2.1 is released, we will begin to tag the docs with the same tags as PyroCMS.

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 adam@pyrocms.com.