2017 © Pedro Peláez
 

silverstripe-module silverstripe-docgenerator

Generate APIGen docs on flush

image

firesphere/silverstripe-docgenerator

Generate APIGen docs on flush

  • Sunday, September 24, 2017
  • by Firesphere
  • Repository
  • 1 Watchers
  • 3 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 5 Versions
  • 6 % Grown

The README.md

Docblock Generator

Scrutinizer CodeClimate Travis, (*1)

This tiny wrapper on APIGen will generate documentation from your PHP Docblocks annotations. There's really nothing more to it., (*2)

Usage

Add the wished module, and it's target directory in your config.yml like this:, (*3)

DocGenerator:
  enabled: false
  document_modules:
    modulename: "Target/Directory/Relative/to/DocRoot"

Adviced is to only enable it in dev, like this:, (*4)

Only:
  environment: 'dev'
---
DocGenerator:
  enabled: true
  document_modules:
    docgenerator: "docgenerator/docs/en/apidocs"

Documentation build by APIGen will be build in the target directory specific for each module., (*5)

Also, you can generate single API docs for multiple directories/modules at once:, (*6)

---
Only:
  environment: 'dev'
---
DocGenerator:
  enabled: true # doc generator control switch
  multi_module_enabled: true # multi module doc generator control switch
  multi_module_destination: "apidocs" # documentation generator target directory
  multi_modules:
    - mysite
    - framework
    - mymodule
    - myothermodule
    - ...

Documentation build by APIGen multi_module_enabled: true will be stored in single directory., (*7)

Did you read this entire readme? You rock!

Pictured below is a cow, just for you., (*8)


/( ,,,,, )\ _\,;;;;;;;,/_ .-"; ;;;;;;;;; ;"-. '.__/`_ / \ _`\__.' | (')| |(') | | .--' '--. | |/ o o \| | | / \ _..=.._ / \ /:. '._____.' \ ;::' / \ .; | _|_ _|_ ::| .-| '==o==' '|-. / | . / \ | \ | | ::| | | .| | ( ') (. )::| |: | |; U U ;|:: | `| |' | | \ U U / |' | | ##V| |_/`"""`\_| |V## ##V## ##V##

The Versions

24/09 2017

dev-develop

dev-develop

Generate APIGen docs on flush

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

documentation docblock annotations silverstripe

24/09 2017

dev-master

9999999-dev

Generate APIGen docs on flush

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

documentation docblock annotations silverstripe

17/04 2016

0.0.2

0.0.2.0

Generate APIGen docs on flush

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

documentation docblock annotations silverstripe

16/04 2016

0.0.1.1

0.0.1.1

Generate APIGen docs on flush

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

documentation docblock annotations silverstripe

16/04 2016

0.0.1

0.0.1.0

Generate APIGen docs on flush

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

documentation docblock annotations silverstripe