This is the OXID eShop developer documentation.
The generated documentation can be found here: https://docs.oxid-esales.com/developer/en/7.0-rc.2/
If you want to contribute, please read https://docs.oxid-esales.com/developer/en/7.0-rc.2/index.html#help-improving-this-documentation. Generate the documentation locally in order to test your changes as described in the following section.
To generate documentation locally, our SDK with preconfigured Sphinx container can be used. Please refer to SDK README file Sphinx usage section.
Install sphinx.
Install the sphinx_rtd_theme (if it is missing).
Install the PHP highlighting extensions.
Install the plantuml extension.
If you have a mac PC, install plantuml separately e.g. via brew.
Either configure the path to the file plantuml.jar in the file config.py or put a wrapper script in your path as described in the link above.
- Clone thw documentation repository:
git clone https://github.com/OXID-eSales/developer_documentation.git
- To generate documentation, run:
cd developer_documentation sphinx-build ./ ./build
Open build/index.html file with your browser.
To generate diagrams using plantUml, use this command:
java -jar /opt/plantuml.jar -svg -o ./ **.puml
/opt/plantuml.jar - path to your plantUml file.
PlantUml will generate .svg files, which can be used in documentation.
By being in the root of the project (where Makefile is), install the documentation and required containers by using following commands:
git clone https://github.com/OXID-eSales/developer_documentation docs
make addsphinxservice docpath='./docs'
docker-compose up --build -d sphinx
To run documentation regeneration, use:
make generate-docs
Generated documentation will be available in docs/build folder