Files
yoga/website-next/.docusaurus/docusaurus.config.mjs
Nick Gerleman 6e44197645 Docusarus: Init Project
Summary:
This starts us transitioning the Yoga website off of an ancient version of Gatsby by initializing a new Docusaurus project. This commit adds a new stock project, to be filled in later, then fixes license lint errors.

Note that this seems to have init'd using npm, but in the next diff I convert this to yarn workspaces anyway.

Differential Revision: D46884434

fbshipit-source-id: 26e2ecba057ae99c4ef878e4cd21c8d21a25c2b5
2023-06-23 13:43:52 -07:00

357 lines
7.7 KiB
JavaScript

/*
* AUTOGENERATED - DON'T EDIT
* Your edits in this file will be overwritten in the next build!
* Modify the docusaurus.config.js file at your site's root instead.
*/
export default {
"title": "Yoga",
"tagline": "Build flexible layouts on any platform with a highly optimized open source layout engine designed with speed, size, and ease of use in mind.",
"favicon": "img/favicon.png",
"url": "https:/yogalayout.com",
"baseUrl": "/",
"organizationName": "facebook",
"projectName": "yoga",
"onBrokenLinks": "throw",
"onBrokenMarkdownLinks": "warn",
"i18n": {
"defaultLocale": "en",
"locales": [
"en"
],
"path": "i18n",
"localeConfigs": {}
},
"presets": [
[
"classic",
{
"docs": {
"sidebarPath": "/Users/ngerlem/fbsource/xplat/yoga/website-next/sidebars.js",
"editUrl": "https://github.com/facebook/yoga/tree/main/website"
},
"blog": {
"showReadingTime": true,
"editUrl": "https://github.com/facebook/yoga/tree/main/website"
},
"theme": {
"customCss": "/Users/ngerlem/fbsource/xplat/yoga/website-next/src/css/custom.css"
}
}
]
],
"plugins": [
null
],
"themeConfig": {
"navbar": {
"title": "Yoga",
"logo": {
"alt": "Yoga Logo",
"src": "img/logo.svg"
},
"items": [
{
"type": "docSidebar",
"sidebarId": "tutorialSidebar",
"position": "left",
"label": "Tutorial"
},
{
"to": "/blog",
"label": "Blog",
"position": "left"
},
{
"href": "https://github.com/facebook/docusaurus",
"label": "GitHub",
"position": "right"
}
],
"hideOnScroll": false
},
"footer": {
"style": "dark",
"links": [
{
"title": "Docs",
"items": [
{
"label": "Tutorial",
"to": "/docs/intro"
}
]
},
{
"title": "Community",
"items": [
{
"label": "Stack Overflow",
"href": "https://stackoverflow.com/questions/tagged/yoga"
},
{
"label": "Twitter",
"href": "https://twitter.com/yogalayout"
}
]
},
{
"title": "More",
"items": [
{
"label": "Blog",
"to": "/blog"
},
{
"label": "GitHub",
"href": "https://github.com/facebook/yoga"
}
]
}
],
"copyright": "Copyright © 2023 Meta Platforms, Inc."
},
"prism": {
"theme": {
"plain": {
"color": "#393A34",
"backgroundColor": "#f6f8fa"
},
"styles": [
{
"types": [
"comment",
"prolog",
"doctype",
"cdata"
],
"style": {
"color": "#999988",
"fontStyle": "italic"
}
},
{
"types": [
"namespace"
],
"style": {
"opacity": 0.7
}
},
{
"types": [
"string",
"attr-value"
],
"style": {
"color": "#e3116c"
}
},
{
"types": [
"punctuation",
"operator"
],
"style": {
"color": "#393A34"
}
},
{
"types": [
"entity",
"url",
"symbol",
"number",
"boolean",
"variable",
"constant",
"property",
"regex",
"inserted"
],
"style": {
"color": "#36acaa"
}
},
{
"types": [
"atrule",
"keyword",
"attr-name",
"selector"
],
"style": {
"color": "#00a4db"
}
},
{
"types": [
"function",
"deleted",
"tag"
],
"style": {
"color": "#d73a49"
}
},
{
"types": [
"function-variable"
],
"style": {
"color": "#6f42c1"
}
},
{
"types": [
"tag",
"selector",
"keyword"
],
"style": {
"color": "#00009f"
}
}
]
},
"darkTheme": {
"plain": {
"color": "#F8F8F2",
"backgroundColor": "#282A36"
},
"styles": [
{
"types": [
"prolog",
"constant",
"builtin"
],
"style": {
"color": "rgb(189, 147, 249)"
}
},
{
"types": [
"inserted",
"function"
],
"style": {
"color": "rgb(80, 250, 123)"
}
},
{
"types": [
"deleted"
],
"style": {
"color": "rgb(255, 85, 85)"
}
},
{
"types": [
"changed"
],
"style": {
"color": "rgb(255, 184, 108)"
}
},
{
"types": [
"punctuation",
"symbol"
],
"style": {
"color": "rgb(248, 248, 242)"
}
},
{
"types": [
"string",
"char",
"tag",
"selector"
],
"style": {
"color": "rgb(255, 121, 198)"
}
},
{
"types": [
"keyword",
"variable"
],
"style": {
"color": "rgb(189, 147, 249)",
"fontStyle": "italic"
}
},
{
"types": [
"comment"
],
"style": {
"color": "rgb(98, 114, 164)"
}
},
{
"types": [
"attr-name"
],
"style": {
"color": "rgb(241, 250, 140)"
}
}
]
},
"additionalLanguages": [],
"magicComments": [
{
"className": "theme-code-block-highlighted-line",
"line": "highlight-next-line",
"block": {
"start": "highlight-start",
"end": "highlight-end"
}
}
]
},
"webpack": {
"experiments": {
"asyncWebAssembly": true
}
},
"colorMode": {
"defaultMode": "light",
"disableSwitch": false,
"respectPrefersColorScheme": false
},
"docs": {
"versionPersistence": "localStorage",
"sidebar": {
"hideable": false,
"autoCollapseCategories": false
}
},
"metadata": [],
"tableOfContents": {
"minHeadingLevel": 2,
"maxHeadingLevel": 3
}
},
"baseUrlIssueBanner": true,
"onDuplicateRoutes": "warn",
"staticDirectories": [
"static"
],
"customFields": {},
"themes": [],
"scripts": [],
"headTags": [],
"stylesheets": [],
"clientModules": [],
"titleDelimiter": "|",
"noIndex": false,
"markdown": {
"mermaid": false
}
};