aimeos / aimeos-docs

Aimeos documentation
https://aimeos.org/docs
100 stars 23 forks source link
aimeos documentation ecommerce laravel symfony typo3

Aimeos Documentation

Everyone is invited to improve the documentation! :-)

How to contribute

Just fork the repository, edit and add files, commit your changes and create a pull request:

Fork Aimeos docs

Local setup (optional)

Read on, if you want to know, how to edit the documentation locally using Git and preview your changes on your local machine.

Setting up a git workflow

Build and live reload your local clone (optional)

Contributing to aimeos-docs does not require anything else but editing the markdown files. However, if you would like to run a local version of the generated docs, you need Python 3. This enables the local generation of the complete aimeos-docs as well as running a local development server that reloads automatically as soon as changes to the repository files are detected.

Install Python 3

Please refer to sources on the internet for explanations on how to install Python 3 on your operating system. One such resource would be Real Python: Installing Python.

Install mkdocs and required dependencies

aimeos-docs uses mkdocs to create static html files from markdown files. Install mkdocs and the dependencies required by aimeos-docs with pip:

pip install mkdocs mkdocs-material
pip install plugins/

Start the local server

Run mkdocs serve to start a local server on http://127.0.0.1:8000. Now, whenever you make changes to any file, the server will automatically reload and display your edited version.

Build the docs

To build the aimeos-docs locally, use mkdocs build. You can now open the documentation in your browser from the newly generated <your-aimeos-docs-clone-folder>/docs´s index.html.

Troubleshooting

Due to some configuration limits, mkdocs serve will tell you that it couldn't find versions.js. Also, mkdocs serve as well as mkdocs build might warn about an unknown analytics configuration attribute. You can safely ignore these warnings.