|
14 | 14 |
|
15 | 15 | import os |
16 | 16 | import sys |
| 17 | +from datetime import datetime |
17 | 18 |
|
18 | 19 | # If extensions (or modules to document with autodoc) are in another directory, |
19 | 20 | # add these directories to sys.path here. If the directory is relative to the |
|
52 | 53 |
|
53 | 54 | # General information about the project. |
54 | 55 | project = "imbalanced-learn" |
55 | | -copyright = "2014-2020, The imbalanced-learn developers" |
| 56 | +copyright = f"2014-{datetime.now().year}, The imbalanced-learn developers" |
56 | 57 |
|
57 | 58 | # The version info for the project you're documenting, acts as replacement for |
58 | 59 | # |version| and |release|, also used in various other places throughout the |
|
202 | 203 | "index", |
203 | 204 | "imbalanced-learn.tex", |
204 | 205 | "imbalanced-learn Documentation", |
205 | | - "G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas", |
| 206 | + "The imbalanced-learn developers", |
206 | 207 | "manual", |
207 | 208 | ), |
208 | 209 | ] |
|
220 | 221 | "index", |
221 | 222 | "imbalanced-learn", |
222 | 223 | "imbalanced-learn Documentation", |
223 | | - ["G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas"], |
| 224 | + ["The imbalanced-learn developers"], |
224 | 225 | 1, |
225 | 226 | ) |
226 | 227 | ] |
|
238 | 239 | "index", |
239 | 240 | "imbalanced-learn", |
240 | 241 | "imbalanced-learn Documentation", |
241 | | - "G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas", |
| 242 | + "The imbalanced-learn developerss", |
242 | 243 | "imbalanced-learn", |
243 | 244 | "Toolbox for imbalanced dataset in machine learning.", |
244 | 245 | "Miscellaneous", |
|
253 | 254 | # through a change in sphinx basic.css except rtd_theme does not use basic.css. |
254 | 255 | # In an ideal world, this would get fixed in this PR: |
255 | 256 | # https://github.com/readthedocs/sphinx_rtd_theme/pull/747/files |
| 257 | + |
| 258 | + |
256 | 259 | def setup(app): |
257 | 260 | app.add_js_file("js/copybutton.js") |
258 | 261 | app.add_css_file("basic.css") |
0 commit comments