mirror of
https://github.com/LukeHagar/plex-docs.git
synced 2025-12-06 12:37:45 +00:00
Added SDK documentation
This commit is contained in:
@@ -79,6 +79,7 @@ const config = {
|
|||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
{ to: "/docs/plex", label: "API", className: "indent" },
|
{ to: "/docs/plex", label: "API", className: "indent" },
|
||||||
|
{ to: "/sdk-docs", label: "SDKs", className: "indent" },
|
||||||
{ to: "/blog", label: "Blog", className: "indent" },
|
{ to: "/blog", label: "Blog", className: "indent" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
20
src/pages/sdk-docs.js
Normal file
20
src/pages/sdk-docs.js
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// https://docs.liblab.com/lukeslakemail/plex-api/0.0.3
|
||||||
|
import React from "react";
|
||||||
|
import Layout from "@theme/Layout";
|
||||||
|
import BrowserOnly from "@docusaurus/BrowserOnly";
|
||||||
|
import styles from "./sdk-docs.module.css";
|
||||||
|
|
||||||
|
export default function SdkDocs() {
|
||||||
|
return (
|
||||||
|
<Layout
|
||||||
|
title={`SDK Docs`}
|
||||||
|
description="Community Made Plex Media Server SDK Documentation"
|
||||||
|
>
|
||||||
|
<iframe
|
||||||
|
className={styles.sdkDocs}
|
||||||
|
id="sdk-docs"
|
||||||
|
src="https://docs.liblab.com/lukeslakemail/plex-api/0.0.3"
|
||||||
|
/>
|
||||||
|
</Layout>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/pages/sdk-docs.module.css
Normal file
9
src/pages/sdk-docs.module.css
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/**
|
||||||
|
* CSS files with the .module.css suffix will be treated as CSS modules
|
||||||
|
* and scoped locally.
|
||||||
|
*/
|
||||||
|
|
||||||
|
.sdkDocs {
|
||||||
|
height: 100%;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user