aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/pages/AI
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pages/AI')
-rw-r--r--docs/pages/AI/_meta.json15
-rw-r--r--docs/pages/AI/docs/_meta.json15
-rw-r--r--docs/pages/AI/docs/index.mdx73
-rw-r--r--docs/pages/AI/docs/installing.mdx11
-rw-r--r--docs/pages/AI/index.mdx7
5 files changed, 0 insertions, 121 deletions
diff --git a/docs/pages/AI/_meta.json b/docs/pages/AI/_meta.json
deleted file mode 100644
index 4941080..0000000
--- a/docs/pages/AI/_meta.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "index": {
- "type": "page",
- "display": "hidden",
- "theme": {
- "layout": "raw",
- "sidebar": false,
- "toc": true
- }
- },
- "docs": {
- "title": "Docs",
- "display": "children"
- }
-}
diff --git a/docs/pages/AI/docs/_meta.json b/docs/pages/AI/docs/_meta.json
deleted file mode 100644
index 939e2df..0000000
--- a/docs/pages/AI/docs/_meta.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "index": {
- "title": "Quickstart"
- },
- "installing": "Installing AI",
- "getting-started": "Getting Started",
- "troubleshooting": "Troubleshooting",
- "changelog": {
- "title": "Changelog",
- "href": "https://github.com/retrofor/HydroRoll/releases",
- "newWindow": true
- },
- "acknowledgements": "Acknowledgements",
- "faq": "FAQ"
-}
diff --git a/docs/pages/AI/docs/index.mdx b/docs/pages/AI/docs/index.mdx
deleted file mode 100644
index 5f6dd29..0000000
--- a/docs/pages/AI/docs/index.mdx
+++ /dev/null
@@ -1,73 +0,0 @@
----
-title: AI Quickstart
-description: Create your first monorepo or add AI to an existing project.
----
-
-import { readdirSync, lstatSync, readFileSync } from 'fs';
-import path from 'path';
-import { QuickStartArea, LearnMoreArea, MonoreposArea } from "../../../components/QuickStart";
-import { ExamplesArea } from "../../../components/ExamplesArea";
-import FullTurboCTA from "../../../components/FullTurboCTA";
-
-export const getStaticProps = ({ params }) => {
- // path to examples directory at the monorepo root.
- const examplesDirectory = path.join(__dirname, '../../../../../examples')
- const examples = [];
- readdirSync(examplesDirectory).forEach(file => {
- if (lstatSync(path.join(examplesDirectory, file)).isDirectory()) {
- try {
- examples.push({
- slug: file,
- ...JSON.parse(readFileSync(path.join(examplesDirectory, file, "meta.json")).toString())
- }
- );
- } catch (err) {
- console.log(`No meta.json found for ${file}, excluding from docs`);
- }
- }
- });
- // throw an error if no examples are found
- if (examples.length === 0) {
- throw new Error(
- `No examples found in ${examplesDirectory}! Make sure you have updated the path if moving this file.`
- )
- }
- return {
- props: {
- ssg: {
- examples
- }
- },
- revalidate: 60 * 60 * 24
- }
-}
-
-# AI Quickstart
-
-AI is an intelligent **build system optimized for JavaScript and TypeScript codebases**.
-
-Your codebase's tasks - like `lint`, `build` and `test` - **don't run as fast as they could**. AI uses [caching](/AI/docs/core-concepts/caching) to turbocharge your local setup and speed up your CI.
-
-AI is designed to be **incrementally adopted**, so you can add it to most codebases in a few minutes.
-
-<QuickStartArea />
-
-## Features
-
-AI leverages advanced build system techniques to speed up development, **both on your local machine and your CI/CD**.
-
-<LearnMoreArea />
-
-## Monorepos
-
-AI works out-of-the-box with monorepo tools like `npm`, `pnpm` and `yarn`. If you've ever felt that your monorepo slowed you down, it might be time for AI.
-
-<MonoreposArea />
-
-## Examples
-
-You can also clone a AI starter repository to get a head start on your monorepo. For even more examples and starters, see the [AI examples directory on GitHub](https://github.com/vercel/turbo/tree/main/examples).
-
-<ExamplesArea filter="featured" />
-
-<FullTurboCTA />
diff --git a/docs/pages/AI/docs/installing.mdx b/docs/pages/AI/docs/installing.mdx
deleted file mode 100644
index 6c71e5a..0000000
--- a/docs/pages/AI/docs/installing.mdx
+++ /dev/null
@@ -1,11 +0,0 @@
----
-title: 安装模型
-description: 学习如何使用模型完善你的水系骰子
----
-
-import Callout from "../../../components/Callout";
-import { Tabs, Tab } from '../../../components/Tabs'
-
-# Install AI
-
-to be... \ No newline at end of file
diff --git a/docs/pages/AI/index.mdx b/docs/pages/AI/index.mdx
deleted file mode 100644
index 97240f5..0000000
--- a/docs/pages/AI/index.mdx
+++ /dev/null
@@ -1,7 +0,0 @@
----
-description: AI balabala.
----
-
-import HydroRollAIHome from "../../components/pages/AI-home";
-
-<HydroRollAIHome />