The Akeneo PIM documentation
Clone this repository.
Install Sphinx.
$ sudo pip install --upgrade pip
$ sudo pip install sphinx~=1.5.3
$ sudo pip install git+https://github.com/fabpot/sphinx-php.git
$ sudo pip install git+https://github.com/mickaelandrieu/sphinxcontrib.youtube.git $ brew install python
$ pip install sphinx
$ pip install git+https://github.com/fabpot/sphinx-php.git
$ pip install git+https://github.com/mickaelandrieu/sphinxcontrib.youtube.gitIf you encounter the following error
ValueError: ('Expected version spec in', 'sphinx~=1.5.3', 'at', '~=1.5.3')Usepip install --upgrade pipbefore install sphinx
Download composer curl -s https://getcomposer.org/installer | php and run php composer.phar install.
From the ./pim-docs directory, run:
$ sphinx-build -b html . ../pim-docs-buildThe documentation will be generated inside ../pim-docs-build.
From the ./pim-docs directory, run:
$ sphinx-build -nWT -b linkcheck . _build/Install pim-community
Then, go to Akeneo PIM src/ directory and create a symlink Acme pointing to pim-docs/src/Acme.
Add all Acme bundles in app/AppKernel.php file.
The needed files for Akeneo Styleguide are installed with the composer install. When you build the documentation,
you will have an empty page /styleguide/index.html. You have to add a RewriteRule on your Apache configuration
to redirect to /styleguide/index.php:
RedirectMatch 301 /styleguide/index.html /styleguide/index.php
Don't hesitate to suggest cookbook ideas via https://github.com/akeneo/pim-docs/issues
- The folder
/_themes/sphinx_rtd_themeis a clone from https://github.com/snide/sphinx_rtd_theme, and was updated on 2016-07. If you want to customize the Akeneo theme, please only update/_theme/akeneo_rtdtheme.