Skip to content

Commit 7e8d578

Browse files
committed
switch to mkdocs
1 parent 0c1a91b commit 7e8d578

File tree

232 files changed

+187
-10377
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+187
-10377
lines changed

.editorconfig

Lines changed: 0 additions & 11 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "npm" # See documentation for possible values
8+
- package-ecosystem: "pip" # See documentation for possible values
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "daily"

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/gh-pages.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
1-
name: github pages
1+
name: Publish docs via GitHub Pages
2+
3+
concurrency: release-docs
24

35
on:
6+
workflow_dispatch:
47
push:
58
branches:
6-
- main # Set a branch to deploy
7-
pull_request:
9+
- 'docs-*'
10+
- main
11+
paths:
12+
- '.github/workflows/docs.yaml'
13+
- 'mkdocs.yaml'
14+
- 'docs/**'
815

916
jobs:
1017
deploy:
1118
runs-on: ubuntu-latest
19+
if: github.event.pull_request.head.repo.fork == false
1220
steps:
13-
- uses: actions/checkout@v2
14-
with:
15-
submodules: true # Fetch Hugo themes (true OR recursive)
16-
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
17-
18-
- uses: actions/setup-node@v2
19-
with:
20-
node-version: '14'
21-
22-
- name: Install dependencies
23-
run: yarn
24-
25-
- name: Build
26-
run: yarn run build
27-
28-
- name: Deploy
29-
uses: peaceiris/actions-gh-pages@v3
30-
if: github.event_name != 'pull_request'
21+
- name: Checkout
22+
uses: actions/checkout@v3
23+
- uses: actions/setup-python@v4
3124
with:
32-
github_token: ${{ secrets.GITHUB_TOKEN }}
33-
publish_dir: ./public
25+
python-version: 3.x
26+
- name: Configure Git
27+
run: |
28+
git config user.name "fullstack-devops[bot]"
29+
git config user.email "fullstack-devops[bot]@users.noreply.github.com"
30+
- run: |
31+
pip install -r requirements.txt
32+
- run: mkdocs gh-deploy --config-file ./mkdocs.yaml --force

.gitignore

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
node_modules
2-
public
3-
resources
4-
.netlify
5-
.hugo_build.lock
1+
site/
2+
*.swp

.markdownlint.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

.markdownlintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.stylelintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)