This repository holds the sources for the documentation of the REST API that was released in 1.7.
The API documentation can be found here: api.akeneo.com.
Install Docker Engine.
make build
This is only building the documentation. The documentation is not available with this command, as it does not launch the HTTP server.
make watch
The REST API documentation site is then available on localhost:8000
.
Files located in the content and src directories are watched for changes, so when developing you do not need to launch any other task.
Once you merge a PR into the master
branch, it is automatically deployed on the production server. You have nothing to do.
In case you want to re deploy the Serenity documentation, look at the latest merge in master and click on Deployment.
Then click on Rerun.
As our YAML Swagger spec uses references and links, it is considered as non-valid.
During the build, we generate a valid JSON specification that is put under the content/swagger
folder. Don't forget to version it if you made any change into the YAML Swagger spec.