Skip to content

Latest commit

Β 

History

History
76 lines (59 loc) Β· 3.14 KB

File metadata and controls

76 lines (59 loc) Β· 3.14 KB

Robomous.ai


Documentation focused on OpenCV for Python. An open source project by Robomous for the community.

Built with Starlight

πŸš€ Project Structure

.
β”œβ”€β”€ public/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   β”œβ”€β”€ opencv_logo.svg
β”‚   β”‚   └── opencv_logo_white.svg
β”‚   β”œβ”€β”€ content/
β”‚   β”‚   └── docs/
β”‚   β”‚       β”œβ”€β”€ index.mdx              # English homepage
β”‚   β”‚       β”œβ”€β”€ getting-started/       # "Getting Started" section
β”‚   β”‚       β”‚   β”œβ”€β”€ what-is-opencv.mdx
β”‚   β”‚       β”‚   β”œβ”€β”€ installation.mdx
β”‚   β”‚       β”‚   └── quick-start.mdx
β”‚   β”‚       β”œβ”€β”€ fundamentals/          # "Fundamentals" section
β”‚   β”‚       β”‚   β”œβ”€β”€ digital-image.mdx
β”‚   β”‚       β”‚   └── introduction-to-computer-vision.mdx
β”‚   β”‚       β”œβ”€β”€ image-preprocessing/   # "Image Preprocessing" section
β”‚   β”‚       β”‚   └── index.md
β”‚   β”‚       └── es/                    # Spanish content (mirrors English structure)
β”‚   β”‚           β”œβ”€β”€ index.mdx
β”‚   β”‚           β”œβ”€β”€ getting-started/
β”‚   β”‚           β”œβ”€β”€ fundamentals/
β”‚   β”‚           └── image-preprocessing/
β”‚   └── styles/
β”‚       └── custom.css
β”œβ”€β”€ astro.config.mjs
β”œβ”€β”€ package.json
└── tsconfig.json

πŸ“ Content Organization

  • English content is located directly in src/content/docs/ (root level)
  • Spanish content is located in src/content/docs/es/
  • Starlight automatically generates routes based on the file structure
  • English content is served at root paths (e.g., /, /getting-started/quick-start/)
  • Spanish content is served under /es/ (e.g., /es/, /es/getting-started/quick-start/)

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
yarn install Installs dependencies
yarn dev Starts local dev server at localhost:4321
yarn build Build your production site to ./dist/
yarn preview Preview your build locally, before deploying
yarn astro ... Run CLI commands like astro add, astro check
yarn astro --help Get help using the Astro CLI

πŸš€ Deployment

For AWS Amplify deployment (configured in amplify.yml):

  • Build command: yarn build
  • Output directory: dist

πŸ‘€ Want to learn more?

Check out Starlight's docs, read the Astro documentation, or jump into the Astro Discord server.


This project is a contribution from Robomous to the open-source community, providing modern and up-to-date OpenCV documentation in an accessible format.