Skip to content

Commit 8cc667a

Browse files
authored
Serve from /docs subpath (#228)
From the previous time + it seems that we need to add subpath to build directory as well
1 parent e71a55a commit 8cc667a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Fetch SDK packages
4848
run: yarn prepare
4949
- name: Build
50-
run: yarn build
50+
run: yarn build --out-dir ./build/docs
5151
# 👆 Build steps
5252
- name: Setup Pages
5353
uses: actions/configure-pages@v5

docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ const config: Config = {
145145
tagline: "Easiest way to add video streaming to your React Native app",
146146
favicon: "img/favicon.svg",
147147
// Set the production url of your site here
148-
url: "https://docs.fishjam.io/",
148+
url: "https://documentation.fishjam.io/",
149149
// Set the /<baseUrl>/ pathname under which your site is served
150150
// For GitHub pages deployment, it is often '/<projectName>/'
151-
baseUrl: "/",
151+
baseUrl: "/docs",
152152
trailingSlash: false,
153153

154154
// GitHub pages deployment config.

0 commit comments

Comments
 (0)