-
Notifications
You must be signed in to change notification settings - Fork 10
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
0b1cee1
commit 8fd0e55
Showing
2 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,48 @@ | ||
# Plex Guide Template | ||
# Plex Documentation Guide | ||
|
||
Built with Material for MKDocs, deployed and hosted via Github Pages. TODO: Fill out README with links to useful videos, add links to MKDocs plugins, other misc things | ||
<br> | ||
A standardized documentation template for your Plex server, built with Material for MkDocs and deployed via GitHub Pages. This template includes pre-built pages covering common Plex topics like streaming quality, content requests, transcoding, and more. | ||
|
||
https://squidfunk.github.io/mkdocs-material/publishing-your-site/#github-pages | ||
## 🚀 Getting Started | ||
|
||
1. Fork this repository to your own GitHub account | ||
2. Configure GitHub Pages: | ||
- Go to Settings > Pages | ||
- Set "Source" to "Deploy from a branch" | ||
- Select "gh-pages" branch and "/" (root) folder | ||
- Click Save | ||
|
||
Your site will be available at `https://yourusername.github.io/mkdocs-plex-guide-template` | ||
|
||
The template will automatically use your GitHub username and repository name throughout the site. You can see this in action at my demo site: https://mistercalvin.github.io/mkdocs-plex-guide-template | ||
|
||
## 📝 Customization | ||
|
||
### Basic Configuration | ||
The following values are automatically set via environment variables: | ||
- `username` - Your GitHub username (lowercase) | ||
- `repo_name` - Repository name | ||
- `year` - Current year | ||
|
||
### Content Customization | ||
Key files to modify: | ||
- `docs/*.md` - Documentation pages | ||
- `docs/stylesheets/extra.css` - [Custom admonitions](https://squidfunk.github.io/mkdocs-material/reference/admonitions/#custom-admonitions) | ||
- `docs/assets/images/` - Images and video | ||
|
||
### Default Values | ||
You can customize default values for: | ||
- Request URL: `request.example.com` | ||
- Domain name: `example.com` | ||
|
||
Edit these in [`main.py`](main.py) in the project root. These values are used throughout the rendered markdown pages. | ||
|
||
## 📚 Resources | ||
|
||
### Documentation | ||
- [Material for MkDocs Customization](https://squidfunk.github.io/mkdocs-material/customization/) | ||
- [Publishing Your Site](https://squidfunk.github.io/mkdocs-material/publishing-your-site/#github-pages) | ||
- [MkDocs Plugins Catalog](https://github.com/mkdocs/catalog) | ||
|
||
### Video Tutorials | ||
- [Creating Documentation with MkDocs Material Theme](https://www.youtube.com/watch?v=Q-YA_dA8C20) - James Willett | ||
- [Hosting MkDocs on Cloudflare Pages](https://www.youtube.com/watch?v=7-HhLascLuM) - Techdox |