Files
codeql/docs/ql-documentation/learn-ql/conf.py
2019-07-29 09:39:21 +01:00

83 lines
2.8 KiB
Python

# -*- coding: utf-8 -*-
#
# Learn QL documentation build configuration file, created by
# on Tuesday Nov 13 2018.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
# For details of all possible config values,
# see https://www.sphinx-doc.org/en/master/usage/configuration.html
#################################################################################
#
# Modified 22052019.
# The configuration values below are specific to the learning ql project
# To amend html_theme_options, update version/release number, or add more sphinx extensions,
# refer to code/documentation/ql-documentation/global-sphinx-files/global-conf.py
#
##################################################################################
# -- Project-specific configuration -----------------------------------
import os
# Import global config values
with open(os.path.abspath("../global-sphinx-files/global-conf.py")) as in_file:
exec(in_file.read())
# Set QL as the default language for highlighting code. Set to none to disable
# syntax highlighting. If omitted or left blank, it defaults to Python 3.
highlight_language = 'ql'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = u'Learning QL'
# -- Project-specifc options for HTML output ----------------------------------------------
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
html_title = 'Learn QL'
# Output file base name for HTML help builder.
htmlhelp_basename = 'Learn QL'
# The version info for this project, if different from version and release in main conf.py file.
# The short X.Y version.
# version = u'1.18'
# The full version, including alpha/beta/rc tags.
# release = u'1.18'
# -- Currently unused, but potentially useful, configs--------------------------------------
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
#html_extra_path = []
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# exclude_patterns = ['']