-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0cf7c8
commit b561a88
Showing
5 changed files
with
1,013 additions
and
1,961 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
import type { Config } from "@docusaurus/types"; | ||
|
||
export default async function createConfigAsync() { | ||
return { | ||
title: "oclif: The Open CLI Framework", | ||
tagline: "Create command line tools your users love", | ||
url: "https://oclif.github.io", | ||
baseUrl: "/", | ||
organizationName: "oclif", | ||
projectName: "oclif.github.io", | ||
deploymentBranch: "main", | ||
scripts: ["https://buttons.github.io/buttons.js"], | ||
stylesheets: [ | ||
"https://fonts.googleapis.com/css?family=Roboto:400,700|Roboto+Mono", | ||
], | ||
favicon: "img/oclif_rev.svg", | ||
customFields: { | ||
disableHeaderTitle: true, | ||
fonts: { | ||
myFont: ["Roboto", "sans-serif"], | ||
myOtherFont: ["-apple-system", "system-ui"], | ||
}, | ||
repoUrl: "https://github.com/oclif/oclif", | ||
presets: [ | ||
[ | ||
"@docusaurus/preset-classic", | ||
{ | ||
blog: { | ||
feedOptions: { | ||
type: "all", | ||
title: "oclif.io Blog", | ||
description: "The oclif.io Blog Feed", | ||
copyright: "Copyright © 2023 Salesforce", | ||
}, | ||
}, | ||
}, | ||
], | ||
], | ||
blogSidebarCount: "ALL", | ||
}, | ||
onBrokenLinks: "log", | ||
onBrokenMarkdownLinks: "log", | ||
presets: [ | ||
[ | ||
"@docusaurus/preset-classic", | ||
{ | ||
docs: { | ||
showLastUpdateAuthor: true, | ||
showLastUpdateTime: true, | ||
editUrl: "https://github.com/oclif/oclif.github.io/tree/docs/docs/", | ||
path: "../docs", | ||
sidebarPath: "../website/sidebars.ts", | ||
}, | ||
blog: { | ||
path: "blog", | ||
}, | ||
theme: { | ||
customCss: "../website/src/css/custom.css", | ||
}, | ||
}, | ||
], | ||
], | ||
plugins: [], | ||
themeConfig: { | ||
navbar: { | ||
logo: { | ||
src: "img/oclif.svg", | ||
srcDark: "img/oclif_rev.svg", | ||
alt: "oclif", | ||
href: "/", | ||
target: "_self", | ||
}, | ||
items: [ | ||
{ | ||
to: "docs/introduction", | ||
label: "Getting Started", | ||
position: "right", | ||
}, | ||
{ | ||
to: "docs/api_reference", | ||
label: "API Reference", | ||
position: "right", | ||
}, | ||
{ | ||
to: "blog", | ||
label: "Blog", | ||
position: "right", | ||
}, | ||
{ | ||
href: "https://github.com/oclif/oclif", | ||
className: "header-github-link", | ||
"aria-label": "GitHub repository", | ||
position: "right", | ||
}, | ||
], | ||
}, | ||
announcementBar: { | ||
id: "announcementBar-1", // Increment on change (otherwise new announcements won't show up for users who have already dismissed old ones) | ||
content: `<b><a target="_blank" href="https://github.com/oclif/core/releases/tag/3.0.0">@oclif/core v3.0</a> is now out! 🥳️</b>`, | ||
}, | ||
footer: { | ||
links: [], | ||
copyright: "Copyright © 2023 Salesforce", | ||
logo: { | ||
src: "img/salesforce-logo.svg", | ||
alt: "Salesforce", | ||
href: "https://developer.salesforce.com", | ||
width: 160, | ||
height: 51, | ||
}, | ||
}, | ||
algolia: { | ||
apiKey: "6032dd3bbb99cdcfacc285354871966c", | ||
indexName: "oclifio", | ||
appId: "Q04FC8Q6OZ", | ||
contextualSearch: true, | ||
}, | ||
}, | ||
} satisfies Config; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.