From ae6f208d7174509e8b1f2e0362d5846d5d07b89a Mon Sep 17 00:00:00 2001 From: Guido Flohr Date: Wed, 13 Dec 2023 13:51:25 +0200 Subject: [PATCH] generate description for Anki web --- .gitignore | 1 + CHANGELOG.md | 16 +++++++++++----- Makefile | 5 ++++- description.md | 9 +++++++-- 4 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 450653c..f6eca97 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ src/manifest.json src/meta.json /build /ankidata +/ankiweb-description.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 40c400b..0442d0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ This project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.2] - 2023-12-12 + +### Fixed + +* update deck overview after import + +### Changed + +* modified project structure +* PGN files must now be in UTF-8 + ## [0.1.1] - 2023-12-01 ### Added @@ -12,11 +23,6 @@ This project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). * correct location of meta.json with configuration -### Changed - -* modified project structure -* PGN files must now be in UTF-8 - ## [0.1.0] - 2023-11-21 ### Added diff --git a/Makefile b/Makefile index d9ecc07..f46b233 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,12 @@ all: zip ankiweb zip: vendor python -m ankiscripts.build --type package --qt all --exclude user_files/**/* -ankiweb: vendor +ankiweb: vendor build/ankiweb-description.md python -m ankiscripts.build --type ankiweb --qt all --exclude user_files/**/* +build/ankiweb-description.md: description.md CHANGELOG.md + cat description.md CHANGELOG.md >$@ + vendor: python -m ankiscripts.vendor diff --git a/description.md b/description.md index 8aba219..4bb3844 100644 --- a/description.md +++ b/description.md @@ -1,5 +1,3 @@ -## Chess Opening Trainer - This extension creates a deck with chess openings from a collection of chess games in PGN format. If you select "white" as the colour, when importing the file, all black moves become questions, and all white replies to that move @@ -14,3 +12,10 @@ on both sides of the notes. See the [github page](htttps://github.com/gflohr/anki-chess-opening-trainer) for more information! + +There is a also a blog post that describes the add-on and its concept in +great detail: + +* English version: http://www.guido-flohr.net/practice-chess-openings-with-anki/ +* German version: http://www.guido-flohr.net/schach-eroeffnungen-mit-anki-trainieren/ +