fix: keep v1 docs for now (#828)

This commit is contained in:
Bradley Axen
2025-01-27 20:30:43 -08:00
committed by GitHub
parent d9f70d79f5
commit 7aee155249
4 changed files with 8 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ jobs:
- name: Install dependencies and build extensions-site
working-directory: ./extensions-site
env:
VITE_BASENAME: "/goose/extensions/" # Set the base URL here for the extensions site
VITE_BASENAME: "/goose/v1/extensions/" # Set the base URL here for the extensions site
run: |
npm install
npm run build
@@ -48,3 +48,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: combined-build
destination_dir: v1 # Deploy the site to the 'v1' subfolder

View File

@@ -18,5 +18,5 @@ codename goose
</a>
</p>
Check out our [documentation](https://block.github.io/goose/), or to try it out head to the [installation](https://block.github.io/goose/docs/getting-started/installation) instructions!
Check out our [documentation](https://block.github.io/goose/v1/), or to try it out head to the [installation](https://block.github.io/goose/v1/docs/getting-started/installation) instructions!

View File

@@ -20,7 +20,7 @@ const config: Config = {
url: "https://block.github.io/",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/goose/",
baseUrl: "/goose/v1/",
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
@@ -87,7 +87,7 @@ const config: Config = {
},
{ to: "/blog", label: "Blog", position: "left" },
{
to: "https://block.github.io/goose/extensions/",
to: "https://block.github.io/goose/v1/extensions/",
label: "Extensions",
position: "left",
},
@@ -114,7 +114,7 @@ const config: Config = {
},
{
label: "Extensions",
to: "https://block.github.io/goose/extensions/",
to: "https://block.github.io/goose/v1/extensions/",
},
],
},

View File

@@ -192,6 +192,7 @@ export default function HomepageFeatures(): ReactNode {
<Feature key={idx} {...props} />
))}
/*
<div
style={{
margin: "80px 0",
@@ -203,6 +204,7 @@ export default function HomepageFeatures(): ReactNode {
>
<img src={require("@site/static/img/placeholder.png").default} />
</div>
*/
{/* inline styles in the interest of time */}
<div