|
12 | 12 | # add these directories to sys.path here. If the directory is relative to the |
13 | 13 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
14 | 14 | # |
| 15 | +import datetime |
| 16 | +from recommonmark.parser import CommonMarkParser |
| 17 | +from datacrunch.__version__ import VERSION |
15 | 18 | import os |
16 | 19 | import sys |
17 | 20 | sys.path.insert(0, os.path.abspath('../../')) |
18 | | -from datacrunch.__version__ import VERSION |
19 | | -from recommonmark.parser import CommonMarkParser |
20 | 21 |
|
21 | 22 | # -- Project information ----------------------------------------------------- |
| 23 | +current_year = datetime.datetime.now().year |
22 | 24 |
|
23 | 25 | project = 'DataCrunch Python SDK' |
24 | | -copyright = '2021, DataCrunch.io' |
| 26 | +copyright = f'{current_year}, DataCrunch.io' |
25 | 27 | author = 'DataCrunch.io' |
26 | 28 |
|
27 | 29 | # The short X.Y version |
|
68 | 70 | # |
69 | 71 | # This is also used if you do content translation via gettext catalogs. |
70 | 72 | # Usually you set "language" from the command line for these cases. |
71 | | -language = None |
| 73 | +language = 'en' |
72 | 74 |
|
73 | 75 | # List of patterns, relative to source directory, that match files and |
74 | 76 | # directories to ignore when looking for source files. |
|
90 | 92 | # further. For a list of options available for each theme, see the |
91 | 93 | # documentation. |
92 | 94 | # |
93 | | -# html_theme_options = {} |
| 95 | +html_theme_options = { |
| 96 | + 'page_width': '1900px', |
| 97 | + 'body_min_width': '1400px', |
| 98 | +} |
94 | 99 |
|
95 | 100 | # Add any paths that contain custom static files (such as style sheets) here, |
96 | 101 | # relative to this directory. They are copied after the builtin static files, |
97 | 102 | # so a file named "default.css" will overwrite the builtin "default.css". |
98 | | -html_static_path = ['_static'] |
| 103 | +html_static_path = [] |
99 | 104 |
|
100 | 105 | # Custom sidebar templates, must be a dictionary that maps document names |
101 | 106 | # to template names. |
|
0 commit comments