spiceai / docs

Documentation for Spice.ai
https://docs.spiceai.org
Apache License 2.0
10 stars 10 forks source link

Spice.ai OSS documentation

If you are looking to explore the Spice.ai OSS documentation, please go to the documentation website:

https://docs.spiceai.org

This repo contains the markdown files which generate the above website. See below for guidance on running with a local environment to contribute to the docs.

Overview

The Spice docs are built using Docusaurus hosted on GitHub Pages.

The spiceaidocs directory contains the Docusaurus project, markdown files, and theme configurations.

Pre-requisites

Environment setup

  1. Ensure pre-requisites are installed
  2. Clone this repository
git clone https://github.com/spiceai/docs.git
  1. Change to spiceaidocs directory:
cd ./docs/spiceaidocs
  1. Install npm packages:
npm install

Run local server

  1. Make sure you're still in the spiceaidocs directory
  2. Run
npm start
  1. Navigate to http://localhost:3000/

Update docs

  1. Fork repo into your account
  2. Create new branch
  3. Commit and push changes to forked branch
  4. Submit pull request from downstream branch to the upstream branch for the correct version you are targeting
  5. Staging site will automatically get created and linked to PR to review and test