This documentation is available at https://devdocs.prestashop.com/
Contributions are more than welcome! Find out how.
-
Clone the repository somewhere on your system:
git clone https://github.com/PrestaShop/docs.git
-
Switch to the
docs
directory:cd docs
-
Create
.env
file by.env.example
:cp .env.example .env
-
Launch Hugo service:
docker-compose up hugo
TL;DR:
- Mac and Linux:
./bin/installHugo.sh
- Windows: Grab the release binary
Or read the Official install guide.
This is only needed if you want to customize the style.
git clone https://github.com/PrestaShop/docs.git
-
Switch to the
src
directory:cd /path/to/docs/src
-
Launch Hugo:
hugo server
You may need to change the path to the
hugo
binary depending on where it is on your system -
Done! You can open up the site on your browser.
It's usually available at http://localhost:1313
Any change you perform on your data will be updated almost instantly.
We use Sass for styling and Webpack for bundling.
Source files for the main css are in this directory:
src/themes/hugo-theme-learn/_src/sass
-
Install NPM dependencies (only the first time)
docker-compose run --rm npm install
-
Launch build
docker-compose run --rm npm run build
-
Switch to the theme's
_src
foldercd src/themes/hugo-theme-learn/_src
-
Install NPM dependencies (only the first time)
npm install
-
Launch build
npm run build
Content from this documentation is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.