๐Ÿ“ฆ directus / docs

Documentation website for Directus, including quick starts, guides, and tutorials.

โ˜… 18 stars โ‘‚ 65 forks ๐Ÿ‘ 18 watching
directusdocs
๐Ÿ“ฅ Clone https://github.com/directus/docs.git
HTTPS git clone https://github.com/directus/docs.git
SSH git clone git@github.com:directus/docs.git
CLI gh repo clone directus/docs
LZylstra LZylstra Add Zapier docs (#519) 716532d 3 days ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ app
๐Ÿ“ content
๐Ÿ“ modules
๐Ÿ“ public
๐Ÿ“ server
๐Ÿ“ shared
๐Ÿ“„ .editorconfig
๐Ÿ“„ .env.example
๐Ÿ“„ .gitignore
๐Ÿ“„ .npmrc
๐Ÿ“„ content.config.ts
๐Ÿ“„ eslint.config.mjs
๐Ÿ“„ netlify.toml
๐Ÿ“„ nuxt.config.ts
๐Ÿ“„ package.json
๐Ÿ“„ pnpm-lock.yaml
๐Ÿ“„ README.md
๐Ÿ“„ tsconfig.json
๐Ÿ“„ README.md

Directus Logo


๐Ÿฐ Introduction

Welcome! This is the repo for Directus' documentation.

Learn more about Directus

๐Ÿ–ฅ๏ธ Running the Docs

Requirements

  • Node.js 22
  • pnpm

Install Dependencies

pnpm install

Setup Environment

Copy the example environment file:

cp .env.example .env

Update the environment variables in the .env file with proper secret keys for the different services.

Run Development Server

Start the development server on http://localhost:3000:

pnpm dev

Building Locally

pnpm build

โ˜๏ธ Deploying the Docs

The documentation automatically deploys to Vercel when changes are merged into the main branch. Simply:

  • Open a Pull Request with your changes
  • This should trigger a deploy preview as well.
  • Once PR is approved and merged to main, Vercel will automatically build and deploy the updated documentation

๐Ÿš€ Contributing


๐Ÿค” Community Help

Making changes to Algolia Search

The docs make use of the Algolia Crawler to index the content. The crawler is found at the bottom left in the Algolia dashboard under Data Sources > Crawler > directus. To make changes on how the crawler works, go to the Editor tab and make your changes. By default the crawler runs once a day but you can also manually run it. In order to tweak the ranking of search results, go to the Search > Configure > Index > Configuration > Ranking and Sorting tab.


ยฉ 2004-2024, Monospace, Inc.