Official documentation for SWEEP - Automate your development workflows with AI-powered pull requests.
Built with Docusaurus 2 for fast, responsive documentation.
- Live Site: https://docs.sweep.run
- GitHub Pages: https://sweep-inc.github.io/DocuSWEEP/
- SWEEP Website: https://sweep.run
- Node.js 14.0 or higher
- Yarn or npm
- Clone the repository:
git clone https://github.com/SWEEP-Inc/DocuSWEEP.git
cd DocuSWEEP- Navigate to the website directory:
cd sweep-docs-website- Install dependencies:
yarn install- Start the development server:
yarn startThe site will open at http://localhost:3000 with hot reload enabled.
cd sweep-docs-website
yarn buildThis generates a static build in the build/ directory.
yarn serveAccess the production build at http://localhost:3000
For Windows:
cmd /C "set "GIT_USER=<GITHUB_USERNAME>" && yarn deploy"For Linux/macOS:
GIT_USER=<GITHUB_USERNAME> yarn deployThe site will be deployed to the gh-pages branch.
To create a new documentation section, create a folder under docs/ and add a _category_.json file:
{
"label": "Getting Started",
"position": 1
}Create a Markdown file (e.g., installation.md) with optional frontmatter:
---
id: installation
title: Installation Guide
sidebar_position: 1
---
# Installation Guide
Your content here...Common frontmatter properties:
id- Unique document identifiertitle- Document titlesidebar_label- Custom sidebar labelsidebar_position- Position in sidebardescription- SEO meta descriptionkeywords- SEO keywordshide_title- Hide the title headerhide_table_of_contents- Hide the table of contents
See Docusaurus Documentation for complete options.
Global styles are located in src/css/custom.css. Modify CSS variables to change the site appearance:
:root {
--ifm-color-primary: #1ca4e8;
/* ... other variables ... */
}Edit the navbar configuration in docusaurus.config.js under themeConfig.navbar.
Customize the footer in docusaurus.config.js under themeConfig.footer.
sweep-docs-website/
├── docs/ # Documentation files
├── blog/ # Blog posts
├── src/
│ ├── components/ # React components
│ ├── css/ # Stylesheets
│ └── pages/ # Custom pages
├── static/ # Static assets
├── docusaurus.config.js # Configuration
├── sidebars.js # Sidebar configuration
└── package.json
yarn start- Start development serveryarn build- Build for productionyarn serve- Serve production build locallyyarn swizzle- Customize Docusaurus componentsyarn clear- Clear cache and buildyarn write-translations- Generate translation filesyarn write-heading-ids- Generate heading IDs
We welcome contributions! Please see our Contributing Guidelines.
This documentation is part of SWEEP. See the LICENSE file for details.
- GitHub Issues: Report issues
- Discord: Join our community
- Email: contact@sweep.run
Made with ❤️ by SWEEP, Inc.