Spice.ai documentation
If you are looking to explore the Spice.ai documentation, please go to the documentation website:
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.ai docs are built using Hugo with the Docsy theme, hosted on GitHub Pages.
The spiceaidocs directory contains the hugo project, markdown files, and theme configurations.
Pre-requisites
Environment setup
- Ensure pre-requisites are installed
- Clone this repository
git clone https://github.com/spiceai/docs.git
- Change to spiceaidocs directory:
cd ./docs/spiceaidocs
- Update submodules:
git submodule update --init --recursive
- Install npm packages:
npm install
Run local server
- Make sure you're still in the
spiceaidocs
directory - Run
hugo server
- Navigate to
http://localhost:1313/
Update docs
- Fork repo into your account
- Create new branch
- Commit and push changes to forked branch
- Submit pull request from downstream branch to the upstream branch for the correct version you are targeting
- Staging site will automatically get created and linked to PR to review and test