Skip to content

Commit

Permalink
fix: keep v1 docs for now (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
baxen authored Jan 28, 2025
1 parent d9f70d7 commit 7aee155
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-docs-and-extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!

6 changes: 3 additions & 3 deletions documentation/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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",
},
Expand All @@ -114,7 +114,7 @@ const config: Config = {
},
{
label: "Extensions",
to: "https://block.github.io/goose/extensions/",
to: "https://block.github.io/goose/v1/extensions/",
},
],
},
Expand Down
2 changes: 2 additions & 0 deletions documentation/src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ export default function HomepageFeatures(): ReactNode {
<Feature key={idx} {...props} />
))}

/*
<div
style={{
margin: "80px 0",
Expand All @@ -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
Expand Down

0 comments on commit 7aee155

Please sign in to comment.