Skip to content

Commit 61b3d38

Browse files
committed
💬 Remove mention of AnyQuery (replaced by Anyquery)
1 parent dcc656a commit 61b3d38

Some content is hidden

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

42 files changed

+59
-59
lines changed

website/src/content/docs/docs/reference/Commands/anyquery.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_alias.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_alias_add.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_alias_delete.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_alias_list.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_completion.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_completion_bash.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_completion_fish.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_completion_powershell.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_completion_zsh.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_connection.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_connection_add.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_connection_list.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_connection_remove.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_install.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_plugins.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_plugins_uninstall.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_plugins_update.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_profiles.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_profiles_delete.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_profiles_list.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_profiles_new.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_profiles_update.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_query.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_registry.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_registry_add.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_registry_get.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_registry_list.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_registry_refresh.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_registry_remove.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_run.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_server.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_tool.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_tool_dev.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_tool_dev_init.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_tool_dev_new-table.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_tool_generate-doc.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_tool_hashdir.md

+1-1

website/src/content/docs/docs/reference/Commands/anyquery_tool_mysql-password.md

+1-1

website/src/content/docs/docs/reference/export-commands.mjs

+18-18
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { readdir } from "node:fs/promises";
55

66
// Export the commands
77
try {
8-
await $`anyquery tool generate-doc Commands`;
8+
await $`anyquery tool generate-doc Commands`;
99
} catch (error) {
10-
// In case it's a build machine, anyquery might not be installed
11-
await $`../../../../../../main.out tool generate-doc Commands`;
10+
// In case it's a build machine, anyquery might not be installed
11+
await $`../../../../../../main.out tool generate-doc Commands`;
1212
}
1313

1414
// For each file, take the lop level h2 header, and add the frontmatter
@@ -17,28 +17,28 @@ try {
1717
const files = await readdir("Commands");
1818

1919
for (const file of files) {
20-
const fileContent = Bun.file(`Commands/${file}`);
21-
let text = await fileContent.text();
20+
const fileContent = Bun.file(`Commands/${file}`);
21+
let text = await fileContent.text();
2222

23-
const title = text.match(/## (.*)/)[1];
24-
// Strip the title from the markdown
25-
text = text.replace(`## ${title}\n\n`, "");
23+
const title = text.match(/## (.*)/)[1];
24+
// Strip the title from the markdown
25+
text = text.replace(`## ${title}\n\n`, "");
2626

27-
// Strip the last two lines
28-
text = text.split("\n").slice(0, -2).join("\n");
27+
// Strip the last two lines
28+
text = text.split("\n").slice(0, -2).join("\n");
2929

30-
// Rewrite the links that ends with .md
31-
text = text.replace(/\(([^)]+).md\)/g, "(../$1)");
30+
// Rewrite the links that ends with .md
31+
text = text.replace(/\(([^)]+).md\)/g, "(../$1)");
3232

33-
// Change the code blocks to be in the right language
34-
text = text.replace(/```\n(?!\s*$)/gm, "```bash\n");
33+
// Change the code blocks to be in the right language
34+
text = text.replace(/```\n(?!\s*$)/gm, "```bash\n");
3535

36-
const frontmatter = `---
36+
const frontmatter = `---
3737
title: ${title}
38-
description: Learn how to use the ${title} command in AnyQuery.
38+
description: Learn how to use the ${title} command in Anyquery.
3939
---
4040
4141
`;
42-
console.log(`Writing ${title} to ${file}`);
43-
await Bun.write(`Commands/${file}`, frontmatter + text);
42+
console.log(`Writing ${title} to ${file}`);
43+
await Bun.write(`Commands/${file}`, frontmatter + text);
4444
}

website/src/pages/integrations/[integration].astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const { entry } = Astro.props;
2828
const { Content } = await entry.render();
2929
---
3030

31-
<Main title={entry.data.title + " - AnyQuery"}>
31+
<Main title={entry.data.title + " - Anyquery"}>
3232
<main class="max-w-[75ch] mx-auto">
3333
<div class="rounded-lg bg-white/10 p-4 border border-[#655cc339]">
3434
<div class="flex flex-row gap-6">

website/src/pages/integrations/index.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const databases = await getCollection("databases");
4545
---
4646

4747
<Main
48-
title="Integrations - AnyQuery"
48+
title="Integrations - Anyquery"
4949
footnote="Trademarks are the property of their respective owners. Anyquery is not affiliated with any of the companies or projects mentioned."
5050
>
5151
<h1 class="text-3xl">Databases</h1>

0 commit comments

Comments
 (0)