summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
diff options
context:
space:
mode:
authorYclept Nemo <pscjtwjdjtAhnbjm/dpn>2015-01-25 17:04:11 -0500
committerYclept Nemo <pscjtwjdjtAhnbjm/dpn>2015-01-25 17:04:11 -0500
commitfdad400ccd79ef62a73065f562d589f8e3851085 (patch)
tree491b081da4c7be443c8af07e4a408edcc0184dee /sphinx/setup_command.py
parentffe331d8223298bfb69f5e929628605e854f8127 (diff)
downloadsphinx-git-fdad400ccd79ef62a73065f562d589f8e3851085.tar.gz
BuildDoc: remove "author" and "date" options
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r--sphinx/setup_command.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index dfe3ed2f1..748948e57 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -78,9 +78,6 @@ class BuildDoc(Command):
'replacement for |today|'),
('link-index', 'i', 'Link index.html to the master doc'),
('copyright', None, 'The copyright string'),
- ('author', None, 'The documented project\'s author'),
- ('date', None, 'Dates of first publication and major revisions'),
-
]
boolean_options = ['fresh-env', 'all-files', 'link-index']
@@ -96,8 +93,6 @@ class BuildDoc(Command):
self.config_dir = None
self.link_index = False
self.copyright = ''
- self.author = ''
- self.date = ''
def _guess_source_dir(self):
for guess in ('doc', 'docs'):
@@ -142,8 +137,6 @@ class BuildDoc(Command):
self.mkpath(self.doctree_dir)
self.builder_target_dir = os.path.join(self.build_dir, self.builder)
self.mkpath(self.builder_target_dir)
- if not self.copyright and (self.author or self.date):
- self.copyright = ", ".join((self.date, self.author))
def run(self):
if not color_terminal():