这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/link-checker/src/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const markdownProcessor = unified()
});

const filePathToUrl = (filePath: string): string =>
filePath.replace("repo-docs", "/docs").replace(".mdx", "");
filePath.replace("docs", "/docs").replace(".mdx", "");

const validateFrontmatter = (path: string, data: Record<string, unknown>) => {
if (!data.title) {
Expand Down
8 changes: 4 additions & 4 deletions docs/site/app/llms.txt/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export const revalidate = false;
export async function GET(): Promise<Response> {
// all scanned content
const files = await fg([
"./content/repo-docs/**/*.mdx",
"!./content/repo-docs/acknowledgments.mdx",
"!./content/repo-docs/community.mdx",
"!./content/repo-docs/telemetry.mdx",
"./content/docs/**/*.mdx",
"!./content/docs/acknowledgments.mdx",
"!./content/docs/community.mdx",
"!./content/docs/telemetry.mdx",
]);

const scan = files.map(async (file) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ export function CreateTurboCallout(): JSX.Element {
<Callout type="good-to-know">
{" "}
This guide assumes you&apos;re using{" "}
<Link href="/docs/getting-started/installation">
create-turbo
</Link>{" "}
or a repository with a similar structure.
<Link href="/docs/getting-started/installation">create-turbo</Link> or a
repository with a similar structure.
</Callout>
);
}
2 changes: 1 addition & 1 deletion docs/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "The documentation for Turborepo.",
"scripts": {
"build": "next build",
"check-spelling": "spellchecker --files '**/*.mdx' --files '!content/blog/*.mdx' --files '!content/repo-docs/acknowledgments.mdx' --files '!node_modules/**' --files '!content/extra/terms.mdx' --files '!content/extra/governance.mdx' --files '!content/extra/privacy.mdx' --dictionaries 'dictionary.txt' --no-suggestions --quiet",
"check-spelling": "spellchecker --files '**/*.mdx' --files '!content/blog/*.mdx' --files '!content/docs/acknowledgments.mdx' --files '!node_modules/**' --files '!content/extra/terms.mdx' --files '!content/extra/governance.mdx' --files '!content/extra/privacy.mdx' --dictionaries 'dictionary.txt' --no-suggestions --quiet",
"dev": "next dev",
"eslint": "fumadocs-mdx && eslint .",
"eslint:fix": "fumadocs-mdx && eslint . --fix",
Expand Down
2 changes: 1 addition & 1 deletion docs/site/source.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { z } from "zod";
import { createCssVariablesTheme } from "shiki";

export const { docs: repoDocs, meta: repoMeta } = defineDocs({
dir: "content/repo-docs",
dir: "content/docs",
docs: {
schema: frontmatterSchema,
},
Expand Down
Loading