2014-04-27 14:24:55 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
2018-11-27 23:10:18 +01:00
|
|
|
# SPDX-License-Identifier: Zlib
|
2014-04-27 14:24:55 +02:00
|
|
|
|
2015-07-26 23:38:10 +02:00
|
|
|
import os.path
|
|
|
|
import glob
|
|
|
|
import time
|
|
|
|
|
|
|
|
dirname = os.path.dirname(__file__)
|
|
|
|
files = glob.glob(os.path.join(dirname, '*.rst'))
|
|
|
|
|
|
|
|
maxdate = 0
|
|
|
|
for path in files:
|
|
|
|
s = os.stat(path)
|
|
|
|
maxdate = max(maxdate, s.st_mtime)
|
|
|
|
|
2014-04-27 14:24:55 +02:00
|
|
|
# -- General configuration ------------------------------------------------
|
|
|
|
|
|
|
|
source_suffix = '.rst'
|
|
|
|
master_doc = 'zathura.1'
|
|
|
|
templates_path = ['_templates']
|
2015-07-26 23:38:10 +02:00
|
|
|
today = time.strftime('%Y-%m-%d', time.gmtime(maxdate))
|
2014-04-27 14:24:55 +02:00
|
|
|
|
|
|
|
# -- Project configuration ------------------------------------------------
|
|
|
|
|
|
|
|
project = 'zathura'
|
2018-09-04 18:00:48 +02:00
|
|
|
copyright = '2009-2018, pwmt.org'
|
2014-04-27 14:24:55 +02:00
|
|
|
version = '0.2.7'
|
|
|
|
release = '0.2.7'
|
|
|
|
|
|
|
|
# -- Options for manual page output ---------------------------------------
|
|
|
|
|
|
|
|
man_pages = [
|
|
|
|
('zathura.1', 'zathura', 'a document viewer', ['pwmt.org'], 1),
|
2015-01-01 19:51:29 +01:00
|
|
|
('zathurarc.5', 'zathurarc', 'zathura configuration file', ['pwmt.org'], 5)
|
2014-04-27 14:24:55 +02:00
|
|
|
]
|