Skip to content

Add deckAsDirTree to support subdeck backgrounds #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

yakaru
Copy link

@yakaru yakaru commented Mar 31, 2025

This is somewhat brute force, but before parsing the Overview._body we put a new entry in the content dictionary named "deckAsDirTree" which allows you to put in backgrounds for subdecks, including if you have any of the same name, by simply making a directory tree that matches your subdeck ordering.

Addresses the bug I found: #75 and tested by modifying the local python code in the same manner

(note that head of git does appear to be ahead of ankiweb upload, which I didn't attempt to test)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant