Source: ZoosGlobal/documentation Visibility: Private This page is automatically synchronized from the repository README. Do not edit this generated file directly.
Zoos Global Documentation Portal
Section titled βZoos Global Documentation PortalβWelcome to the internal engineering, infrastructure, and operational documentation portal for Zoos Global. This portal serves as the single source of truth for our technical workflows, guidelines, architectural patterns, and corporate policies.
Built using Astro and Starlight, the site is designed to be highly performant, searchable, and easy to update.
π Project Structure
Section titled βπ Project StructureβThe project conforms to the following layout:
zoosglobal-docs/βββ .github/β βββ workflows/β βββ sync-readmes.yml # CI/CD GitHub Actions workflow for syncβββ public/β βββ favicon.svg # Browser faviconβββ src/β βββ assets/β β βββ logo.png # Corporate brand logoβ βββ components/β β βββ overrides/ # Starlight component overrides (Header, Sidebar, PageTitle, ...)β β βββ home/ # Homepage widgets (Hero, StatCard, CategoryCard, ...)β β βββ repo/ # Repository catalog cardβ β βββ page/ # Per-document chrome (Breadcrumbs, MetaBar, RelatedDocs, ...)β β βββ sidebar/ # Left navigation tree rendererβ β βββ search/ # Pagefind search enhancements (recent/popular searches)β β βββ mdx/ # Reusable authoring components (Timeline, Checklist, ...)β β βββ Icon.astro # Shared inline icon setβ βββ data/β β βββ announcements.ts # Homepage "Engineering announcements" β edit directly to publishβ βββ lib/β β βββ docs.ts # Shared content helpers (formatting, icons, category metadata)β β βββ homepage.ts # Homepage data aggregation (recent, pinned, health stats)β βββ pages/β β βββ index.astro # Custom homepage ("Engineering Command Center")β β βββ browse/[category].astro # Category listing pagesβ β βββ repositories/index.astro# Repository catalogβ βββ scripts/β β βββ local-store.ts # localStorage helpers (favorites, recently viewed)β βββ styles/β β βββ tokens.css # Design tokens (color, type, spacing, motion)β β βββ custom.css # Global chrome + markdown content restylingβ βββ content/β βββ docs/β βββ getting-started/ # Onboarding & workstation setup guidesβ βββ engineering/ # Architecture, deployment, standards & the component libraryβ βββ devops/ # AWS structure, Terraform, & Datadogβ βββ policies/ # Security policies & access controlβ βββ repositories/ # [Generated] Synchronized GitHub READMEsβββ scripts/β βββ sync-github-readmes.mjs # Node.js sync script for GitHub READMEsβββ astro.config.mjs # Astro & Starlight configurationβββ package.json # Project metadata & dependency definitionsβββ README.md # This fileThe homepage and repository catalog are built as custom Astro pages (via Starlightβs
<StarlightPage> API) rather than Markdown, so they can pull live data β recently updated docs,
documentation coverage, pinned pages β instead of being hand-maintained. Regular content pages keep
using Markdown/MDX under src/content/docs/ exactly as before.
Frontmatter reference
Section titled βFrontmatter referenceβEvery document under src/content/docs/ supports a richer, fully optional frontmatter schema
(defined in src/content.config.ts) that powers the homepage widgets, meta bar and search facets:
docType, status, category, tags, owner, team, environment, difficulty, docVersion,
related, pinned, and featured. See src/content/docs/engineering/component-library.mdx for a
live reference of every reusable authoring component (callouts, tabs, timelines, checklists,
decision trees, service cards, and more).
π οΈ Getting Started
Section titled βπ οΈ Getting StartedβPrerequisites
Section titled βPrerequisitesβMake sure you have the following installed on your machine:
- Node.js: v20 or newer (LTS recommended)
- npm: Installed with Node.js
1. Installation
Section titled β1. InstallationβClone the repository and install the dependencies from the root directory:
npm install2. Run the Development Server
Section titled β2. Run the Development ServerβStart the local development server to preview pages:
npm run devBy default, the documentation will be accessible at http://localhost:4321.
3. Build for Production
Section titled β3. Build for ProductionβTo compile a static production build into the ./dist/ directory:
npm run buildπ Repository README Synchronization
Section titled βπ Repository README SynchronizationβThe portal features an automated synchronization pipeline that pulls README files from all active repositories in the ZoosGlobal GitHub organization and places them under the Repositories section.
Manual Sync
Section titled βManual SyncβTo run the sync script locally, you must provide a read-only GitHub token with access to the organizationβs repositories:
export GITHUB_READ_TOKEN="your_github_token"npm run sync:readmesAutomated Sync
Section titled βAutomated SyncβA GitHub Action is configured at .github/workflows/sync-readmes.yml which:
- Runs automatically every 6 hours.
- Pulls the latest READMEs from the organization.
- Automatically commits and pushes changes back to this repository.
βοΈ Development Guidelines
Section titled ββοΈ Development Guidelinesβ- Adding Content: To add new static documentation, create a Markdown (
.md) or MDX (.mdx) file under the corresponding sub-folder insrc/content/docs/. Addcategory/tags/ownerfrontmatter so it surfaces correctly in search, the homepage and/browse/<category>/. - Configuring Sidebar: Category groupings and ordering are managed automatically by folder routing configuration inside
astro.config.mjs. - Reusable Components: Use the components documented in
src/content/docs/engineering/component-library.mdx(info cards, timelines, checklists, decision trees, service cards, terminal blocks) instead of hand-rolling new UI in content pages. - Mermaid Diagrams: Not wired up yet β rendering Mermaid requires adding a remark/rehype plugin (e.g.
rehype-mermaid) toastro.config.mjs.
Maintained by the Zoos Global Engineering Team. If you have any questions or find any outdated information, please open a PR or reach out in the #docs-feedback Slack channel.

