[WORK IN PROGRESS]
This repository contains documentation for Go! AOP framework and related projects:
- Go! AOP framework: https://github.com/goaop/framework
- Symfony Bundle: https://github.com/goaop/goaop-symfony-bundle
- Laravel bridge: https://github.com/goaop/goaop-laravel-bridge
- Zend 2 module: https://github.com/goaop/goaop-zf2-module
- IDEA plugin (PHPStorm, IntelliJ): https://github.com/goaop/idea-plugin
To see current, development version of this documentation, go to http://go-aop-php.readthedocs.io/en/dev/ where this documentation is rendered online.
This documentation is written using reStructuredText (see http://docutils.sourceforge.net/rst.html).
HTML files are generated with Sphinix Python documentation generator. Assets are managed via Node.js and npm, compiled and published using Webpack.
- Sphinix Python documentation generator http://www.sphinx-doc.org/en/stable/install.html (which includes installation of Python and other required libraries, which depends on your operating system).
- Node.js and npm https://nodejs.org to run Webpack
- Webpack https://webpack.github.io to compile
and deploy web assets (
.sass,.js,.cssfiles, images, etc.). - Webpack Encore https://github.com/symfony/webpack-encore a wrapper for Webpack.
In general, you should install Sphinix and Node.js only. When you run
npm install from root directory of this project, all other dependencies
will be installed.
Documentation is built in three steps:
- Clean up
_build/doctrees,_build/htmland_staticdirectories from previous build. - Compiling all the assets by running
./node_modules/.bin/encore production. Command will start Webpack, compile all assets (.scssand.jsfiles and fonts) and place them into_staticdirectory. - Generating documentation by running
make htmlcommand. Command will convert all.rstfiles to.html, placing them into_builddirectory accompanied with_staticdirectory as well.
Of course, you can execute all of those commands by simply runing sh build.sh
script that will do all of those at once.