2017 © Pedro Peláez
 

sami-theme sami-one-page-theme

Sami theme for one page documentation.

image

gendoria/sami-one-page-theme

Sami theme for one page documentation.

  • Monday, June 5, 2017
  • by TiS
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,714 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 15 % Grown

The README.md

Sami one page template

Sami template for one page documentation., (*1)

Library created in cooperation with Hypermedia Poland, part of Dentsu Aegis Network., (*2)

Usage

use Sami\Sami;
use Sami\Version\GitVersionCollection;
use Symfony\Component\Finder\Finder;

$iterator = Finder::create()
    ->files()
    ->name('*.php')
    ->exclude('Resources')
    ->exclude('Tests')
    ->in($dir = '/path/to/symfony/src')
;

$versions = GitVersionCollection::create($dir)
    ->addFromTags('v2.0.*')
    ->add('2.0', '2.0 branch')
    ->add('master', 'master branch')
;

return new Sami($iterator, array(
    'theme'                => 'gendoria-one-page',
    'versions'             => $versions,
    'title'                => 'Symfony2 API',
    'build_dir'            => __DIR__.'/../build/sf2/%version%',
    'cache_dir'            => __DIR__.'/../cache/sf2/%version%',
    // use a custom theme directory (this works if you install your dependencies in vendor/ folder)
    'template_dirs'        => array(__DIR__.'/vendor/gendoria/sami-one-page-theme'),
    'default_opened_level' => 2,
));

Requirements

  • PHP >= 7.0
  • Sami >= 4.0.0

Installation

Via Composer:, (*3)

$ composer require "gendoria/sami-one-page-theme=~1.0"

License

This library is available under the GNU LESSER GENERAL PUBLIC LICENSE 3.0., (*4)

The Versions

05/06 2017

dev-master

9999999-dev

Sami theme for one page documentation.

  Sources   Download

LGPL-3.0

The Development Requires

by Gendoria

template theme sami

05/06 2017

1.0.1

1.0.1.0

Sami theme for one page documentation.

  Sources   Download

LGPL-3.0

The Development Requires

by Gendoria

template theme sami

05/06 2017

1.0.0

1.0.0.0

Sami theme for one page documentation.

  Sources   Download

LGPL-3.0

The Development Requires

by Gendoria

template theme sami