GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fosrl/docs: Documentation for Pangolin

BranchesTags
Open more actions menu

Latest commit

 

History

796 Commits
796 Commits

Folders and files

NameName
Last commit message
Last commit date
analytics-dashboard
analytics-dashboard
 
 
app
app
 
 
components
components
 
 
content
content
 
 
lib
lib
 
 
public
public
 
 
.dockerignore
.dockerignore
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
next.config.mjs
next.config.mjs
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.mjs
postcss.config.mjs
 
 
proxy.ts
proxy.ts
 
 
tsconfig.json
tsconfig.json
 
 
vercel.json
vercel.json
 
 

Repository files navigation

Pangolin Documentation

The Pangolin docs site, built with Fumadocs on Next.js.

Development

npm install
cp .env.example .env.local   # optional: add an AI key
npm run dev                  # http://localhost:3000

Other scripts: npm run build, npm start, npm run types:check.

The site works without an AI key. To enable the assistant, set one provider key in .env.local (ANTHROPIC_API_KEY, OPENAI_API_KEY, or GOOGLE_GENERATIVE_AI_API_KEY). See .env.example for model, OpenAI-compatible endpoint, and rate-limit options.

Analytics

Readers can rate each page (👍/👎) and each AI answer. Every AI chat and every search-bar query (with its result count, so searches that found nothing stand out) is recorded so you can see what people look for.

  • Storage: the docs server forwards events to the Fossorial API (/api/v1/docs-analytics), which stores them in its Postgres and deletes anything older than 90 days. Set FOSSORIAL_API_URL and FOSSORIAL_API_KEY (the API's API_KEY) (see .env.example); without them nothing is stored and the site works as usual.
  • Viewing: analytics-dashboard/ is a separate app that reads the API's database directly. See its README.
  • Readers are anonymous: votes carry a random id kept in the browser's localStorage, nothing else.

Writing docs

  • Pages live in content/docs/**/*.mdx. The URL is the file path.
  • The sidebar is defined in lib/navigation.json. A page that isn't listed there is still published; it just doesn't appear in the sidebar.
  • Callouts and layout components (Note, Info, Tip, Warning, Check, Card, CardGroup, Columns, Steps/Step, Tabs/Tab, Accordion/AccordionGroup, Expandable, ResponseField, Frame, Update) are implemented in components/mintlify.tsx. Icon names are mapped in components/icons.tsx.
  • Code blocks: ```yaml title="config.yml" {3-5} sets a title and highlights lines 3–5. To make tabbed code, put consecutive blocks with tab="Name" in a row.
  • Shared snippets live in content/snippets/ and are pulled in with <include>../../snippets/file.mdx</include>.
  • Images go in public/images/ and are referenced as /images/....

About

Documentation for Pangolin

docs.pangolin.net

Topics

pangolin

Resources

Readme
MIT license
Activity
Custom properties

Stars

14 stars

Watchers

2 watching

Forks

55 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.