Skip to content

Commit

Permalink
add: add linux pages and optization plugins.
Browse files Browse the repository at this point in the history
Signed-off-by: Eglinux <mthreads0755@gmail.com>
  • Loading branch information
eglinux-001 committed Feb 24, 2024
1 parent 1c87466 commit ceeeed7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ jobs:
- run: pip install mkdocs-git-committers-plugin-2
- run: mkdocs gh-deploy --force
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
CI: true
6 changes: 6 additions & 0 deletions docs/linux/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
hide:
- footer
---

# Linux
23 changes: 15 additions & 8 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,19 @@ theme:

plugins:
- search
- git-revision-date-localized:
enable_creation_date: true
- git-committers:
repository: eglinuxer/eglinux
branch: main
token: !ENV GH_TOKEN
- projects
- optimize

# Continuous integration
- group:
enabled: !ENV CI
plugins:
- git-revision-date-localized:
enable_creation_date: true
type: timeago
- git-committers:
repository: eglinuxer/eglinux
token: !ENV GH_TOKEN
- optimize
- projects

extra:
homepage: https://www.eglinux.com
Expand All @@ -101,6 +106,8 @@ nav:
- 读书: eglinux/book.md
- 课程: eglinux/course.md
- 赞助: eglinux/support_me.md
- Linux:
- linux/index.md
- Python:
- python/index.md
- C/C++:
Expand Down

0 comments on commit ceeeed7

Please sign in to comment.