Skip to content

Commit a1c7ebf

Browse files
committed
Fix docs base url
1 parent 7e72a85 commit a1c7ebf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ concurrency:
1616

1717
jobs:
1818
build:
19+
name: Build
1920
runs-on: ubuntu-latest
2021
steps:
2122
- name: Checkout
@@ -45,12 +46,12 @@ jobs:
4546
path: docs/.vitepress/dist
4647

4748
deploy:
49+
name: Deploy
4850
environment:
4951
name: github-pages
5052
url: ${{ steps.deployment.outputs.page_url }}
5153
needs: build
5254
runs-on: ubuntu-latest
53-
name: Deploy
5455
steps:
5556
- name: Deploy to GitHub Pages
5657
id: deployment

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default defineConfig({
55
title: "SWR OpenAPI",
66
description: "Bindings for SWR and OpenAPI schemas",
77
cleanUrls: true,
8+
base: "/swr-openapi/",
89
themeConfig: {
910
outline: "deep",
1011
// https://vitepress.dev/reference/default-theme-config

0 commit comments

Comments
 (0)