Skip to content

Commit 400bd15

Browse files
committed
Add documentation site
1 parent 49f696c commit 400bd15

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+7514
-0
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Deploy Documentation to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- docs
7+
paths:
8+
- "docs/documentation/**"
9+
- ".github/workflows/deploy-docs.yml"
10+
pull_request:
11+
branches:
12+
- develop
13+
paths:
14+
- "docs/documentation/**"
15+
workflow_dispatch:
16+
17+
permissions:
18+
contents: read
19+
pages: write
20+
id-token: write
21+
22+
concurrency:
23+
group: "pages"
24+
cancel-in-progress: false
25+
26+
jobs:
27+
build:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout code
31+
uses: actions/checkout@v4
32+
33+
- name: Setup Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: "20"
37+
cache: "npm"
38+
cache-dependency-path: "docs/documentation/package-lock.json"
39+
40+
- name: Install dependencies
41+
run: cd docs/documentation && npm ci
42+
43+
- name: Build documentation
44+
run: cd docs/documentation && npm run build
45+
env:
46+
GITHUB_PAGES: "true"
47+
48+
- name: Upload artifact
49+
uses: actions/upload-pages-artifact@v3
50+
with:
51+
path: "docs/documentation/out"
52+
53+
deploy:
54+
if: github.ref == 'refs/heads/docs'
55+
needs: build
56+
runs-on: ubuntu-latest
57+
environment:
58+
name: github-pages
59+
url: ${{ steps.deployment.outputs.page_url }}
60+
steps:
61+
- name: Deploy to GitHub Pages
62+
id: deployment
63+
uses: actions/deploy-pages@v4
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// @ts-nocheck -- skip type checking
2+
import * as docs_14 from "../content/sponsor.mdx?collection=docs&hash=1765003858214"
3+
import * as docs_13 from "../content/license.mdx?collection=docs&hash=1765003858214"
4+
import * as docs_12 from "../content/introduction.mdx?collection=docs&hash=1765003858214"
5+
import * as docs_11 from "../content/index.mdx?collection=docs&hash=1765003858214"
6+
import * as docs_10 from "../content/getting-started.mdx?collection=docs&hash=1765003858214"
7+
import * as docs_9 from "../content/faqs.mdx?collection=docs&hash=1765003858214"
8+
import * as docs_8 from "../content/error-handling.mdx?collection=docs&hash=1765003858214"
9+
import * as docs_7 from "../content/ecosystem.mdx?collection=docs&hash=1765003858214"
10+
import * as docs_6 from "../content/data-models.mdx?collection=docs&hash=1765003858214"
11+
import * as docs_5 from "../content/configuration.mdx?collection=docs&hash=1765003858214"
12+
import * as docs_4 from "../content/community-support.mdx?collection=docs&hash=1765003858214"
13+
import * as docs_3 from "../content/basic-usage.mdx?collection=docs&hash=1765003858214"
14+
import * as docs_2 from "../content/authentication.mdx?collection=docs&hash=1765003858214"
15+
import * as docs_1 from "../content/api.mdx?collection=docs&hash=1765003858214"
16+
import * as docs_0 from "../content/ai-services.mdx?collection=docs&hash=1765003858214"
17+
import { _runtime } from "fumadocs-mdx"
18+
import * as _source from "../source.config"
19+
export const docs = _runtime.doc<typeof _source.docs>([{ info: {"path":"ai-services.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/ai-services.mdx"}, data: docs_0 }, { info: {"path":"api.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/api.mdx"}, data: docs_1 }, { info: {"path":"authentication.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/authentication.mdx"}, data: docs_2 }, { info: {"path":"basic-usage.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/basic-usage.mdx"}, data: docs_3 }, { info: {"path":"community-support.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/community-support.mdx"}, data: docs_4 }, { info: {"path":"configuration.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/configuration.mdx"}, data: docs_5 }, { info: {"path":"data-models.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/data-models.mdx"}, data: docs_6 }, { info: {"path":"ecosystem.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/ecosystem.mdx"}, data: docs_7 }, { info: {"path":"error-handling.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/error-handling.mdx"}, data: docs_8 }, { info: {"path":"faqs.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/faqs.mdx"}, data: docs_9 }, { info: {"path":"getting-started.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/getting-started.mdx"}, data: docs_10 }, { info: {"path":"index.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/index.mdx"}, data: docs_11 }, { info: {"path":"introduction.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/introduction.mdx"}, data: docs_12 }, { info: {"path":"license.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/license.mdx"}, data: docs_13 }, { info: {"path":"sponsor.mdx","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/sponsor.mdx"}, data: docs_14 }]);
20+
export const meta = _runtime.meta<typeof _source.meta>([{ info: {"path":"meta.json","absolutePath":"D:/Project - Devoloper/RUNcode/UrbanReflex/docs/urban-reflex/content/meta.json"}, data: {"title":"Documentation","pages":["index","introduction","---Getting Started---","getting-started","basic-usage","---Reference---","api","data-models","ai-services","authentication","error-handling","---Resources---","ecosystem","configuration","---","faqs","sponsor","community-support","license"]} }]);
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// source.config.ts
2+
import { defineDocs, defineConfig } from "fumadocs-mdx/config";
3+
var { docs, meta } = defineDocs({
4+
dir: "content"
5+
});
6+
var source_config_default = defineConfig();
7+
export {
8+
source_config_default as default,
9+
docs,
10+
meta
11+
};

0 commit comments

Comments
 (0)