# -*- coding: utf-8 -*-1#2# uthcode documentation build configuration file, created by3# sphinx-quickstart on Sat Oct 24 18:08:47 2009.4#5# This file is execfile()d with the current directory set to its containing dir.6#7# Note that not all possible configuration values are present in this8# autogenerated file.9#10# All configuration values have a default; values that are commented out11# serve to show the default.1213import sys, os14# At the top.15import sphinx_bootstrap_theme1617# ...1819# Activate the theme.20html_theme = 'bootstrap'21html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()2223html_theme_options = {24'navbar_sidebarrel' : True,25'navbar_pagenav': False,26'bootswatch_theme': "united",27'navbar_site_name': "Navigator",28'navbar_links': [29("Online Tutor", "https://goo.gl/forms/I3NahMbRcAct2TRy2", True),30],31}3233# If extensions (or modules to document with autodoc) are in another directory,34# add these directories to sys.path here. If the directory is relative to the35# documentation root, use os.path.abspath to make it absolute, like shown here.36#sys.path.append(os.path.abspath('.'))3738# -- General configuration -----------------------------------------------------3940# Add any Sphinx extension module names here, as strings. They can be extensions41# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.42#extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest',43# 'sphinx.ext.todo', 'sphinx.ext.coverage',44# 'sphinx.ext.extlinks', 'sphinx.ext.pngmath',45# 'sphinxcontrib.runcode']4647extensions = ['sphinx.ext.extlinks']4849# Add any paths that contain templates here, relative to this directory.50templates_path = ['_templates']5152# The suffix of source filenames.53source_suffix = '.rst'5455# The encoding of source files.56#source_encoding = 'utf-8-sig'5758# The master toctree document.59master_doc = 'index'6061# General information about the project.62project = u'Learn To Solve It'63copyright = u'2020, Senthil Kumaran'6465# The version info for the project you're documenting, acts as replacement for66# |version| and |release|, also used in various other places throughout the67# built documents.68#69# The short X.Y version.70version = '2020-01-06'71# The full version, including alpha/beta/rc tags.72release = ''7374# The language for content autogenerated by Sphinx. Refer to documentation75# for a list of supported languages.76#language = None7778# There are two options for replacing |today|: either, you set today to some79# non-false value, then it is used:80#today = ''81# Else, today_fmt is used as the format for a strftime call.82today_fmt = '%d %b of %y'8384# List of documents that shouldn't be included in the build.85#unused_docs = []8687# List of directories, relative to source directory, that shouldn't be searched88# for source files.89exclude_trees = []9091# The reST default role (used for this markup: `text`) to use for all documents.92#default_role = None9394# If true, '()' will be appended to :func: etc. cross-reference text.95#add_function_parentheses = True9697# If true, the current module name will be prepended to all description98# unit titles (such as .. function::).99#add_module_names = True100101# If true, sectionauthor and moduleauthor directives will be shown in the102# output. They are ignored by default.103#show_authors = False104105# The name of the Pygments (syntax highlighting) style to use.106pygments_style = 'friendly'107108# A list of ignored prefixes for module index sorting.109#modindex_common_prefix = []110111# Links for edit112113# :c-suggest-improve:`name.c`114# :c-better-explain:`name.rst`115# :python-suggest-improve:`name.py`116# :python-better-explain:`name.rst`117118extlinks = {'c-suggest-improve':119('https://github.com/uthcode/learntosolveit/edit/master/languages/cprogs/%s',120"Suggest a Code Improvement: "),121'c-better-explain':122('https://github.com/uthcode/learntosolveit/edit/master/source/cprogramming/%s',123"Suggest a better explanation for "),124'python-suggest-improve':125("https://github.com/uthcode/learntosolveit/edit/master/languages/python/%s",126"Suggest a Code Improvement:"),127'python-better-explain':128("https://github.com/uthcode/learntosolveit/edit/master/source/python/%s",129"Suggest a better explanation for "),130'ruby-suggest-improve':131("https://github.com/uthcode/learntosolveit/edit/master/languages/ruby/%s",132"Suggest a Code Improvement:"),133'ruby-better-explain':134("https://github.com/uthcode/learntosolveit/edit/master/source/ruby/%s",135"Suggest a better explanation for "),136'java-suggest-improve':137("https://github.com/uthcode/learntosolveit/edit/master/languages/java/%s",138"Suggest a Code Improvement:"),139'java-better-explain':140("https://github.com/uthcode/learntosolveit/edit/master/source/java/%s",141"Suggest a better explanation for "),142'scala-suggest-improve':143("https://github.com/uthcode/learntosolveit/edit/master/languages/scala/%s",144"Suggest a Code Improvement:"),145'scala-better-explain':146("https://github.com/uthcode/learntsolveit/edit/master/source/scala/%s",147"Suggest a better explanation for "),148'go-suggest-improve':149("https://github.com/uthcode/learntosolveit/edit/master/languages/go/%s",150"Suggest a Code Improvement:"),151'go-better-explain':152("https://github.com/uthcode/learntosolveit/edit/master/source/go/%s",153"Suggest a better explanation for "),154'use-local-compiler':155('http://www.seas.upenn.edu/cets/answers/%s.html',156'Please use a local c compiler to run this program.'),157}158159160161162# -- Options for HTML output ---------------------------------------------------163164# The theme to use for HTML and HTML Help pages. See the documentation for165# a list of builtin themes.166#sys.path.append(os.path.abspath('_themes'))167#html_theme_path = ['_themes']168#html_theme = 'flask'169170# Theme options are theme-specific and customize the look and feel of a theme171# further. For a list of options available for each theme, see the172# documentation.173# html_theme_options = {'headerbg':'white','footerbg':'white'}174175# Add any paths that contain custom themes here, relative to this directory.176#html_theme_path = []177178# The name for this set of Sphinx documents. If None, it defaults to179# "<project> v<release> documentation".180html_title = 'Learn To Solve It'181182# A shorter title for the navigation bar. Default is the same as html_title.183html_short_title = 'Learn To Solve It'184185# The name of an image file (relative to this directory) to place at the top186# of the sidebar.187# html_logo = '_static/learntosolveit2.png'188189# The name of an image file (within the static path) to use as favicon of the190# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32191# pixels large.192#html_favicon = None193194# Add any paths that contain custom static files (such as style sheets) here,195# relative to this directory. They are copied after the builtin static files,196# so a file named "default.css" will overwrite the builtin "default.css".197html_static_path = ['_static']198199# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,200# using the given strftime format.201html_last_updated_fmt = '%d %b, %y'202203# If true, SmartyPants will be used to convert quotes and dashes to204# typographically correct entities.205#html_use_smartypants = True206207# Custom sidebar templates, maps document names to template names.208#html_sidebars = {'index': ['indexsidebar.html', 'searchbox.html']}209#html_additional_pages = {'index': 'index.html', 'foo' : 'foo.html', 'bar': 'bar.html'}210211html_sidebars = {'**': ['logo.html','localtoc.html']}212213214# Additional templates that should be rendered to pages, maps page names to215# template names.216#html_additional_pages = {}217218# If false, no module index is generated.219html_use_modindex = False220221# If false, no index is generated.222html_use_index = False223224# If true, the index is split into individual pages for each letter.225#html_split_index = False226227# If true, links to the reST sources are added to the pages.228html_show_sourcelink = False229230# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.231html_show_sphinx = True232233# Output file base name for HTML help builder.234htmlhelp_basename = 'uthcodedoc'235236237