Contributing to Logic AI Documentation
Thank you for your interest in contributing to the Logic AI documentation! This guide will help you set up the GitBook locally and contribute effectively.
Getting Started
Prerequisites
Local Setup
Clone the repository:
git clone https://github.com/logic-ai/documentation.git cd documentation
Install dependencies:
npm install
Start the local server:
npm run serve
Open your browser and navigate to
http://localhost:4000
to see the documentation.
Contribution Guidelines
Documentation Structure
Our documentation follows this structure:
README.md
: The landing pageSUMMARY.md
: The navigation sidebar structure- Content directories:
getting-started/
: Introductory informationfeatures/
: Detailed feature documentationtutorials/
: Step-by-step guidestechnical/
: Technical referencestokenomics/
: Token informationsupport/
: Support resourcesroadmap/
: Development timeline
Creating Content
- Page Creation: All pages should be created as Markdown (
.md
) files. - Navigation: Update the
SUMMARY.md
file to include your new page. - Images: Place images in the
assets/
directory and reference them using relative paths. - Links: Use relative links to connect pages.
Style Guidelines
- Use clear, concise language
- Break content into logical sections with headings
- Use lists and tables for structured information
- Include examples and screenshots where helpful
- Follow the Google developer documentation style guide
Submitting Changes
Create a new branch for your changes:
git checkout -b feature/your-feature-name
Make your changes and test them locally.
Commit your changes with a clear commit message:
git commit -m "Add documentation for feature X"
Push your branch:
git push origin feature/your-feature-name
Open a pull request against the main branch.
Building the Documentation
To generate a static site:
npm run build
This will create a _book
directory with the static site.
To generate a PDF:
npm run pdf
Need Help?
If you have any questions about contributing, please:
- Open an issue in the repository
- Contact the documentation team at docs@logicai.com
Thank you for helping improve the Logic AI documentation!