Update git repository link
This commit is contained in:
@@ -7,14 +7,14 @@ RUN apt-get update && \
|
|||||||
|
|
||||||
WORKDIR /app
|
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 ./
|
COPY package*.json ./
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
COPY --exclude=.git . .
|
COPY --exclude=.git . .
|
||||||
RUN cd /app/profanity/apidocs/c/ && ./gen.sh
|
RUN cd /app/cproof/apidocs/c/ && ./gen.sh
|
||||||
RUN cd /app/profanity/apidocs/python/ && ls -alh && chmod +x gen.sh && ./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 astro telemetry disable
|
||||||
RUN npm run pre-build
|
RUN npm run pre-build
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ export default defineConfig({
|
|||||||
social: [
|
social: [
|
||||||
{
|
{
|
||||||
icon: "github",
|
icon: "github",
|
||||||
label: "Gitea",
|
label: "Git",
|
||||||
href: "https://git.jabber.space/devs/profanity/"
|
href: "https://git.jabber.space/devs/cproof/"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
editLink: {
|
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:
|
The files need to be placed in the following locations:
|
||||||
|
|
||||||
```plaintext
|
```plaintext
|
||||||
$XDG_DATA_HOME/profanity/otr//keys.txt
|
$XDG_DATA_HOME/profanity/otr/keys.txt
|
||||||
$XDG_DATA_HOME/profanity/otr//fingerprints.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:
|
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
|
link: /getting-started/installation
|
||||||
icon: right-arrow
|
icon: right-arrow
|
||||||
- text: View our Git
|
- text: View our Git
|
||||||
link: https://git.jabber.space/devs/profanity
|
link: https://git.jabber.space/devs/cproof
|
||||||
icon: external
|
icon: external
|
||||||
variant: minimal
|
variant: minimal
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export interface CommandGroup {
|
|||||||
tags: string[]; // command category tag(s)
|
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 {
|
export class CommandParser {
|
||||||
private buffer: string;
|
private buffer: string;
|
||||||
|
|||||||
@@ -8,13 +8,13 @@ import { ApiDocParser } from "./parser/apidoc/apidoc-parser";
|
|||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = dirname(__filename);
|
const __dirname = dirname(__filename);
|
||||||
|
|
||||||
const profanityPath = path.join(__dirname, "..", "..", "profanity");
|
const cproofPath = path.join(__dirname, "..", "..", "cproof");
|
||||||
const appPath = path.join(__dirname, "..", "content", "docs");
|
const appPath = path.join(__dirname, "..", "content", "docs");
|
||||||
|
|
||||||
const commandsPath = path.join(profanityPath, "src", "command", "cmd_defs.c");
|
const commandsPath = path.join(cproofPath, "src", "command", "cmd_defs.c");
|
||||||
const apiDocsCPath = path.join(profanityPath, "apidocs", "c", "xml");
|
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 = () => {
|
const writeCommandDocs = () => {
|
||||||
if (!existsSync(commandsPath)) {
|
if (!existsSync(commandsPath)) {
|
||||||
@@ -45,12 +45,12 @@ const writeApiDocs = () => {
|
|||||||
{
|
{
|
||||||
buffer: cDocsEntryFileContent,
|
buffer: cDocsEntryFileContent,
|
||||||
docPath: apiDocsCPath,
|
docPath: apiDocsCPath,
|
||||||
repoPath: profanityPath
|
repoPath: cproofPath
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
buffer: pythonDocsEntryFileContent,
|
buffer: pythonDocsEntryFileContent,
|
||||||
docPath: apiDocsPythonPath,
|
docPath: apiDocsPythonPath,
|
||||||
repoPath: profanityPath
|
repoPath: cproofPath
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
const output = parser.toMD();
|
const output = parser.toMD();
|
||||||
|
|||||||
Reference in New Issue
Block a user