|
2 | 2 | from pallets_sphinx_themes import get_version |
3 | 3 | from pallets_sphinx_themes import ProjectLink |
4 | 4 |
|
5 | | -import click._compat |
| 5 | +import asyncclick._compat |
6 | 6 |
|
7 | 7 | # compat until pallets-sphinx-themes is updated |
8 | 8 | click._compat.text_type = str |
9 | 9 |
|
10 | 10 | # Project -------------------------------------------------------------- |
11 | 11 |
|
12 | | -project = "Click" |
13 | | -copyright = "2014 Pallets" |
| 12 | +project = "AsyncClick" |
| 13 | +copyright = "2014 Pallets, 2019 Matthias Urlichs" |
14 | 14 | author = "Pallets" |
15 | | -release, version = get_version("Click", version_length=1) |
| 15 | +release, version = get_version("asyncclick", version_length=1) |
16 | 16 |
|
17 | 17 | # General -------------------------------------------------------------- |
18 | 18 |
|
|
26 | 26 | "sphinx_tabs.tabs", |
27 | 27 | ] |
28 | 28 | intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)} |
29 | | -issues_github_path = "pallets/click" |
| 29 | +issues_github_path = "python-trio/asyncclick" |
30 | 30 |
|
31 | 31 | # HTML ----------------------------------------------------------------- |
32 | 32 |
|
|
39 | 39 | ProjectLink("PyPI releases", "https://pypi.org/project/click/"), |
40 | 40 | ProjectLink("Source Code", "https://github.com/pallets/click/"), |
41 | 41 | ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"), |
| 42 | + ProjectLink("AsyncClick Fork", "https://github.com/python-trio/asyncclick/"), |
42 | 43 | ] |
43 | 44 | } |
44 | 45 | html_sidebars = { |
|
49 | 50 | html_static_path = ["_static"] |
50 | 51 | html_favicon = "_static/click-icon.png" |
51 | 52 | html_logo = "_static/click-logo-sidebar.png" |
52 | | -html_title = f"Click Documentation ({version})" |
| 53 | +html_title = f"AsyncClick Documentation ({version})" |
53 | 54 | html_show_sourcelink = False |
54 | 55 |
|
55 | 56 | # LaTeX ---------------------------------------------------------------- |
56 | 57 |
|
57 | | -latex_documents = [(master_doc, f"Click-{version}.tex", html_title, author, "manual")] |
| 58 | +latex_documents = [(master_doc, f"AsyncClick-{version}.tex", html_title, author, "manual")] |
0 commit comments