chrisjsewell / ipypublish
1 3
ETYPE_GLOSS = "glsterm"
2 3
ETYPE_ACRONYM = "glsacronym"
3 3
ETYPE_SYMBOL = "glssymbol"
4

5 3
NEWGLOSS_FIELDS = ("name", "description", "plural", "symbol", "text", "sort")
6

7 3
NEWACRONYM_FIELDS = ("description", "plural", "longplural", "firstplural")
8

9

10
# TODO allow mapping
11
# DEFAULT_GLOSS_P2F = (("name", "name"),
12
#                      ("description", "description"),
13
#                      ("plural", "plural"),
14
#                      ("symbol", "symbol"),
15
#                      ("text", "text"),
16
#                      ("sort", "sort"))
17

18

19
# DEFAULT_ACRONYM_P2F = (("abbreviation", "abbreviation"),
20
#                        ("longname", "longname"),
21
#                        ("description", "description"),
22
#                        ("plural", "plural"),
23
#                        ("longplural", "longplural"),
24
#                        ("firstplural", "firstplural"))

Read our documentation on viewing source code .

Loading