-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #710 from genedna/main
Modify doc and blog of website
- Loading branch information
Showing
5 changed files
with
13 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,100 +1,10 @@ | ||
## AriaDocs - Documentation Template | ||
## Aria - GitMega Website | ||
|
||
This feature-packed documentation template, built with Next.js, offers a sleek and responsive design, perfect for all your project documentation needs. | ||
|
||
<img src="./public/public-og.png" /> | ||
|
||
<br/> | ||
|
||
Here are all versions of the AriaDocs template, each crafted for specific use cases: | ||
|
||
|
||
- **Advanced Docs:** A comprehensive template offering extensive features for in-depth documentation needs. Perfect for larger projects that require detailed explanations and advanced configurations. | ||
[Explore the Advanced Docs](https://github.com/nisabmohd/Aria-Docs/tree/master) | ||
|
||
- **Lite Version:** A streamlined, no-frills template perfect for straightforward documentation needs. | ||
[Explore the Lite Version](https://github.com/nisabmohd/Aria-Docs/tree/minimal-docs) | ||
|
||
- **Version with Versioning:** A powerful option for projects that require historical documentation tracking. Manage multiple versions of your docs effortlessly. | ||
[Check out the Versioning Feature](https://github.com/nisabmohd/Aria-Docs/tree/version_docs) | ||
|
||
- **i18n Support Version (WIP):** Designed for international audiences, this version will offer comprehensive multilingual support. | ||
[Preview the i18n Support](https://github.com/nisabmohd/Aria-Docs/tree/i18n-support) | ||
The website of GitMega fork from [AriaDocs](https://github.com/nisabmohd/Aria-Docs/tree/master) template, and deployed on Vercel. | ||
|
||
### Quick Start | ||
|
||
You can create a new Ariadocs project using the command: | ||
|
||
```plaintext | ||
npx create-aria-doc <project-directory> | ||
``` | ||
|
||
### Expected Output | ||
|
||
When you run the CLI, you can expect an output similar to this: | ||
|
||
``` | ||
Creating a new Ariadocs project in /path/to/your/project from the master branch... | ||
Cloning Master (Full Documentation)... | ||
Ariadocs project successfully created in /path/to/your/project! | ||
Next steps: | ||
1. Navigate to your project directory: | ||
cd <project-directory> | ||
2. Install dependencies: | ||
// To support React 19, package maintainers will need to test and update their packages to include React 19 as a peer dependency. This is already in progress. | ||
npm install --force | ||
3. Start the development server: | ||
npm run dev | ||
``` | ||
|
||
## Getting Started | ||
|
||
First, run the development server: | ||
|
||
```plaintext | ||
npm install --force | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
|
||
|
||
## Deploy on Vercel | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. | ||
|
||
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/nisabmohd/Aria-Docs) | ||
|
||
## Key Features | ||
|
||
| **Feature** | **Description** | | ||
|-------------------------------|----------------------------------------------------------| | ||
| MDX Support | Write interactive documentation with MDX. | | ||
| Nested Pages | Organize content in a nested, hierarchical structure. | | ||
| Blog Section | Include a dedicated blog section. | | ||
| Table of Contents | Auto-generated TOC for easy navigation. | | ||
| Pagination | Split content across multiple pages. | | ||
| Syntax Highlighting | Highlight code for better readability. | | ||
| Code Line Highlighting & Titles | Highlight specific lines with descriptive titles. | | ||
| Interactive Code Blocks | Language-specific and interactive code display. | | ||
| Custom Components | Embed custom, reusable components in your docs. | | ||
| Light & Dark Mode | Toggle between light and dark themes. | | ||
| Search Functionality | Quickly find content with a built-in search. | | ||
| Code Switcher | Switch between code languages or variations. | | ||
| Code Copy | Copy code blocks with a single click. | | ||
| TOC Observer Highlight | Highlight active sections in the TOC as you scroll. | | ||
| Static Site Generation | Generate a static, high-performance site. | | ||
| SEO-Optimized | Structured for optimal search engine indexing. | | ||
|
||
|
||
## Additional Themes | ||
|
||
<img src="./public/halloween.png" alt="halloween" /> | ||
<img src="./public/nebula.png" alt="halloween" /> | ||
<img src="./public/ocean.png" alt="halloween" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,22 @@ | ||
--- | ||
title: Introduction | ||
description: This section provides an overview of AriaDocs. | ||
description: Mega is an unofficial open source implementation of Google Piper. It is a monorepo & monolithic codebase management system that supports Git. Mega is designed to manage large-scale codebases, streamline development, and foster collaboration. | ||
--- | ||
|
||
Welcome to **AriaDocs**! This template provides a modern, flexible, and user-friendly foundation for creating engaging documentation. Whether you're building a knowledge base, project docs, or a personal blog, AriaDocs makes it easy to set up and scale. | ||
|
||
Welcome to **Mega**! Mega is an unofficial open source implementation of Google Piper. It is a monorepo & monolithic codebase management system that supports Git. Mega is designed to manage large-scale codebases, streamline development, and foster collaboration. | ||
|
||
## Open Source Philosophy | ||
|
||
AriaDocs is proudly **open-source**! 🎉 We believe in creating an accessible, collaborative platform that thrives on community contributions. | ||
Mega is proudly **Open Source**! 🎉 We believe in creating an accessible, collaborative platform that thrives on community contributions. | ||
|
||
<Note title="Contribute"> | ||
Interested in helping us improve? Check out our [GitHub repository](https://github.com/your-repo) to get started! From feature suggestions to bug fixes, all contributions are welcome. | ||
<Note title="Contribute"> | ||
Interested in helping us improve? Check out our [Mega](https://github.com/web3infra-foundation/megao) to get started! From feature suggestions to bug fixes, all contributions are welcome. | ||
</Note> | ||
|
||
## Project Overview | ||
|
||
**AriaDocs** is more than just a documentation template. It's a **complete toolkit** designed for modern web development. Key features include: | ||
|
||
- **Markdown & MDX Support:** Easily write documentation in Markdown, with the option to include interactive components via MDX. | ||
- **Customizable Themes:** Designed with a minimalist ShadCN-inspired theme that’s easy to style. | ||
- **SEO-Optimized:** Each page is SEO-ready, ensuring search engines can find and rank your content. | ||
- **Interactive Code Blocks:** Beautifully styled, language-specific code blocks for an enhanced reading experience. | ||
|
||
### Key Features | ||
|
||
| **Feature** | **Description** | | ||
|-------------------------------|----------------------------------------------------------| | ||
| MDX Support | Write interactive documentation with MDX. | | ||
| Nested Pages | Organize content in a nested, hierarchical structure. | | ||
| Blog Section | Include a dedicated blog section. | | ||
| Pagination | Split content across multiple pages. | | ||
| Syntax Highlighting | Highlight code for better readability. | | ||
| Code Line Highlighting & Titles | Highlight specific lines with descriptive titles. | | ||
| Interactive Code Blocks | Language-specific and interactive code display. | | ||
| Custom Markdown Components | Embed custom, reusable components in your docs. | | ||
| Static Site Generation | Generate a static, high-performance site. | | ||
| SEO-Optimized | Structured for optimal search engine indexing. | | ||
|
||
|
||
## Technology & Libraries | ||
|
||
AriaDocs leverages cutting-edge technologies to ensure performance and flexibility: | ||
|
||
- **Next.js 14** - The powerful React framework optimized for production. | ||
- **Tailwind CSS** - Utility-first styling for quick, clean designs. | ||
- **Shadcn-UI** - Elegant, accessible components for a polished look. | ||
- **next-mdx-remote** - Enables MDX support for dynamic, interactive Markdown content. | ||
|
||
|
||
## Deploy on Vercel | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. | ||
|
||
You can deploy your project by clicking [Deploy with Vercel](https://vercel.com/new/clone?repository-url=https://github.com/nisabmohd/Aria-Docs) | ||
| Git Compatible | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,5 @@ | ||
import type { NextConfig } from "next"; | ||
|
||
const nextConfig: NextConfig = { | ||
/* config options here */ | ||
images: { | ||
remotePatterns: [ | ||
{ | ||
protocol: "https", | ||
hostname: "img.freepik.com/**", | ||
}, | ||
], | ||
}, | ||
// if used turbopack | ||
// transpilePackages: ["next-mdx-remote"], | ||
}; | ||
const nextConfig: NextConfig = {}; | ||
|
||
export default nextConfig; |
Binary file not shown.
fbb24c7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
mega – ./
mega-gitmono.vercel.app
mega-git-main-gitmono.vercel.app
gitmega.dev
www.gitmega.dev