Skip to content

dotenv-org/docs

Repository files navigation

dotenv.org/docs

All documentation for dotenv.org/docs lives here.

Originally a Tailwind UI site template built using Tailwind CSS and Next.js.

Getting started

To get started, first install the npm dependencies:

npm install

Next, run the development server:

npm run dev
NODE_ENV='production' npm run build

Finally, open http://localhost:3000 in your browser to view the website.

Customizing

You can start editing this repo by modifying the files in the /src folder. The site will auto-update as you edit these files.

Global search

This repo includes a global search that's powered by the FlexSearch library. It's available by clicking the search input or by using the ⌘K shortcut.

This feature requires no configuration, and works out of the box by automatically scanning your documentation pages to build its index. You can adjust the search parameters by editing the /src/markdoc/search.mjs file.

Learn more

Technologies used in this repo:

  • Tailwind CSS - the official Tailwind CSS documentation
  • Next.js - the official Next.js documentation
  • Headless UI - the official Headless UI documentation
  • Framer Motion - the official Framer Motion documentation
  • MDX - the official MDX documentation
  • Algolia Autocomplete - the official Algolia Autocomplete documentation
  • FlexSearch - the official FlexSearch documentation
  • Zustand - the official Zustand documentation