Contributing to Lamatic.ai Documentation
Documentation Contributors
We're thrilled that you're interested in contributing to the Lamatic.ai documentation! Your efforts help improve the experience for all users of our platform. This guide will walk you through the process of contributing.
Documentation style guide
When writing or editing docs, follow these principles so the docs stay clear and consistent:
- Second person, active voice. Write "Click Deploy" not "The Deploy button should be clicked."
- Outcome-first. Lead with what the reader can do or when to use a feature, not a list of capabilities. Example: "Use the JSON Agent when you need structured JSON from an LLM" rather than "The JSON Agent has customizable schemas and multi-model support."
- One idea per sentence. Avoid long chains of clauses; use full stops instead of em-dashes or commas when in doubt.
- Use callouts for important notes. Use the
<Callout type="warning" title="Title">(ortype="info",type="error") component for gotchas, tips, and prerequisites. Example: Save before you deploy — changes after the last save won't appear in the deployed Flow. - Standardize placeholders. In code examples, use angle brackets for values the user must replace:
<YOUR_API_KEY>,<PROJECT_ID>,<FLOW_ID>,<PROJECT_ENDPOINT>. Add a short "Prerequisites" or "Replace these values" line before the snippet. - Terminology. Use Flow and Node (capitalized) as the product terms. Avoid "workflow" when you mean Flow unless the UI uses it. Keep terms consistent with the Glossary.
Getting Started
-
Understand Our Docs Structure
- Our documentation is built using Nextra, a Next.js and MDX-powered static site generator. To get a better understanding of how our docs work, visit our repository at https://github.com/lamatic/lamatic-docs (opens in a new tab) and learn more about Nextra at https://nextra.site/docs (opens in a new tab).
-
Join Our Community
- Have questions or need help? Join our Slack community. We're always happy to assist contributors!
-
Get Beta Access
- As a token of our appreciation, we'd like to offer all contributors beta access to our platform. Use this link to sign up: https://studio.lamatic.ai/signup?code=earlybetauser (opens in a new tab)
Steps to Contribute
-
Fork the Repository
- Visit the Lamatic Docs GitHub repository (opens in a new tab).
- Click the "Fork" button in the top-right corner to create a copy of the repository in your GitHub account.
-
Clone Your Fork
- Clone your forked repository to your local machine:
git clone https://github.com/your-username/lamatic-docs.git cd lamatic-docs
- Clone your forked repository to your local machine:
-
Create a New Branch
- Create a new branch for your changes:
git checkout -b your-branch-name - Use a descriptive name for your branch, e.g.,
add-new-feature-docorfix-typo-in-quickstart.
- Create a new branch for your changes:
-
Install Dependencies and Run the Development Server
- Install the necessary dependencies:
npm install - Start the development server:
npm run dev - Open your browser and go to
http://localhost:3333/docsto see your changes in real-time.
- Install the necessary dependencies:
-
Make Your Changes
- Edit or add the necessary files in your local repository.
- Ensure your changes adhere to the existing style and formatting of the documentation.
- If you're adding new documentation, update the
_meta.jsonfile to include the new page. - If you're modifying existing documentation, update the corresponding
.mdxfile. - Refresh your browser to see your changes reflected immediately.
-
Commit Your Changes
- Stage and commit your changes:
git add . git commit -m "Brief description of your changes"
- Stage and commit your changes:
-
Push Your Changes
- Push your changes to your forked repository:
git push origin your-branch-name
- Push your changes to your forked repository:
-
Create a Pull Request
- Go to the original Lamatic Docs repository (opens in a new tab).
- Click on "Pull requests" and then the "New pull request" button.
- Click "compare across forks" and select your fork and branch.
- Review your changes and click "Create pull request".
- Provide a clear title and description for your pull request.
-
Wait for Review
- The Lamatic.ai team will review your contribution.
- They may request changes or provide feedback.
- Once approved, your changes will be merged into the main documentation.
Issue Types
When contributing or reporting issues, it's helpful to categorize them. Here are the main types of issues you might encounter or want to report:
-
🐛 Bug: An error, flaw, or fault in the documentation that produces an incorrect or unexpected result. This could include broken links, incorrect information, or formatting issues.
-
🚀 Feature Request: A suggestion for a new addition to the documentation. This could be a request for documentation on a new feature of Lamatic.ai or a proposal for a new section in the existing docs.
-
📈 Improvement: A suggestion to enhance existing documentation. This could involve clarifying explanations, adding more examples, or restructuring content for better readability.
-
✏️ Typo: A small error in the text, such as a misspelling or grammatical mistake.
When creating an issue or pull request, please prefix your title with the appropriate issue type in square brackets or assign appropriate labels. For example:
- [Bug] Broken link in Quick Start guide
- [Feature Request] Add documentation for new API endpoint
- [Improvement] Clarify explanation in Authentication section
- [Typo] Fix misspelling in Contributing guide
This categorization helps the maintainers prioritize and address issues more efficiently.
Thank you for contributing to Lamatic.ai documentation! Your efforts are greatly appreciated and help make our platform better for everyone. If you have any questions during the process, don't hesitate to reach out on our Slack channel.