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 and learn more about Nextra at https://nextra.site/docs.
-
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
Steps to Contribute
-
Fork the Repository
- Visit the Lamatic Docs GitHub repository.
- 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.
- 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.