contribute-docs
Note This page in active development.
The new conda-store documentation website is built using Docusaurus 2 and organized using the Diátaxis framework.
Local Development
Pre-requisites
- Fork and clone the conda-store repository:
git clone https://github.com/<your-username>/conda-store.git
- Install Node.js, and verify the installation with
node -v
Local development
You can also create an isolated environment for development.
From the root of the repository, navigate to the /docusaurus-docs
directory, and run:
npm install
You can then start a development server with the following:
npm run start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
The only time you'd need to restart the server is if you are making changes to the documentation site through the docusaurus.config.js
file.
Build website
Run:
npm run build
This command generates static content into the build
directory and can be served using any static contents hosting service.