Update git repository link
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
---
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user