2 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 from librarian.book2anything import Book2Anything, Option
8 class Book2Html(Book2Anything):
14 Option('-r', '--raw', dest='full-page',
15 action='store_false', default=True,
16 help='output raw text for use in templates')
19 Option('--css', dest='css'),
21 '-b', '--base-url', dest='base_url', metavar='URL',
22 help='specifies the base URL for relative image references'
26 Option('-i', '--ignore-dublin-core', dest='parse_dublincore',
27 action='store_false', default=True,
28 help='don\'t try to parse dublin core metadata')
32 if __name__ == '__main__':