Skip to content

Commit

Permalink
Simply Config
Browse files Browse the repository at this point in the history
Signed-off-by: alexgurrola <alexgurrola1@gmail.com>
  • Loading branch information
alexgurrola committed Oct 15, 2019
1 parent 25af7c2 commit 4231a5e
Showing 1 changed file with 39 additions and 38 deletions.
77 changes: 39 additions & 38 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,45 @@

from __future__ import division, print_function, unicode_literals

import os
import sys
from configparser import RawConfigParser

import sphinx_rtd_theme

sys.path.insert(0, os.path.abspath('..'))
sys.path.append(os.path.dirname(__file__))
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "readthedocs.settings.dev")

from django.utils import timezone

import django

django.setup()

sys.path.append(os.path.abspath('_ext'))
extensions = [
'sphinx.ext.autosectionlabel',
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinxcontrib.httpdomain',
'djangodocs',
'doc_extensions',
'sphinx_tabs.tabs',
'sphinx-prompt',
'recommonmark',
'notfound.extension',
'sphinx_search.extension',
]
from datetime import datetime

# import os
# import sys

# import sphinx_rtd_theme

# sys.path.insert(0, os.path.abspath('..'))
# sys.path.append(os.path.dirname(__file__))
# os.environ.setdefault("DJANGO_SETTINGS_MODULE", "readthedocs.settings.dev")

# from django.utils import timezone
#
# import django
#
# django.setup()
#
# sys.path.append(os.path.abspath('_ext'))
# extensions = [
# 'sphinx.ext.autosectionlabel',
# 'sphinx.ext.autodoc',
# 'sphinx.ext.intersphinx',
# 'sphinxcontrib.httpdomain',
# 'djangodocs',
# 'doc_extensions',
# 'sphinx_tabs.tabs',
# 'sphinx-prompt',
# 'recommonmark',
# 'notfound.extension',
# 'sphinx_search.extension',
# ]
# templates_path = ['_templates']

source_suffix = ['.rst']

master_doc = 'index'
project = u'Sitetheory'
copyright = '2015-{}, Sitetheory'.format(
timezone.now().year
datetime.now().year
)
version = '1.0'
release = version
Expand All @@ -50,13 +51,13 @@
# locale_dirs = [
# 'locale/',
# ]
gettext_compact = False
# gettext_compact = False

html_theme = 'sphinx_rtd_theme'
# html_theme = 'sphinx_rtd_theme'
# html_static_path = ['_static']
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# html_logo = 'img/logo.svg'
html_theme_options = {
'logo_only': False,
'display_version': True,
}
# html_theme_options = {
# 'logo_only': False,
# 'display_version': True,
# }

0 comments on commit 4231a5e

Please sign in to comment.