#1# Configuration file for the Sphinx documentation builder.2#3# This file does only contain a selection of the most common options. For a4# full list see the documentation:5# http://www.sphinx-doc.org/en/master/config6# -- Path setup --------------------------------------------------------------7# If extensions (or modules to document with autodoc) are in another directory,8# add these directories to sys.path here. If the directory is relative to the9# documentation root, use os.path.abspath to make it absolute, like shown here.10#11from __future__ import annotations1213import os14import sys1516import sphinx_rtd_theme1718sys.path.insert(0, os.path.abspath("../../"))19sys.path.insert(0, os.path.abspath(os.path.join("../..", "finrl"))) # Important202122# -- Project information -----------------------------------------------------2324project = "FinRL"25copyright = "2021, FinRL"26author = "FinRL"2728# The short X.Y version29version = ""30# The full version, including alpha/beta/rc tags31release = "0.3.1"323334# -- General configuration ---------------------------------------------------3536# If your documentation needs a minimal Sphinx version, state it here.37#38# needs_sphinx = '1.0'3940# Add any Sphinx extension module names here, as strings. They can be41# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom42# ones.43extensions = [44"sphinx.ext.autodoc",45"sphinx.ext.doctest",46"sphinx.ext.viewcode",47"sphinx.ext.githubpages",48"sphinx.ext.autosectionlabel",49"recommonmark", # for including markdown50# 'sphinx_markdown_tables' # Support rendering tables in markdown51]5253autodoc_mock_imports = [54"gym",55"matplotlib",56"numpy",57"pybullet",58"torch",59"opencv-python",60]6162pygments_style = "sphinx"636465# Add any paths that contain templates here, relative to this directory.66templates_path = ["_templates"]6768# The suffix(es) of source filenames.69# You can specify multiple suffix as a list of string:70#71# source_suffix = ['.rst', '.md']72source_suffix = ".rst"7374# The master toctree document.75master_doc = "index"7677# The language for content autogenerated by Sphinx. Refer to documentation78# for a list of supported languages.79#80# This is also used if you do content translation via gettext catalogs.81# Usually you set "language" from the command line for these cases.82language = None8384# List of patterns, relative to source directory, that match files and85# directories to ignore when looking for source files.86# This pattern also affects html_static_path and html_extra_path.87exclude_patterns = []8889# The name of the Pygments (syntax highlighting) style to use.90pygments_style = None919293# -- Options for HTML output -------------------------------------------------9495# The theme to use for HTML and HTML Help pages. See the documentation for96# a list of builtin themes.97#9899html_theme = "sphinx_rtd_theme"100html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]101html_logo = "./image/logo_transparent_background.png"102html_theme_options = {103"logo_only": True,104"display_version": False,105}106107108# Theme options are theme-specific and customize the look and feel of a theme109# further. For a list of options available for each theme, see the110# documentation.111#112# html_theme_options = {}113114# Add any paths that contain custom static files (such as style sheets) here,115# relative to this directory. They are copied after the builtin static files,116# so a file named "default.css" will overwrite the builtin "default.css".117html_static_path = ["_static"]118119# Custom sidebar templates, must be a dictionary that maps document names120# to template names.121#122# The default sidebars (for documents that don't match any pattern) are123# defined by theme itself. Builtin themes are using these templates by124# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',125# 'searchbox.html']``.126#127# html_sidebars = {}128129130# -- Options for HTMLHelp output ---------------------------------------------131132# Output file base name for HTML help builder.133htmlhelp_basename = "FinRLdoc"134135136# -- Options for LaTeX output ------------------------------------------------137138latex_elements = {139# The paper size ('letterpaper' or 'a4paper').140#141# 'papersize': 'letterpaper',142# The font size ('10pt', '11pt' or '12pt').143#144# 'pointsize': '10pt',145# Additional stuff for the LaTeX preamble.146#147# 'preamble': '',148# Latex figure (float) alignment149#150# 'figure_align': 'htbp',151}152153# Grouping the document tree into LaTeX files. List of tuples154# (source start file, target name, title,155# author, documentclass [howto, manual, or own class]).156latex_documents = [157(master_doc, "FinRL.tex", "FinRL Documentation", "FinRL", "manual"),158]159160161# -- Options for manual page output ------------------------------------------162163# One entry per manual page. List of tuples164# (source start file, name, description, authors, manual section).165man_pages = [(master_doc, "finrl", "FinRL Documentation", [author], 1)]166167168# -- Options for Texinfo output ----------------------------------------------169170# Grouping the document tree into Texinfo files. List of tuples171# (source start file, target name, title, author,172# dir menu entry, description, category)173texinfo_documents = [174(175master_doc,176"FinRL",177"FinRL Documentation",178author,179"FinRL",180"One line description of project.",181"Miscellaneous",182),183]184185186# -- Options for Epub output -------------------------------------------------187188# Bibliographic Dublin Core info.189epub_title = project190191# The unique identifier of the text. This can be a ISBN number192# or the project homepage.193#194# epub_identifier = ''195196# A unique identification for the text.197#198# epub_uid = ''199200# A list of files that should not be packed into the epub file.201epub_exclude_files = ["search.html"]202203204# -- Extension configuration -------------------------------------------------205206207