Just put every definition, theorem, and exercise in a textbook into a card in an anki deck.
There are no "rules" for how flashcards should work.