Skip to content

commerce-docs/commerce-contributor

 
 

Commerce Contributor

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.

Quick start

For local development, you need to start three servers:

  1. Content server (your content repo):

    npm run dev

    This starts the content server on port 3003.

  2. Code server (adp-devsite):

    git clone https://github.com/AdobeDocs/adp-devsite
    cd adp-devsite
    npm install
    npm run dev
  3. 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.

Testing and linting

Markdown linting

To lint your markdown files before pushing, execute:

npm run lint:md

To automatically fix linting errors, execute:

npm run lint:md:fix

Content validation

To check internal and external links, validate front matter and more, execute:

npm run lint

TOC validation

To validate the table of contents (TOC) file (src/pages/config.md), execute:

npm run test:config

About

Source of the Adobe Commerce and Magento Open Source Contributor guide

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%