mirror of
https://github.com/LukeHagar/plex-docs.git
synced 2025-12-07 20:47:45 +00:00
Update docusaurus.config.js
This commit is contained in:
@@ -11,7 +11,7 @@ const config = {
|
|||||||
favicon: "img/favicon.ico",
|
favicon: "img/favicon.ico",
|
||||||
|
|
||||||
// Set the production url of your site here
|
// Set the production url of your site here
|
||||||
url: "https://your-docusaurus-test-site.com",
|
url: "https://plex-docs.vercel.app",
|
||||||
// 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: "/",
|
baseUrl: "/",
|
||||||
@@ -39,7 +39,7 @@ const config = {
|
|||||||
({
|
({
|
||||||
docs: {
|
docs: {
|
||||||
editUrl:
|
editUrl:
|
||||||
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
|
"https://github.com/LukeHagar/plex-api-spec/blob/main/plex-api-spec-dereferenced.yaml",
|
||||||
sidebarPath: require.resolve("./sidebars.js"),
|
sidebarPath: require.resolve("./sidebars.js"),
|
||||||
docLayoutComponent: "@theme/DocPage",
|
docLayoutComponent: "@theme/DocPage",
|
||||||
docItemComponent: "@theme/ApiItem", // Derived from docusaurus-theme-openapi-docs
|
docItemComponent: "@theme/ApiItem", // Derived from docusaurus-theme-openapi-docs
|
||||||
@@ -48,8 +48,7 @@ const config = {
|
|||||||
showReadingTime: true,
|
showReadingTime: true,
|
||||||
// Please change this to your repo.
|
// Please change this to your repo.
|
||||||
// Remove this to remove the "edit this page" links.
|
// Remove this to remove the "edit this page" links.
|
||||||
editUrl:
|
editUrl: "https://github.com/LukeHagar/plex-docs/tree/main/blog",
|
||||||
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
|
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
customCss: require.resolve("./src/css/custom.css"),
|
customCss: require.resolve("./src/css/custom.css"),
|
||||||
@@ -186,10 +185,11 @@ const config = {
|
|||||||
docsPluginId: "classic",
|
docsPluginId: "classic",
|
||||||
config: {
|
config: {
|
||||||
Plex: {
|
Plex: {
|
||||||
specPath:
|
specPath: "static/plex-api-spec-dereferenced.yaml", // Path to designated spec file
|
||||||
"https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-api-spec-dereferenced.yaml", // Path to designated spec file
|
|
||||||
outputDir: "docs/plex", // Output directory for generated .mdx docs
|
outputDir: "docs/plex", // Output directory for generated .mdx docs
|
||||||
template: "api.mustache",
|
template: "api.mustache",
|
||||||
|
downloadUrl:
|
||||||
|
"https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-api-spec-dereferenced.yaml",
|
||||||
sidebarOptions: {
|
sidebarOptions: {
|
||||||
groupPathsBy: "tag",
|
groupPathsBy: "tag",
|
||||||
categoryLinkSource: "tag",
|
categoryLinkSource: "tag",
|
||||||
|
|||||||
Reference in New Issue
Block a user