diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index c5fefeba..7859c7c5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -19,8 +19,8 @@ body: description: Steps to reproduce the behavior placeholder: | 1. Go to '...' - 2. Click on '...' - 3. Scroll down to '...' + 2. Click on '...' + 3. Scroll down to '...' 4. See error" validations: required: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15dc8f53..04efc099 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,7 +99,7 @@ jobs: - name: Use Python uses: actions/setup-python@v3 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: pip install -r requirements.txt diff --git a/docs/en/contributing.md b/docs/en/contributing.md index bc89ca07..a7c67fea 100644 --- a/docs/en/contributing.md +++ b/docs/en/contributing.md @@ -152,5 +152,3 @@ Example using `v1.9.2`: 6. Locally, switch back to `master` and pull the changes: `git switch master && git pull` 7. Create a git tag with the version: `git tag 1.9.2` 8. Push the tag: `git push --tags`. <br> You're all set! [This GitHub action](https://github.com/st3v3nmw/obsidian-spaced-repetition/blob/master/.github/workflows/release.yml) should pick it up, create a release, publish it, and update the live documentation. - -[^1]: Check the Obsidian Tasks project which has [excellent contribution guidelines](https://github.com/obsidian-tasks-group/obsidian-tasks/blob/main/CONTRIBUTING.md). diff --git a/docs/license.md b/docs/license.md index 679a294e..2c2a211a 100644 --- a/docs/license.md +++ b/docs/license.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 - 2023 Stephen Mwangi +Copyright (c) 2021 - 2024 Stephen Mwangi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/zh/contributing.md b/docs/zh/contributing.md index bc89ca07..a7c67fea 100644 --- a/docs/zh/contributing.md +++ b/docs/zh/contributing.md @@ -152,5 +152,3 @@ Example using `v1.9.2`: 6. Locally, switch back to `master` and pull the changes: `git switch master && git pull` 7. Create a git tag with the version: `git tag 1.9.2` 8. Push the tag: `git push --tags`. <br> You're all set! [This GitHub action](https://github.com/st3v3nmw/obsidian-spaced-repetition/blob/master/.github/workflows/release.yml) should pick it up, create a release, publish it, and update the live documentation. - -[^1]: Check the Obsidian Tasks project which has [excellent contribution guidelines](https://github.com/obsidian-tasks-group/obsidian-tasks/blob/main/CONTRIBUTING.md). diff --git a/mkdocs.yml b/mkdocs.yml index 6537cdbd..8f58b9c4 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -41,9 +41,11 @@ plugins: - i18n: docs_structure: folder languages: - en: English - zh: 简体中文 - default_language: en + - locale: en + name: English + default: true + - locale: zh + name: 简体中文 markdown_extensions: - toc: @@ -58,7 +60,7 @@ markdown_extensions: - attr_list - footnotes - pymdownx.emoji: - emoji_index: !!python/name:materialx.emoji.twemoji + emoji_index: !!python/name:material.extensions.emoji.twemoji emoji_generator: !!python/name:materialx.emoji.to_svg remote_branch: gh-pages diff --git a/requirements.txt b/requirements.txt index 473cab57..87e32081 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -mkdocs-material==9.5.3 -mkdocs-static-i18n==0.56 +mkdocs-material==9.5.31 +mkdocs-static-i18n==1.2.3