Skip to content

Commit 51265c8

Browse files
authored
fix: update documentation website URL (#306)
1 parent 660651a commit 51265c8

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
- [ ] This pull request links relevant issues as `Fixes #0000`
3030
- [ ] There are new or updated unit tests validating the change
3131
- [ ] Documentation has been updated to reflect this change
32-
- [ ] The new commits and pull request title follow conventions explained in [pull request guidelines](https://withcatai.github.io/node-llama-cpp/guide/contributing) (PRs that do not follow this convention will not be merged)
32+
- [ ] The new commits and pull request title follow conventions explained in [pull request guidelines](https://node-llama-cpp.withcat.ai/guide/contributing) (PRs that do not follow this convention will not be merged)

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ jobs:
299299
- name: Generate docs with updated version
300300
if: steps.set-npm-url.outputs.npm-url != ''
301301
env:
302-
DOCS_URL_BASE: "/node-llama-cpp/"
302+
DOCS_URL_BASE: "/"
303303
run: |
304304
export DOCS_PACKAGE_VERSION=$(cat .semanticRelease.npmPackage.deployedVersion.txt)
305305
npm run docs:build

.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const urlBase = env.get("DOCS_URL_BASE").asString();
1414
const packageVersion = env.get("DOCS_PACKAGE_VERSION").default(packageJson.version).asString();
1515
const googleSiteVerificationCode = "7b4Hd_giIK0EFsin6a7PWLmM_OeaC7APLZUxVGwwI6Y";
1616

17-
const hostname = "https://withcatai.github.io/node-llama-cpp/";
17+
const hostname = "https://node-llama-cpp.withcat.ai/";
1818

1919
const chatWrappersOrder = [
2020
"GeneralChatPromptWrapper",

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Moved [here](https://withcatai.github.io/node-llama-cpp/guide/contributing)
1+
# Moved [here](https://node-llama-cpp.withcat.ai/guide/contributing)

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
* Up-to-date with the latest version of `llama.cpp`. Download and compile the latest release with a single CLI command.
2727
* Force a model to generate output in a parseable format, like JSON, or even force it to follow a specific JSON schema
2828

29-
## [Documentation](https://withcatai.github.io/node-llama-cpp/)
30-
* [Getting started guide](https://withcatai.github.io/node-llama-cpp/guide/)
31-
* [API reference](https://withcatai.github.io/node-llama-cpp/api/classes/LlamaModel)
32-
* [CLI help](https://withcatai.github.io/node-llama-cpp/guide/cli/)
29+
## [Documentation](https://node-llama-cpp.withcat.ai/)
30+
* [Getting started guide](https://node-llama-cpp.withcat.ai/guide/)
31+
* [API reference](https://node-llama-cpp.withcat.ai/api/classes/LlamaModel)
32+
* [CLI help](https://node-llama-cpp.withcat.ai/guide/cli/)
3333
* [Changelog](https://github.com/withcatai/node-llama-cpp/releases)
3434
* [Roadmap](https://github.com/orgs/withcatai/projects/1)
3535

@@ -72,10 +72,10 @@ const a2 = await session.prompt(q2);
7272
console.log("AI: " + a2);
7373
```
7474

75-
> For more examples, see the [getting started guide](https://withcatai.github.io/node-llama-cpp/guide/)
75+
> For more examples, see the [getting started guide](https://node-llama-cpp.withcat.ai/guide/)
7676
7777
## Contributing
78-
To contribute to `node-llama-cpp` read the [contribution guide](https://withcatai.github.io/node-llama-cpp/guide/contributing).
78+
To contribute to `node-llama-cpp` read the [contribution guide](https://node-llama-cpp.withcat.ai/guide/contributing).
7979

8080
## Acknowledgements
8181
* llama.cpp: [ggerganov/llama.cpp](https://github.com/ggerganov/llama.cpp)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"bugs": {
9797
"url": "https://github.com/withcatai/node-llama-cpp/issues"
9898
},
99-
"homepage": "https://withcatai.github.io/node-llama-cpp/",
99+
"homepage": "https://node-llama-cpp.withcat.ai",
100100
"devDependencies": {
101101
"@commitlint/cli": "^17.7.1",
102102
"@commitlint/config-conventional": "^17.7.0",

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const defaultChatSystemPrompt = "You are a helpful, respectful and honest
5959
export const cliBinName = "node-llama-cpp";
6060
export const npxRunPrefix = "npx --no ";
6161

62-
const documentationUrl = "https://withcatai.github.io/node-llama-cpp";
62+
const documentationUrl = "https://node-llama-cpp.withcat.ai";
6363
export const documentationPageUrls = {
6464
CUDA: documentationUrl + "/guide/CUDA"
6565
} as const;

0 commit comments

Comments
 (0)