From 3594c85921cad5adc08e22987a70babbd951bbc7 Mon Sep 17 00:00:00 2001 From: Jabber Developer Date: Mon, 15 Sep 2025 17:31:42 +0200 Subject: [PATCH] Update git repository link --- Dockerfile | 6 +++--- astro.config.mjs | 4 ++-- src/content/docs/guides/Encryption/otr.md | 4 ++-- src/content/docs/index.mdx | 2 +- src/scripts/parser/command-parser.ts | 2 +- src/scripts/pre-build.ts | 12 ++++++------ 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index dc3066c..fc2db1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,14 +7,14 @@ RUN apt-get update && \ WORKDIR /app -RUN git clone --depth 1 https://git.jabber.space/devs/profanity.git ./profanity +RUN git clone --depth 1 https://git.jabber.space/devs/cproof.git ./cproof COPY package*.json ./ RUN npm ci COPY --exclude=.git . . -RUN cd /app/profanity/apidocs/c/ && ./gen.sh -RUN cd /app/profanity/apidocs/python/ && ls -alh && chmod +x gen.sh && ./gen.sh +RUN cd /app/cproof/apidocs/c/ && ./gen.sh +RUN cd /app/cproof/apidocs/python/ && ls -alh && chmod +x gen.sh && ./gen.sh RUN npm run astro telemetry disable RUN npm run pre-build RUN npm run build diff --git a/astro.config.mjs b/astro.config.mjs index 0e03394..1d0d53f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -25,8 +25,8 @@ export default defineConfig({ social: [ { icon: "github", - label: "Gitea", - href: "https://git.jabber.space/devs/profanity/" + label: "Git", + href: "https://git.jabber.space/devs/cproof/" } ], editLink: { diff --git a/src/content/docs/guides/Encryption/otr.md b/src/content/docs/guides/Encryption/otr.md index 049e565..21eaf7d 100644 --- a/src/content/docs/guides/Encryption/otr.md +++ b/src/content/docs/guides/Encryption/otr.md @@ -247,8 +247,8 @@ Since CProof uses the libotr library to store keys and trusted fingerprints, fil The files need to be placed in the following locations: ```plaintext -$XDG_DATA_HOME/profanity/otr//keys.txt -$XDG_DATA_HOME/profanity/otr//fingerprints.txt +$XDG_DATA_HOME/profanity/otr/keys.txt +$XDG_DATA_HOME/profanity/otr/fingerprints.txt ``` On most systems _$XDG_DATA_HOME_ is _~/.local/share_. The folder is the account name with \_at\_ replacing the @ symbol, for example account `my.account@server.org` will have the above two files stored as: diff --git a/src/content/docs/index.mdx b/src/content/docs/index.mdx index b93dc18..7680612 100644 --- a/src/content/docs/index.mdx +++ b/src/content/docs/index.mdx @@ -15,7 +15,7 @@ hero: link: /getting-started/installation icon: right-arrow - text: View our Git - link: https://git.jabber.space/devs/profanity + link: https://git.jabber.space/devs/cproof icon: external variant: minimal --- diff --git a/src/scripts/parser/command-parser.ts b/src/scripts/parser/command-parser.ts index 5a04d80..c7ec970 100644 --- a/src/scripts/parser/command-parser.ts +++ b/src/scripts/parser/command-parser.ts @@ -19,7 +19,7 @@ export interface CommandGroup { tags: string[]; // command category tag(s) } -const githubFunctionUrl = "https://git.jabber.space/devs/profanity/src/branch/master/src/command/cmd_defs.c"; +const githubFunctionUrl = "https://git.jabber.space/devs/cproof/src/branch/master/src/command/cmd_defs.c"; export class CommandParser { private buffer: string; diff --git a/src/scripts/pre-build.ts b/src/scripts/pre-build.ts index b41e839..89bc3df 100644 --- a/src/scripts/pre-build.ts +++ b/src/scripts/pre-build.ts @@ -8,13 +8,13 @@ import { ApiDocParser } from "./parser/apidoc/apidoc-parser"; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); -const profanityPath = path.join(__dirname, "..", "..", "profanity"); +const cproofPath = path.join(__dirname, "..", "..", "cproof"); const appPath = path.join(__dirname, "..", "content", "docs"); -const commandsPath = path.join(profanityPath, "src", "command", "cmd_defs.c"); -const apiDocsCPath = path.join(profanityPath, "apidocs", "c", "xml"); +const commandsPath = path.join(cproofPath, "src", "command", "cmd_defs.c"); +const apiDocsCPath = path.join(cproofPath, "apidocs", "c", "xml"); -const apiDocsPythonPath = path.join(profanityPath, "apidocs", "python", "_build", "xml"); +const apiDocsPythonPath = path.join(cproofPath, "apidocs", "python", "_build", "xml"); const writeCommandDocs = () => { if (!existsSync(commandsPath)) { @@ -45,12 +45,12 @@ const writeApiDocs = () => { { buffer: cDocsEntryFileContent, docPath: apiDocsCPath, - repoPath: profanityPath + repoPath: cproofPath }, { buffer: pythonDocsEntryFileContent, docPath: apiDocsPythonPath, - repoPath: profanityPath + repoPath: cproofPath } ); const output = parser.toMD();