This repository contains the official documentation for Phylax's products.
- Install Node.js 24.x
- Enable Corepack so the repository uses the pinned pnpm version:
corepack enable- Install dependencies:
pnpm installDocumentation for the Credible Layer including guides, reference materials, and best practices.
A collection of practical assertion examples and patterns that developers can use as a learning resource and inspiration for building their own assertions. Each example demonstrates real-world patterns and best practices. The book also includes a collection of previous hacks and detailed explanations of how they could have been prevented using assertions.
The documentation integrates Assertions Book code snippets from credible-std through:
- Automated GitHub Actions
- Storage in
/snippets - Mintlify code block references
We welcome contributions to improve our documentation! Here are some ways you can help:
- Add new guides and tutorials
- Improve existing content for clarity
- Add more examples to the Assertions Book
- Fork the repository
- Create a new branch for your changes
- Make your changes:
- Create or modify
.mdxfiles in the appropriate directory - If adding new pages, add them to
docs.jsonto include them in the navigation - For Assertions Book code snippets, update
credible-std/examples/assertions-book/assertions/srcfirst, then import them into/snippets
- Create or modify
- Test your changes:
- Run
pnpm devto preview locally - Check for broken links using
pnpm broken-links
- Run
- Commit your changes with a clear commit message
- Push to your fork and create a pull request
Documentation is automatically deployed when changes are pushed to main, compiling all content and integrating code snippets.
This documentation is licensed under the Creative Commons Attribution 4.0 International License.