pwa-devdocs
v13.3.1
Published
A documentation site for Magento PWA
Downloads
3
Readme
pwa-devdocs
This is the source code and documentation repository for the PWA Studios documentation site.
The PWA DevDocs site is build using Jekyll and hosted using GitHub Pages.
Getting Started
Use the following instructions to build a local instance of the documentation.
Prerequisites
Installation
- Clone the PWA Studio repository. If you want to contribute, fork the repository and clone from your fork.
- Change into the PWA Studio project root using the following command:
cd pwa-studio
- Change into the pwa-devdocs directory using the following command:
cd pwa-devdocs
- Run the following command to install the required node modules for the project:
npm install
- Run the following command to install the required Ruby libraries:
bundle install
Build site
In the pwa-devdocs directory, run the following command to build and run the site locally:
npm start
If you just want to generate the HTML pages in the _site
folder, run the following command:
npm run build
Testing
npm run lint
This command runs linting on the documentation to make sure it meets our standards.
To test a single file append the markdown file at the end of the lint command.
Example:
npm run lint -- src/technologies/versioning/index.md
Contributing
This is an open source project that welcomes contributors of all skill levels.
If you want to contribute, please review the contribution guidelines and follow our code of conduct.
License
This project is licensed under OSL-3.0 - see the LICENSE.txt file for details.