scripts/refdoc/conf.py (20 lines of code) (raw):
#!/usr/bin/env python3
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# -*- coding: utf-8 -*-
import os
import sys
sys.path.insert(0, os.getcwd())
# For more information on all config options, see http://www.sphinx-doc.org/en/stable/config.html
extensions = [
'sphinx.ext.doctest',
'sphinx.ext.coverage',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'sphinx.ext.autodoc',
'cligroup.cligroup',
'azhelpgen.azhelpgen'
]
# The file name extension for the sphinx source files.
source_suffix = '.rst'
# The master toctree document.
master_doc = 'ind'
# General information about the project.
project = 'az'
copyright = '2018, msft'
author = 'msft'
# The language for content autogenerated by Sphinx
language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# Disable smartquotes to keep the document just the same as that in _help.py
smartquotes = False