Aleks-Ya / note-size-anki-addon

GNU General Public License v3.0
2 stars 0 forks source link

Note Size Anki addon

User documentation

See User Manual

Logs

See Logging Level

Tests

Local deploy

Run: ./deploy_locally.sh ~/.local/share/Anki2/addons21/1188705668

Build

  1. Build ZIP: python setup.py dist (includes unit-tests)
  2. Output: ./dist/note-size-X.X-X.zip

Generate MarkDown table of content (TOC)

  1. Install: pip install md-toc
  2. Generate TOC:
    1. Features: md_toc -s 1 github description/features.md
    2. Configuration: md_toc -s 1 github description/configuration.md

Release

  1. Update CHANGELOG.md manually
  2. Increment version:
    1. Major: bumpversion major
    2. Minor: bumpversion minor
    3. Patch: bumpversion patch
  3. Build ZIP: python setup.py dist
  4. Upload ZIP to the Addon page: https://ankiweb.net/shared/info/1188705668
  5. Push Git branch and tags: git push --follow-tags
  6. Create a GitHub release from tag