Giter Site home page Giter Site logo

stevegeek / compiledocs Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 6.0 120 KB

Create HTML pages from Markdown text documents and then automatically commit them to your git repo under the gh-pages branch ready for GitHub!

License: GNU Lesser General Public License v3.0

PHP 100.00%

compiledocs's Introduction

CompileDocs
-----------

Create HTML pages from Markdown text documents and then commit them to
your git repo under the gh-pages branch ready for GitHub!
Page theme with Smarty.


Dependencies:
PHP >= 5.3
PHP Markdown 	<http://michelf.com/projects/php-markdown/>
PHP Smartypants <http://michelf.com/projects/php-smartypants/>
PHP Smarty     	<http://www.smarty.net/>
(optional) git

Usage:
-----

    ./compiledocs <options>

    Options:
    -f, --force            : Force overwrite if output to folder (default no)
    -l, --location <path>  : Location of source folder (default .)
    -o, --output   <path>  : This will set the location for the generated files.
    -i, --index <doc name> : Doc to set as index.html. (default as automatically generated docs index)
    -g, --github           : If set before generating the docs the 'gh-pages' branch will attempt
                      to be checked out (it must exist already, created as specified at GitHub)
                      and the generated files place in the root). The result will then be
                      commited with either a default message including the generating time or
                      using the message specified by -m,--message. Use -d to also push.
                      (default off)
    -m, --message  <msg>   : Optional message for git commit.
    -d, --deploy           : Deploy, push the 'gh-pages' remote branch.
    -t, --template <name>  : Use Smarty template 'name'
    -p, --project <name>   : Optional project name
    -s, --silence          : Silence output (default off)
    -h, --help             : This help

 EG.

    ./compiledocs -l ../Docs -i About -g -m "Docs being updated" -d


License
------
GNU Lesser GPL

Authors
-------

Stephen Paul Ierodiaconou <[email protected]>

compiledocs's People

Watchers

 avatar  avatar

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.