Skip to content

Latest commit

Β 

History

History
112 lines (83 loc) Β· 4.09 KB

File metadata and controls

112 lines (83 loc) Β· 4.09 KB

PlaceOS Documentation

Built with Starlight

Complete documentation hub for all PlaceOS products and services, built with Astro Starlight.

πŸ“š Documentation Sets

This repository contains documentation for multiple PlaceOS products:

  • PlaceOS Platform - Core platform documentation including deployment, APIs, and integrations
  • PlaceOS Workmate - Employee experience and workplace management solution
  • PlaceOS Digital Signage - Visual communication and display management solution

πŸš€ Project Structure

.
β”œβ”€β”€ public/                    # Static assets (logos, images)
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ content/
β”‚   β”‚   └── docs/
β”‚   β”‚       β”œβ”€β”€ index.mdx      # Documentation hub landing page
β”‚   β”‚       β”œβ”€β”€ placeos/       # PlaceOS Platform docs
β”‚   β”‚       β”œβ”€β”€ workmate/      # Workmate docs
β”‚   β”‚       └── signage/       # Digital Signage docs
β”‚   └── content.config.ts
β”œβ”€β”€ scripts/
β”‚   └── add-to-nav.js         # Helper script for contributors
β”œβ”€β”€ astro.config.mjs          # Site configuration
β”œβ”€β”€ netlify.toml              # Deployment configuration
β”œβ”€β”€ CONTRIBUTING.md           # Contributor guidelines
└── package.json

🧞 Commands

All commands are run from the root of the project:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check

✍️ Contributing

We welcome contributions to improve our documentation!

Quick Start for Contributors

  1. Create your markdown file in the appropriate directory:

    # Example: Add a new how-to guide
    touch src/content/docs/placeos/how-to/authentication/configure-ldap.md
  2. Add required frontmatter with title and description:

    ---
    title: Configure LDAP Authentication
    description: Set up LDAP authentication for PlaceOS
    ---
  3. Navigation updates automatically - no configuration needed!

  4. Test your changes locally:

    npm run dev

Adding New Documentation

The simplified process:

  • Choose the right directory (PlaceOS Platform, Workmate, Signage)
  • Create markdown files with proper frontmatter
  • Navigation generates automatically from directory structure
  • Use _meta.yml files for custom section labels and ordering

πŸ—οΈ Architecture

This documentation site uses:

  • Astro Starlight - Documentation framework
  • Starlight Auto Sidebar - Automatic navigation generation
  • Multi-documentation structure - Separate navigation for each product
  • File-based routing - Navigation generated from directory structure
  • _meta.yml customization - Local configuration for sections and ordering
  • Responsive design - Works on desktop, tablet, and mobile
  • Dark/light mode - Theme switching with appropriate logos

🌐 Deployment

The site is automatically deployed to Netlify when changes are pushed to the main branch.

πŸ”— Links

πŸ“„ License

This documentation is maintained by PlaceOS. For questions or support, contact support@placeos.com.