create-akiradocs
v1.0.18
Published
Create Akira Docs documentation sites with one command
Downloads
1,211
Maintainers
Readme
create-akiradocs
Create Akira Docs documentation sites with one command.
Usage
npx create-akiradocs mydocs
Features
- 📝 Block-based content editing
- 🎨 Customizable themes
- 🔍 AI-powered search
- 📱 Responsive design
- ⚡ Next.js based
- 🎯 SEO optimized
Requirements
- Node.js 16 or later
Creating a Project
Create a new project:
npx create-akiradocs@latest my-docs
Navigate to the project:
cd my-docs
Install dependencies:
npm install
Start the development server:
npm run dev
Open http://localhost:3000 in your browser.
Updating a Project
To update an existing Akira Docs site to the latest version:
npx update-akiradocs
This will update your project while preserving your content and configuration files.
Now users can update their existing Akira Docs sites using:
```bash
npx update-akiradocs
This implementation:
- Preserves user content by ignoring
_contents
,contents
, andakiradocs.config.json
- Updates all other files with the latest template
- Provides a simple command-line interface
- Shows progress with a spinner and clear success/error messages
- Maintains the same code style and structure as the existing codebase
The update command will copy the latest template files while preserving user-specific content and configuration files.
Documentation
For detailed documentation, visit docs.akiradocs.com
License
MIT