Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b638b4f

Browse files
authoredSep 23, 2024··
feat: Add custom domain support (#376)
1 parent 3a30856 commit b638b4f

Some content is hidden

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

110 files changed

+1002
-1252
lines changed
 

‎CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The repository is structured as follows:
1010

1111
- `api`: The API server which is served via `https://api.docs.page`. This is an express application which handles tasks such as fetching content from GitHub and markdown parsing.
1212
- `og`: A Next.js application which serves the Open Graph images for documentation pages.
13-
- `website`: A Remix application which serves the main `https://docs.page` website, and the documentation rendering for each repository.
13+
- `website`: A Next.js application which serves the main `https://docs.page` website, and the documentation rendering for each repository.
1414
- `packages/cli`: A CLI for running various commands and scripts for initialization, checking etc. Used locally and on CI environments.
1515

1616
## Running docs.page
@@ -21,6 +21,6 @@ Generally, you'll want to interface with the website and api. To run these concu
2121
bun dev
2222
```
2323

24-
This will start the website on `http://localhost:5173` and the api on `http://localhost:8080`.
24+
This will start the website on `http://localhost:3000` and the api on `http://localhost:8080`.
2525

2626
> The API requires a `GITHUB_APP_ID` and `GITHUB_APP_PRIVATE_KEY` to be set in your environment. These are used to authenticate with the GitHub API. You can create a GitHub App in your GitHub account settings.

‎api/src/config/v1.schema.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,12 @@ export const V1ConfigSchema = z
7878
const config: Config = {
7979
name: v1.name,
8080
description: v1.description,
81-
favicon: v1.favicon,
81+
favicon: {
82+
light: v1.favicon,
83+
dark: v1.favicon,
84+
},
8285
socialPreview: v1.socialPreview,
8386
logo: {
84-
href: "/",
8587
light: v1.logo,
8688
dark: v1.logoDark,
8789
},

0 commit comments

Comments
 (0)
Please sign in to comment.