forked from hanifbirgani/pep8ir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
33 lines (22 loc) · 886 Bytes
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- coding: utf-8 -*-
# -- Project information -----------------------------------------------------
project = 'Python PEP8 Persian Translation'
copyright = 'Hanif Birgani'
author = 'Hanif Birgani'
version = '1'
# -- General configuration ---------------------------------------------------
extensions = []
source_suffix = '.rst'
master_doc = 'index'
language = 'fa'
exclude_patterns = ['_*', 'CONTRIBUTORS.rst', 'Thumbs.db', '.DS_Store', '.venv']
if tags.has('gettext/gettext'):
exclude_patterns += ['translation.rst']
pygments_style = 'sphinx'
# -- Options for HTML output -------------------------------------------------
html_theme = 'pep8ir'
html_theme_path = ['./themes']
# -- Options for sphinx-intl example
locale_dirs = ['locale/'] # po files will be created in this directory
# optional: avoid file concatenation in sub directories.
gettext_compact = False