mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-18 14:44:21 +01:00
fix: keep v1 docs for now (#828)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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!
|
||||
|
||||
|
||||
@@ -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/",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user