Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

docs: add source comments to default config values from upstream Anki

Open david-allison opened this issue 1 month ago • 4 comments

it would be nice to have a source to Anki default values

Originally posted by @BrayanDSO in https://github.com/ankidroid/Anki-Android/pull/22430#discussion_r4241946638


Search https://github.com/ankitects/ for the default value and link on the relevant extension method on :anki-common.

Ideally, the value will be found in rslib, but you may find it in the Python.

Note: some values may not have a default ("FSRS"), in which case, flag these for our review.

david-allison avatar Oct 11 '26 23:10 david-allison

Hey, I’d like to work on this. Could you assign it to me? I’ll trace the defaults to their upstream sources and add the references. Thanks!

Ranjan-3105 avatar Oct 13 '26 05:10 Ranjan-3105

i have a solution for this issue... i found the upstream sources for all the config.kt default in Anki's rust and python files and i have the KDoc links ready almost since there is no linked PR yet, should i submit a PR related to this?

rudrakshtank avatar Oct 18 '26 19:10 rudrakshtank

The issue is already assigned, @Ranjan-3105 are you still working on this

If you don't hear a reply, give it 48 hours then send a PR

david-allison avatar Oct 18 '26 19:10 david-allison

Yes I am working on it ! Will raise a PR soon.

Ranjan-3105 avatar Oct 19 '26 14:10 Ranjan-3105