The official developer documentation site for Glean. This site provides comprehensive documentation for Glean's APIs, SDKs, and developer tools.
This documentation site includes:
- API Reference: Complete documentation for Glean's Client API and Indexing API
- Getting Started Guides: Step-by-step tutorials for new developers
- API Client Documentation: Libraries for Python, Java, Go, and TypeScript
- Integration Guides: Examples for popular frameworks and platforms
- MCP (Model Context Protocol): Documentation for Glean's MCP implementation
- Changelog: Release notes and updates
This project uses mise to manage tool versions. Install mise first, then run:
mise install
This will automatically install the correct versions of Node.js and Yarn as specified in mise.toml
.
Clone the repository and install dependencies:
git clone <repository-url>
cd glean-developer-site-wip
yarn install
Start the development server:
yarn start
This command starts a local development server and opens your browser to http://127.0.0.1:8888
. Most changes are reflected live without having to restart the server.
yarn start
- Start development serveryarn build
- Build the site for productionyarn serve
- Serve the built site locallyyarn clear
- Clear Docusaurus cache
├── docs/ # Documentation content
│ ├── api/ # API reference documentation
│ ├── api-info/ # API authentication and setup guides
│ ├── get-started/ # Getting started guides
│ ├── guides/ # Feature guides and tutorials
│ └── libraries/ # SDK and library documentation
├── src/ # React components and utilities
│ ├── components/ # Custom React components
│ ├── theme/ # Docusaurus theme customizations
│ └── utils/ # Utility functions
├── static/ # Static assets
├── changelog/ # Changelog entries
├── openapi/ # OpenAPI specifications
└── scripts/ # Build and utility scripts
Use the yarn command to create new changelog entries:
yarn changelog:new
The site automatically generates API documentation from OpenAPI specifications located in the openapi/
directory.
Run the build command to test for any issues:
yarn build
This will catch any broken links, missing imports, or other build-time errors.
This project is licensed under the same terms as the Glean platform.
For questions about the documentation or to report issues:
- Create an issue in this repository
- Check the Glean Help Center