# Adding and modifying these docs

# Clone locally

git clone https://github.com/variable-importer-pro/VIPRO-documentation.git documentation
cd documentation

You can add new pages to this site in ./docs/. The folders are the generated routes and their contents are the pages themselves, with a README.md file being the home or landing page of each route.

You can add new markdown files anywhere inside docs, for instance ./docs/workflow/SomeNewFeature.md. To include this in the sidebar for the Workflow route, you need to modify the ./docs/.vuepress/config.js file at line #76, like so:

// This is the main route
"/workflow/": [
  {
    title: "Workflow", // The text displaying in the sidebar
    collapsable: false,
    children: ["", "Variable Types", "SomeNewFeature"], // The files inside, with or without ".md" extension. "" is equal to "./README"
  },
],

# Install

Run npm install from the repos root to install vuepress.

# Development

Run npm run dev to generate a localhost of this documentation site.

# Deployment

Run npm run build to generate a production build of the site

TIP

The site is set up with continuous deployment. There's no need to run npm run build to update the live site, just push a new commit to the repo and it will update automatically.