Merge pull request #64 from nemchik/mkdocs

Mkdocs
pull/65/head
Eric Nemchik 2022-12-01 20:13:22 -06:00 zatwierdzone przez GitHub
commit 2860234997
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
12 zmienionych plików z 138 dodań i 12 usunięć

Wyświetl plik

@ -1,12 +0,0 @@
# Configuration for probot-auto-merge - https://github.com/bobvanderlinden/probot-auto-merge
updateBranch: true
deleteBranchAfterMerge: true
reportStatus: true
minApprovals:
COLLABORATOR: 2
maxRequestedChanges:
NONE: 0
blockingLabels:
- blocked

13
.github/dependabot.yml vendored 100644
Wyświetl plik

@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10

45
.github/workflows/deploy.yml vendored 100644
Wyświetl plik

@ -0,0 +1,45 @@
name: Build mkdocs and deploy to GitHub Pages
on: [push, pull_request]
jobs:
build:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/setup-python@v4.3.0
with:
python-version: 3.x
- uses: actions/cache@v3.0.11
with:
key: ${{ github.ref }}
path: .cache
- run: pip install -r docs/requirements.txt
- run: |
cp -R general docs/
cp -R images docs/
- run: mkdocs build
deploy:
if: github.event_name == 'push' && contains(fromJson('["refs/heads/master", "refs/heads/main", "refs/heads/mkdocs"]'), github.ref)
needs: build
name: Deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
with:
fetch-depth: '0'
- uses: actions/setup-python@v4.3.0
with:
python-version: 3.x
- uses: actions/cache@v3.0.11
with:
key: ${{ github.ref }}
path: .cache
- run: pip install -r docs/requirements.txt
- run: |
cp -R general docs/
cp -R images docs/
- run: mkdocs gh-deploy --force

2
.gitignore vendored 100644
Wyświetl plik

@ -0,0 +1,2 @@
.cache
site/

6
docs/.pages 100644
Wyświetl plik

@ -0,0 +1,6 @@
nav:
- Introduction: index.md
- FAQ.md
- general
- images
- misc

1
docs/FAQ.md 100644
Wyświetl plik

@ -0,0 +1 @@
--8<-- "FAQ.md"

1
docs/index.md 100644
Wyświetl plik

@ -0,0 +1 @@
--8<-- "README.md"

Wyświetl plik

@ -0,0 +1 @@
--8<-- "finances.md"

Wyświetl plik

@ -0,0 +1,4 @@
mkdocs-awesome-pages-plugin==2.8.0
mkdocs-material==8.5.10
mkdocs-minify-plugin==0.6.1
mkdocs-redirects==1.2.0

12
general/.pages 100644
Wyświetl plik

@ -0,0 +1,12 @@
nav:
- container-execution.md
- containers-101.md
- running-our-containers.md
- container-customization.md
- docker-compose.md
- understanding-puid-and-pgid.md
- updating-our-containers.md
- volumes.md
- fleet.md
- swag.md
- awesome-lsio.md

2
images/.pages 100644
Wyświetl plik

@ -0,0 +1,2 @@
nav:
- ... | regex=^docker-((?!(baseimage-|base-alpine-example|base-ubuntu-example|ci|doc-builder|gazee|gmail-order-bot|hydra2|jenkins-builder|letsencrypt|musicbrainz|mylar|pydio|readme-sync|rutorrent|sickrage|tester)).)*.md$

51
mkdocs.yml 100644
Wyświetl plik

@ -0,0 +1,51 @@
site_name: LinuxServer.io
site_url: https://docs.linuxserver.io
site_author: LinuxServer.io
site_description: Welcome to the home of the LinuxServer.io documentation!
repo_name: linuxserver/docker-documentation
repo_url: https://github.com/linuxserver/docker-documentation
edit_uri: ""
copyright: Copyright &copy; 2022 LinuxServer.io
theme:
name: material
language: en
features:
- navigation.instant
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: purple
accent: indigo
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: purple
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to light mode
favicon: https://gblobscdn.gitbook.com/spaces%2F-LWuIse8qFJj2MqDi90T%2Favatar-1590244439115.png?alt=media
logo: https://gblobscdn.gitbook.com/spaces%2F-LWuIse8qFJj2MqDi90T%2Favatar-1590244439115.png?alt=media
markdown_extensions:
- pymdownx.snippets
plugins:
- search
- awesome-pages
- minify:
minify_html: true
extra:
social:
- icon: fontawesome/brands/square-github
link: https://github.com/linuxserver
- icon: fontawesome/brands/square-gitlab
link: https://gitlab.com/linuxserver.io
- icon: fontawesome/brands/square-twitter
link: https://twitter.com/linuxserverio