Skip to content

Commit

Permalink
Fix page authors not being hidden in certain pages
Browse files Browse the repository at this point in the history
  • Loading branch information
PTKay committed Nov 3, 2023
1 parent 7a33c05 commit 7d48aef
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: push-mkdocs-build
name: github-pages-deploy
on:
push:
paths:
Expand All @@ -13,6 +13,8 @@ env:
jobs:
deploy:
runs-on: ubuntu-latest
env:
MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -22,6 +24,5 @@ jobs:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install mkdocs-git-revision-date-localized-plugin
- run: pip install lxml
- run: pip install mkdocs-git-committers-plugin-2
- run: pip install git+https://github.com/PTKay/mkdocs-git-committers-plugin-2 --upgrade
- run: mkdocs gh-deploy --force
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: pull-request-build-check
name: pull-request-check
on:
pull_request:
paths:
Expand All @@ -12,6 +12,8 @@ env:
jobs:
build:
runs-on: ubuntu-latest
env:
MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -21,6 +23,5 @@ jobs:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install mkdocs-git-revision-date-localized-plugin
- run: pip install lxml
- run: pip install git+https://github.com/PTKickass/mkdocs-git-committers-plugin-2
- run: pip install git+https://github.com/PTKay/mkdocs-git-committers-plugin-2
- run: mkdocs build -s -v
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vscode
.vscode
.cache
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ You can test your changes locally before committing. To do so:
- Install Material For MkDocs: `pip install mkdocs-material --upgrade`
- Install necessary MkDocs Plugins
- git-revision-date-localized-plugin: `pip install mkdocs-git-revision-date-localized-plugin --upgrade`
- lxml (required by committers plugin): `pip install lxml --upgrade`
- git-committers-plugin-2: `pip install mkdocs-git-committers-plugin-2 --upgrade`
- git-committers-plugin-2: `pip install git+https://github.com/PTKay/mkdocs-git-committers-plugin-2 --upgrade`
- Serve webpage locally: `mkdocs serve`
- You can also build a static site instead, using `mkdocs build`

Expand Down

0 comments on commit 7d48aef

Please sign in to comment.