diff --git a/.github/auto-merge.yml b/.github/auto-merge.yml deleted file mode 100644 index a1c3cc211..000000000 --- a/.github/auto-merge.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..60bc3482b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 + + - package-ecosystem: pip + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..bebb4f309 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,24 @@ +name: Deploy docs to GitHub Pages via mkdocs + +on: + push: + branches: + - mkdocs + +jobs: + deploy: + name: Deploy docs + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2.3.4 + - uses: actions/setup-python@v2.2.1 + with: + python-version: 3.x + - run: pip install -r docs/requirements.txt + - run: cp README.md docs/ + # temp line for test conversion repo + - run: | + cp -R general docs/ + cp -R images docs/ + cp -R FAQ.md docs/ + - run: mkdocs gh-deploy --force diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..45ddf0ae3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +site/ diff --git a/docs/manifest.webmanifest b/docs/manifest.webmanifest new file mode 100644 index 000000000..7280743cd --- /dev/null +++ b/docs/manifest.webmanifest @@ -0,0 +1,15 @@ +{ + "name": "LinuxServer.io", + "short_name": "ls.io", + "description": "Welcome to the home of the LinuxServer.io documentation!", + "icons": [ + { + "src": "https://gblobscdn.gitbook.com/spaces%2F-LWuIse8qFJj2MqDi90T%2Favatar-1590244439115.png?alt=media", + "sizes": "256x256", + "type": "image/png" + } + ], + "theme_color": "#546d78", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..7d444cdc3 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,3 @@ +mkdocs>=1.1.2 +mkdocs-material>=6.1.0 +mkdocs-redirects>=1.0.1 diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 000000000..b896c24dd --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,35 @@ +--- +site_name: LinuxServer.io +site_description: Welcome to the home of the LinuxServer.io documentation! +site_author: LinuxServer.io +site_url: https://docs.linuxserver.io + +repo_url: https://github.com/linuxserver/docker-documentation +repo_name: linuxserver/docker-documentation +edit_uri: "" + +copyright: Copyright © 2021 LinuxServer.io + +extra: + manifest: manifest.webmanifest + social: + - icon: fontawesome/brands/github-square + link: https://github.com/linuxserver + - icon: fontawesome/brands/gitlab + link: https://gitlab.com/linuxserver.io + - icon: fontawesome/brands/twitter-square + link: https://twitter.com/linuxserverio + +plugins: + - search + +theme: + name: material + features: + - navigation.instant + language: en + 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 + palette: + primary: purple + accent: indigo