Added SDK documentation

This commit is contained in:
Luke Hagar
2023-10-27 12:44:11 -05:00
parent 96613735d3
commit 7e49743b7d
3 changed files with 30 additions and 0 deletions

View File

@@ -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
View 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>
);
}

View 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;
}