GithubHelp home page GithubHelp logo

mdcpepper / craft-plugin-documentation-outline Goto Github PK

View Code? Open in Web Editor NEW

This project forked from putyourlightson/craft-plugin-documentation-outline

0.0 1.0 0.0 65 KB

A reusable documentation outline for Craft CMS plugins.

craft-plugin-documentation-outline's Introduction

Craft CMS Plugin Documentation Outline

What follows is intended to be a reusable documentation outline for Craft CMS plugins.

While every plugin’s documentation will be unique, it is useful to have a common structure that makes it easy to read and navigate. This documentation outline is displayed on a single page, however it can be split into multiple pages if necessary.

A real world example of a plugin that uses this documentation outline is the Blitz plugin.

This is a community resource and contributions are welcome through pull requests.


Gamma Plugin for Craft CMS 3

Add a summary of what the plugin does and how it can help end-users in a few sentences.

The Gamma plugin provides useful, intelligent, insightful and rather vague functionality to sites running on Craft CMS.

It helps end-users by giving them insights into all manner of things, allowing them to make more informed decisions about their website and business.

Embed an image beneath the text if appropriate. Images should be stored in a folder in the same repository, for example in /docs/images.

Plugin image

Contents

A table of contents containing the top-level headings (H2) makes the documentation easier to navigate. Second-level navigation (H3) can be added if appropriate.

License

For a commercial license you should state the license and renewal fees.

This plugin requires a commercial license which can be purchased through the Craft Plugin Store.
The license fee is $X plus $Y per subsequent year for updates (optional).

For a free license you should state

This plugin is licensed for free under the MIT License.

Requirements

State the required minimum version of Craft and any other dependencies.

This plugin requires Craft CMS 3.0.0 or later.

Usage

Installing a plugin is straightforward and doesn’t require more than a single sentence.

Install the plugin from the Craft Plugin Store in your site’s control panel or manually using composer.

composer require putyourlightson/craft-gamma

Provide a description of how to set up the plugin and begin using it. More details of how the plugin works will go in the How It Works section.

Once the plugin is installed, it will begin collecting data about your site straight away. You can view the results and reports in the plugin page in the control panel.

You can output reports in your twig templates using the following tags:

{{ craft.gamma.reports }}

Settings

Give a summary of the plugin settings or explain what each of the settings does. Embed a screenshot beneath the text if appropriate.

Enable Reporting

Enables the collection of data about the site for generation reports.

Detail Level

The level of detail to collect about the site.

  • Low : collects site data only.
  • Medium : collects site and user data.
  • High : collects site, user and interaction data.

If the plugin comes with a config.php file then describe how to use it and explain any settings that are not already explained above.

Configuration Settings

The plugin comes with a config file for a multi-environment way to set the plugin settings. The config file also provides more advanced plugin configuration settings. To use it, copy the config.php to your project’s main config directory as gamma.php and uncomment any settings you wish to change.

Ignore Sites

An array of site IDs to ignore when collecting data.

Ignore Users

An array of user IDs to ignore when collecting data.

How It Works

Use this section to go in-depth into how the plugin works, using subsections and screenshots where appropriate.

The plugin monitors various things, collecting data about your sites, users and interactions.

Data Collection

Data is collected automatically as the site is used.

Reporting

Reports are created based on collected data.

Roadmap

Add planned features so that users can see what is in the pipeline.

Version 2.x

  • Better multi-site support.
  • Visual reports and graphs.
  • More advanced configuration settings.

Credits

Credit anyone who deserves it.

Inspired in part by pluginfactory.io.

Created by PutYourLightsOn.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.