|
a |
|
b/docs/source/conf.py |
|
|
1 |
# Copyright (c) Facebook, Inc. and its affiliates |
|
|
2 |
# Authors :: Vikash Kumar (vikashplus@gmail.com), Vittorio Caggiano (caggiano@gmail.com) |
|
|
3 |
# |
|
|
4 |
# This source code is licensed under the Apache 2 license found in the |
|
|
5 |
# LICENSE file in the root directory of this source tree. |
|
|
6 |
|
|
|
7 |
import os |
|
|
8 |
import sys |
|
|
9 |
|
|
|
10 |
sys.path.insert(0, os.path.abspath("../..")) |
|
|
11 |
sys.path.insert(0, os.path.abspath("../../myosuite")) |
|
|
12 |
|
|
|
13 |
# -- Project information |
|
|
14 |
|
|
|
15 |
project = 'MyoSuite' |
|
|
16 |
copyright = "Copyright © 2022 Meta Platforms, Inc" |
|
|
17 |
author = "Meta AI Research" |
|
|
18 |
|
|
|
19 |
release = '0.2' |
|
|
20 |
version = '0.2.4' |
|
|
21 |
|
|
|
22 |
# -- General configuration |
|
|
23 |
|
|
|
24 |
extensions = [ |
|
|
25 |
'sphinx.ext.duration', |
|
|
26 |
'sphinx.ext.doctest', |
|
|
27 |
'sphinx.ext.autodoc', |
|
|
28 |
'sphinx.ext.autosummary', |
|
|
29 |
'sphinx.ext.intersphinx', |
|
|
30 |
] |
|
|
31 |
|
|
|
32 |
intersphinx_mapping = { |
|
|
33 |
'python': ('https://docs.python.org/3/', None), |
|
|
34 |
'sphinx': ('https://www.sphinx-doc.org/en/master/', None), |
|
|
35 |
} |
|
|
36 |
intersphinx_disabled_domains = ['std'] |
|
|
37 |
|
|
|
38 |
templates_path = ['_templates'] |
|
|
39 |
|
|
|
40 |
# -- Options for HTML output |
|
|
41 |
|
|
|
42 |
html_theme = 'sphinx_rtd_theme' |
|
|
43 |
# html_static_path = ['_static'] |
|
|
44 |
html_logo = "images/MyoSuite_Grayscale_Horizontal.png" |
|
|
45 |
html_theme_options = { |
|
|
46 |
'logo_only': True, |
|
|
47 |
'display_version': False, |
|
|
48 |
} |
|
|
49 |
# -- Options for EPUB output |
|
|
50 |
epub_show_urls = 'footnote' |