From b6ed2c5d8f6a2a88b43142108e8f7b8248f8b3ee Mon Sep 17 00:00:00 2001 From: flokoe Date: Tue, 4 Jul 2023 14:15:26 +0200 Subject: [PATCH] Add GitHub integration --- .github/workflows/deploy.yml | 2 +- .gitignore | 3 ++- mkdocs.yml | 10 ++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ee5b2c7..148e988 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,5 +21,5 @@ jobs: path: .cache restore-keys: | mkdocs-material- - - run: pip install mkdocs-material + - run: pip install mkdocs-material mkdocs-git-revision-date-localized-plugin - run: mkdocs gh-deploy --force diff --git a/.gitignore b/.gitignore index d97e100..0c493db 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -site \ No newline at end of file +site +env \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index a30c7eb..d9d28d6 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,13 +1,23 @@ site_name: The Bash Hackers Wiki +repo_url: https://github.com/flokoe/bash-hackers-wiki +repo_name: flokoe/bash-hackers-wiki +edit_uri: edit/main/docs/ + theme: name: material features: - navigation.tabs + - content.action.view + - content.action.edit + icon: + repo: fontawesome/brands/github plugins: - tags: tags_file: tags.md + - git-revision-date-localized: + enable_creation_date: true markdown_extensions: - admonition