GitHub - emslade/interactive-service-description: Generates documentation from Guzzle service description · GitHub
Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

About

Generates documentation from Guzzle service description

Resources

Stars

11 stars

Watchers

2 watching

Forks

Latest commit

 

History

113 Commits

Folders and files

Repository files navigation

Installation

  • Run composer.phar install
  • Add vhost to point to public directory
  • Run ./bin/console generate:html /path/to/service.json public

Add configuration

// config/config.php
return array(
    'roles' => array(
        'role' => array(
            'base_url' => 'http://api.example.com',
            'consumer_key' => 'consumer_key',
            'consumer_secret' => 'consumer_secret',
            'token' => 'token',
            'token_secret' => 'token_secret',
        ),
    ),
    'serviceDescriptionPath' => '/path/to/service/description.json',
    'defaultRole' => 'role',
);

Contributing

Service Docs uses Sass, specifically the SCSS (Sassy CSS) syntax. If you wish to write CSS you’ll first need to install Sass.

With Sass installed, run sass --cache-location cache/ --style compressed --watch public/stylesheets/application.scss:public/css/application.css to have Sass watch the application file and update the CSS whenever it changes.

Credits

Icons by Jason Tropp, Stephen Boak, and Eric Miller all from the Noun Project.

About

Generates documentation from Guzzle service description

Resources

Stars

11 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages