from librarian.document import WLDocument
from librarian.builders import StandaloneHtmlBuilder
from librarian.meta.types.wluri import WLURI
-from librarian.meta.types.text import LegimiCategory, Epoch, Kind, Genre, Audience
+from librarian.meta.types.text import LegimiCategory, Epoch, Kind, Genre, Audience, ThemaCategory
from depot.legimi import legimi
'widget': 'select',
'options': [''] + list(legimi.CATEGORIES.keys()),
},
+ ThemaCategory: {
+ 'autocomplete': {
+ 'source': '/catalogue/terms/thema/',
+ }
+ },
Epoch: {
'autocomplete': {
'source': '/catalogue/terms/epoch/',