|
1 | 1 | import otpauth |
2 | 2 |
|
3 | | -project = 'OTP Auth' |
4 | | -copyright = '2013, Hsiaoming Yang' |
5 | | -author = 'Hsiaoming Yang' |
| 3 | +project = "OTP Auth" |
| 4 | +copyright = "2013, Hsiaoming Yang" |
| 5 | +author = "Hsiaoming Yang" |
6 | 6 |
|
7 | | -master_doc = 'index' |
| 7 | +master_doc = "index" |
8 | 8 |
|
9 | 9 | # The full version, including alpha/beta/rc tags |
10 | 10 | version = otpauth.__version__ |
|
32 | 32 | sitemap_url_scheme = "{link}" |
33 | 33 |
|
34 | 34 | # Add any paths that contain templates here, relative to this directory. |
35 | | -templates_path = ['_templates'] |
| 35 | +templates_path = ["_templates"] |
36 | 36 |
|
37 | 37 | # List of patterns, relative to source directory, that match files and |
38 | 38 | # directories to ignore when looking for source files. |
39 | 39 | # This pattern also affects html_static_path and html_extra_path. |
40 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 40 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
41 | 41 |
|
42 | 42 | html_static_path = ["_static"] |
43 | 43 |
|
|
47 | 47 | # The theme to use for HTML and HTML Help pages. See the documentation for |
48 | 48 | # a list of builtin themes. |
49 | 49 | # |
50 | | -html_theme = 'shibuya' |
| 50 | +html_theme = "shibuya" |
51 | 51 | html_theme_options = { |
52 | 52 | "accent_color": "blue", |
53 | 53 | "light_logo": "_static/light-logo.svg", |
54 | 54 | "dark_logo": "_static/dark-logo.svg", |
55 | | - 'twitter_site': 'authlib', |
56 | | - 'twitter_creator': 'lepture', |
57 | | - 'twitter_url': 'https://twitter.com/authlib', |
58 | | - 'github_url': 'https://github.com/authlib/otpauth', |
59 | | - 'discord_url': 'https://discord.gg/HvBVAeNAaV', |
| 55 | + "twitter_site": "authlib", |
| 56 | + "twitter_creator": "lepture", |
| 57 | + "twitter_url": "https://twitter.com/authlib", |
| 58 | + "github_url": "https://github.com/authlib/otpauth", |
| 59 | + "discord_url": "https://discord.gg/HvBVAeNAaV", |
60 | 60 | "carbon_ads_code": "CE7DKK3W", |
61 | 61 | "carbon_ads_placement": "otpauthliborg", |
62 | 62 | "nav_links": [ |
63 | 63 | { |
64 | 64 | "title": "Projects", |
65 | 65 | "children": [ |
66 | | - { |
67 | | - "title": "Authlib", |
68 | | - "url": "https://authlib.org/", |
69 | | - "summary": "OAuth, JOSE, OpenID, etc." |
70 | | - }, |
71 | | - { |
72 | | - "title": "JOSE RFC", |
73 | | - "url": "https://jose.authlib.org/", |
74 | | - "summary": "JWS, JWE, JWK, and JWT." |
75 | | - }, |
| 66 | + {"title": "Authlib", "url": "https://authlib.org/", "summary": "OAuth, JOSE, OpenID, etc."}, |
| 67 | + {"title": "JOSE RFC", "url": "https://jose.authlib.org/", "summary": "JWS, JWE, JWK, and JWT."}, |
76 | 68 | { |
77 | 69 | "title": "OTP Auth", |
78 | 70 | "url": "https://otp.authlib.org/", |
79 | 71 | "summary": "One time password, HOTP/TOTP.", |
80 | 72 | }, |
81 | | - ] |
| 73 | + ], |
82 | 74 | }, |
83 | 75 | {"title": "Sponsor me", "url": "https://github.com/sponsors/authlib"}, |
84 | | - ] |
| 76 | + ], |
85 | 77 | } |
86 | 78 |
|
87 | 79 | # Add any paths that contain custom static files (such as style sheets) here, |
|
0 commit comments