Skip to content

valkey-io/valkey-glide-docs

Repository files navigation

Valkey GLIDE Documentation

This repository host the source for the Valkey GLIDE documentation site.

Technology

The site is built with Starlight, an Astro framework for building static documentation sites.

The framework provides out-of-the-box features for building documentations like components, site search, navigation, and integrations with MDX files. It also leverages Astro's features like island architecture to build dynamic components.

Getting Started

First clone the repo and install the required tools.

git clone git@github.com:valkey-io/valkey-glide-docs.git

# npm is fine too.
brew install pnpm

Then install the dependencies

cd ./valkey-glide-docs
pnpm install

For development, run pnpm dev. It will spin up a hot-loading development server to serve the documentation pages.

Link Checker

We use lychee to check for broken links. Configuration rules (exclusions) are defined in our lychee.toml.

To start, install lychee.

brew install lychee

Then to run the build and check links:

pnpm build:check-links

Making Content Changes

In general, page contents are located under src/content/docs.

  • For simple content update, change the appropriate .mdx files in the folder structure.
  • To create a new page, add a new .mdx file under src/content/docs.
  • To change the navigation sidebar, update astro.config.mjs.

Note that all .mdx files requires a frontmatter.

---
title: Your page title.
---

Your contents follows ...

About

Official Valkey GLIDE documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8

Languages