2017 © Pedro Peláez
 

yii2-extension yii2-markdocs-module

Renders markdown files from local folder as views

image

schmunk42/yii2-markdocs-module

Renders markdown files from local folder as views

  • Thursday, July 5, 2018
  • by schmunk
  • Repository
  • 2 Watchers
  • 6 Stars
  • 15,922 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 18 Versions
  • 4 % Grown

The README.md

yii2-markdocs-module

Renders markdown files from URLs or local files in views., (*1)

You can either display the documentation of your online GitHub repo nicely rendered in a custom theme. Or provide application documention in the backend from local files., (*2)

Requirements

  • configured pheme/yii2-settings module and component
  • configured RBAC access control, permission: docs_default

Installation

The preferred way to install this extension is through composer., (*3)

Run, (*4)

composer require schmunk42/yii2-markdocs-module "*"

Configuration

Usage

Configuration

Via Settings module, (*5)

Section: <module-id>, (*6)

Keys, (*7)

  • markdownUrl
  • forkUrl
  • defaultIndexFile
  • cachingTime

Keys can also be prefixed with a schema key, eg guide.markdownUrl and selected via URL parameter docs/?schema=guide, so you can include multiple documentations within a single module., (*8)

Render Markdown markdocs/default

Can render local files or raw data from an URL., (*9)

Render API documentation markdocs/html

Example command for dmstr/phd5-app, (*10)

$ php -dmemory_limit=512M vendor/bin/apidoc api \
    --template=online \
    --exclude=yiisoft,Test,Tests,test,tests,ezyang,phpdocumentor,nikic,php_codesniffer,phptidy,php-cs-fixer,faker \
    src/,vendor/ \
    runtime/html

dmstr logo Built by dmstr

The Versions

05/07 2018

dev-feature/js-toc

dev-feature/js-toc

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

05/03 2018

dev-master

9999999-dev

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

10/07 2017

0.4.0-rc2

0.4.0.0-RC2

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

10/07 2017

0.4.0

0.4.0.0

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

21/11 2016

0.4.0-rc1

0.4.0.0-RC1

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

30/09 2016

0.4.0-beta4

0.4.0.0-beta4

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

29/09 2016

0.4.0-beta3

0.4.0.0-beta3

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

29/09 2016

0.4.0-beta2

0.4.0.0-beta2

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

24/09 2016

0.4.0-beta1

0.4.0.0-beta1

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

23/09 2016

dev-feature/assets

dev-feature/assets

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

23/09 2016

0.4.0-alpha2

0.4.0.0-alpha2

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

03/08 2016

dev-feature/develop-0.4

dev-feature/develop-0.4

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

03/08 2016

0.4.0-alpha1

0.4.0.0-alpha1

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

22/12 2015

dev-feature/settings

dev-feature/settings

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

22/12 2015

0.3.0

0.3.0.0

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

05/12 2015

0.2.0

0.2.0.0

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

25/06 2015

0.1.0

0.1.0.0

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2

26/01 2015

0.0.1

0.0.1.0

Renders markdown files from local folder as views

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2