fix: keep v1 docs for now (#828)
This commit is contained in:
@@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Install dependencies and build extensions-site
|
- name: Install dependencies and build extensions-site
|
||||||
working-directory: ./extensions-site
|
working-directory: ./extensions-site
|
||||||
env:
|
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: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
@@ -48,3 +48,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: combined-build
|
publish_dir: combined-build
|
||||||
|
destination_dir: v1 # Deploy the site to the 'v1' subfolder
|
||||||
|
|||||||
@@ -18,5 +18,5 @@ codename goose
|
|||||||
</a>
|
</a>
|
||||||
</p>
|
</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/",
|
url: "https://block.github.io/",
|
||||||
// Set the /<baseUrl>/ pathname under which your site is served
|
// Set the /<baseUrl>/ pathname under which your site is served
|
||||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||||
baseUrl: "/goose/",
|
baseUrl: "/goose/v1/",
|
||||||
|
|
||||||
// GitHub pages deployment config.
|
// GitHub pages deployment config.
|
||||||
// If you aren't using GitHub pages, you don't need these.
|
// 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: "/blog", label: "Blog", position: "left" },
|
||||||
{
|
{
|
||||||
to: "https://block.github.io/goose/extensions/",
|
to: "https://block.github.io/goose/v1/extensions/",
|
||||||
label: "Extensions",
|
label: "Extensions",
|
||||||
position: "left",
|
position: "left",
|
||||||
},
|
},
|
||||||
@@ -114,7 +114,7 @@ const config: Config = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Extensions",
|
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} />
|
<Feature key={idx} {...props} />
|
||||||
))}
|
))}
|
||||||
|
|
||||||
|
/*
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
margin: "80px 0",
|
margin: "80px 0",
|
||||||
@@ -203,6 +204,7 @@ export default function HomepageFeatures(): ReactNode {
|
|||||||
>
|
>
|
||||||
<img src={require("@site/static/img/placeholder.png").default} />
|
<img src={require("@site/static/img/placeholder.png").default} />
|
||||||
</div>
|
</div>
|
||||||
|
*/
|
||||||
|
|
||||||
{/* inline styles in the interest of time */}
|
{/* inline styles in the interest of time */}
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user