This repository is used to store the code for the Commerce Contributor documentation website. It is built using the Adobe Edge Delivery Services and deployed to Adobe Developer.
For local development, you need to start three servers:
-
Content server (your content repo):
npm run dev
This starts the content server on port 3003.
-
Code server (adp-devsite):
git clone https://github.com/AdobeDocs/adp-devsite cd adp-devsite npm install npm run dev -
Runtime connector (devsite-runtime-connector):
git clone https://github.com/aemsites/devsite-runtime-connector cd devsite-runtime-connector npm install npm run dev
Once all three servers are running, navigate to http://localhost:3000/<pathPrefix>
For common utilities and documentation, please see the centralized README.
To lint your markdown files before pushing, execute:
npm run lint:mdTo automatically fix linting errors, execute:
npm run lint:md:fixTo check internal and external links, validate front matter and more, execute:
npm run lintTo validate the table of contents (TOC) file (src/pages/config.md), execute:
npm run test:config