Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1"""LICENSE 

2Copyright 2020 Hermann Krumrey <hermann@krumreyh.com> 

3 

4This file is part of otaku-info-web. 

5 

6otaku-info-web is free software: you can redistribute it and/or modify 

7it under the terms of the GNU General Public License as published by 

8the Free Software Foundation, either version 3 of the License, or 

9(at your option) any later version. 

10 

11otaku-info-web is distributed in the hope that it will be useful, 

12but WITHOUT ANY WARRANTY; without even the implied warranty of 

13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 

14GNU General Public License for more details. 

15 

16You should have received a copy of the GNU General Public License 

17along with otaku-info-web. If not, see <http://www.gnu.org/licenses/>. 

18LICENSE""" 

19 

20from flask.blueprints import Blueprint 

21from typing import List, Tuple, Callable 

22from otaku_info_web.routes.manga import define_blueprint as __manga 

23from otaku_info_web.routes.external_service import define_blueprint \ 

24 as __external_service 

25from otaku_info_web.routes.api.media_api import define_blueprint as __media_api 

26from otaku_info_web.routes.notifications import define_blueprint as \ 

27 __notifications 

28from otaku_info_web.routes.media import define_blueprint as __media 

29 

30blueprint_generators: List[Tuple[Callable[[str], Blueprint], str]] = [ 

31 (__external_service, "external_service"), 

32 (__manga, "manga"), 

33 (__media_api, "media_api"), 

34 (__notifications, "notifications"), 

35 (__media, "media") 

36] 

37""" 

38Defines the functions used to create the various blueprints 

39as well as their names 

40"""