Skip to content

Commit

Permalink
feat(foregx): add ForegX in docs section (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsayanR authored Dec 20, 2024
1 parent 0f216f8 commit 265dcff
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/blog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Image from "next/image";
import Link from "next/link";

export const metadata: Metadata = {
title: "AriaDocs - Blog",
title: "DEVRhylme - Blog",
};

export default async function BlogIndexPage() {
Expand Down
7 changes: 2 additions & 5 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ export default function Home() {
<MoveUpRightIcon className="w-4 h-4 font-extrabold" />
</Link>
<h1 className="text-3xl font-bold mb-4 sm:text-6xl">
Effortlessly build stunning documentation sites with Next.js and server
components.
DevRhylme Foundation: Innovating AI and Open Source Solutions
</h1>
<p className="mb-8 sm:text-xl max-w-[800px] text-muted-foreground">
This feature-packed documentation template, built with Next.js, offers a
sleek and responsive design, perfect for all your project documentation
needs.
Advancing Blockchain, Go, and Python Libraries with Cutting-Edge AI. Building a Future for Open Source Communities Everywhere.
</p>
<div className="flex flex-row items-center gap-5">
<Link
Expand Down
5 changes: 4 additions & 1 deletion contents/docs/ForgeX/advanced-flag/advance-flag/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Advanced Flag in ForgeX
---
title: Advanced Flag in ForgeX
description: Guide for Advance Flag in ForgeX.
---

The `--advanced` flag in ForgeX serves as a switch to enable additional features during project creation. It is applied with the `create` command and unlocks the following features:

Expand Down
4 changes: 4 additions & 0 deletions contents/docs/ForgeX/advanced-flag/docker/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Docker Configuration in ForgeX
description: Guide for Docker config in ForgeX.
---
# Advanced Flag: Docker Configuration in ForgeX

The Docker advanced flag provides the app's Dockerfile configuration and creates or updates the `docker-compose.yml` file, which is generated if a DB driver is used.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: GO Releaser
description: Guide for GO Releaser in ForgeX.
---
Release process for Go projects, providing extensive customization options through its configuration file, `.goreleaser.yml`. By default, it ensures dependency cleanliness, builds binaries for various platforms and architectures, facilitates pre-release creation, and organizes binary packaging into archives with naming schemes.

For comprehensive insights into customization possibilities, refer to the [GoReleaser documentation](https://goreleaser.com/customization/).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: HTMX Template
description: Guide for HTMX in ForgeX.
---
The WEB directory contains the web-related components and assets for the project. It leverages [htmx](https://github.com/bigskysoftware/htmx) and [templ](https://github.com/a-h/templ) in Go for dynamic web content generation.

## Structure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: React VITE
description: Guide for HTMX in ForgeX.
---
This template provides a minimal setup for getting React working with Vite for the frontend and go on the backend. It allows you to easily integrate React with Tailwind CSS and Vite for fast development.

The React advanced flag can be combined with the Tailwind flag for enhanced styling capabilities.
Expand Down
14 changes: 14 additions & 0 deletions lib/routes-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@ export const ROUTES: EachRoute[] = [
},
],
},
{
title: "ForgeX",
href: "/ForgeX/advanced-flag",
noLink: true,
items: [
{ title: "Advance Flag", href: "/advance-flag" },
{ title: "Docker", href: "/docker", },
{ title: "GO Releaser", href: "/go-releaser" },
{ title: "HTMX Template", href: "/htmx-template", },
{ title: "VITE", href: "/react-vite", },
{ title: "Tailwind", href: "/tailwind" },
{ title: "Web Socket", href: "/websocket", },
],
}
];

type Page = { title: string; href: string };
Expand Down

0 comments on commit 265dcff

Please sign in to comment.