michaelkeiluweit / developer_documentation

OXID eShop Developer Documentation

Home Page:https://docs.oxid-esales.com/developer/en/6.4/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OXID eShop developer documentation

https://travis-ci.org/OXID-eSales/developer_documentation.svg?branch=master

This is the OXID eShop developer documentation.

The generated documentation can be found here: https://docs.oxid-esales.com/developer/en/6.5/

If you want to contribute, please read https://docs.oxid-esales.com/developer/en/6.5/index.html#help-improving-this-documentation. Generate the documentation locally in order to test your changes as described in the following section.

Generating docs locally

Section describes how to generate documentation locally.

  1. First of all you'll need to install sphinx

  2. Install the PHP highlighting extensions

  3. Install the plantuml extension. Either configure the path to the file plantuml.jar in the file config.py or put a wrapper script in your path like described in the link above.

  4. Clone documentation repository:
    git clone https://github.com/OXID-eSales/developer_documentation.git
  5. To generate documentation run:
    cd developer_documentation
    sphinx-build ./ ./build
  6. Open build/index.html file with your browser.

Generating diagrams

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.

Using OXID SDK for regenerating the 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

About

OXID eShop Developer Documentation

https://docs.oxid-esales.com/developer/en/6.4/

License:GNU General Public License v3.0


Languages

Language:Python 42.3%Language:HTML 39.5%Language:CSS 18.2%