- The project root contains configuration files for building, linting, and documentation generation.
- Key files include:
package.json: Project dependencies and scriptsdocusaurus.config.js: Main Docusaurus configurationsidebars.js: Sidebar navigation structurebabel.config.js: Babel transpilation configurationtailwind.config.js: Tailwind CSS styling configurationalgolia.json: Search configuration_redirects: URL redirect rules
- Main documentation content is located in
docs/, organized by topic - Documentation files use
.mdor.mdxextensions (MDX for React component integration) - Reusable content snippets are stored in
docs/_partials/ - Static assets (images, diagrams, etc.) are placed in
static/ - Custom React components for documentation are in
src/components/ - Navigation categories are defined using
_category_.ymlfiles
- Follow Conventional Commits specification:
<type>: <description>(no scopes, single sentence) - Valid types:
feat,fix,docs,style,refactor,perf,test,build,ci,chore,revert - Description should be imperative mood, lowercase, single sentence, no multi-line descriptions
- Examples:
docs: add openfeature integration guide,fix: correct broken link in quickstart - Keep commits focused and atomic
- Always use
-(not/) in branch names - Start branches with conventional commit prefix
- Include Linear ticket number if available:
docs-fdn-561-new-guidewhereFDN-561is the ticket number - Examples:
docs-update-sdk-guide,fix-broken-links,feat-fdn-123-new-integration
- Use clear, concise language appropriate for technical documentation
- Code blocks should specify language for proper syntax highlighting
- Use relative links for internal documentation references
- Image paths should be relative to the
static/directory (e.g.,/img/feature.png) - API references and SDK documentation should follow established patterns in
docs/sdk/ - Keep frontmatter minimal and consistent across similar document types
- Use Aviator CLI (
av) for managing stacked branches:av branch chore-fix-invalid-input - Sync and push changes:
av sync --push=yes - Create PR:
av pr --title "<title>" --body "<body>"(title follows Conventional Commits, body uses markdown/bullets,av prwill push the branch) - GitHub PR descriptions should be short and mainly focus on the reasons the changes were made in this PR, with minimal additional descriptions about testing state and listing the changes made.