Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTD documentation #230

Merged
merged 221 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
0d25358
Create .readthedocs.yaml
harperma1 Jun 28, 2023
081c8f1
Update .readthedocs.yaml
harperma1 Jun 28, 2023
7fe5972
Update .readthedocs.yaml
harperma1 Jun 28, 2023
f12a78b
Update .readthedocs.yaml
harperma1 Jun 28, 2023
eb3fc2a
Update .readthedocs.yaml
harperma1 Jun 28, 2023
dafd59d
Update .readthedocs.yaml
harperma1 Jun 28, 2023
a5a36ef
Update .readthedocs.yaml
harperma1 Jun 28, 2023
26a127f
Update .readthedocs.yaml
harperma1 Jun 28, 2023
6a571d2
Update .readthedocs.yaml
harperma1 Jun 28, 2023
a675ff6
Update .readthedocs.yaml
harperma1 Jun 28, 2023
b42dcb8
Update .readthedocs.yaml
harperma1 Jun 28, 2023
3a8f9c2
Update .readthedocs.yaml
harperma1 Jun 28, 2023
c592998
Create conf.py
harperma1 Jun 28, 2023
ae15c55
Update .readthedocs.yaml
harperma1 Jun 28, 2023
4cfa54c
Create .readthedocs.yaml
harperma1 Jun 28, 2023
8d91716
Delete .readthedocs.yaml
harperma1 Jun 28, 2023
ac4efe2
Update .readthedocs.yaml
harperma1 Jun 28, 2023
16e7cb9
Update conf.py
harperma1 Jun 28, 2023
437a17f
Create .readthedocs.yaml
harperma1 Jun 28, 2023
1304f31
Delete .readthedocs.yaml
harperma1 Jun 28, 2023
55bda7b
Update .readthedocs.yaml
harperma1 Jun 28, 2023
f991a25
Update .readthedocs.yaml
harperma1 Jun 28, 2023
40ca042
Update conf.py
harperma1 Jun 28, 2023
71a06c2
Update .readthedocs.yaml
harperma1 Jun 28, 2023
37f60e6
Update .readthedocs.yaml
harperma1 Jun 28, 2023
e6f8da1
Update conf.py
harperma1 Jun 28, 2023
e796511
Update conf.py
harperma1 Jun 28, 2023
9445e77
Update .readthedocs.yaml
harperma1 Jun 28, 2023
e555136
Update conf.py
harperma1 Jun 28, 2023
4cbf895
Update conf.py
harperma1 Jun 28, 2023
b3fcf5e
Initial commit
harperma1 Jun 29, 2023
6761628
Create conf.py
harperma1 Jun 29, 2023
20e9247
Update conf.py
harperma1 Jun 30, 2023
1e5286f
Delete conf.py
harperma1 Jun 30, 2023
296e749
test
harperma1 Jun 30, 2023
af425d8
test 2
harperma1 Jun 30, 2023
187a166
test3
harperma1 Jun 30, 2023
96ce315
Title change
harperma1 Jun 30, 2023
a4f0447
removal of api
harperma1 Jun 30, 2023
f273d8e
Tewsting
rjuntima Jun 30, 2023
80e2077
mv api
harperma1 Jun 30, 2023
b16907f
Merge branch 'master' of https://github.com/harperma1/RTDJANA2
harperma1 Jun 30, 2023
0f9bafb
testing
rjuntima Jun 30, 2023
c4eb30e
Delete docs/source directory
harperma1 Jun 30, 2023
6e3b4d0
Update index.rst
harperma1 Jun 30, 2023
7957439
Merge branch 'master' of https://github.com/harperma1/RTDJANA2
rjuntima Jun 30, 2023
e84f9a0
test changes
rjuntima Jun 30, 2023
79b13b0
Delete api.rst
harperma1 Jun 30, 2023
70d4eb9
Delete usage.rst
harperma1 Jun 30, 2023
31d0bc2
Create api.rst
harperma1 Jun 30, 2023
eb80708
Create usage.rst
harperma1 Jun 30, 2023
ec9dc90
Update index.rst
harperma1 Jun 30, 2023
2084759
Create tutorial.rst
harperma1 Jun 30, 2023
d2db138
Update tutorial.rst
harperma1 Jun 30, 2023
763d57e
Update usage.rst
harperma1 Jun 30, 2023
5a5ac0d
Update tutorial.rst
harperma1 Jun 30, 2023
4a389e9
Update index.rst
harperma1 Jun 30, 2023
3c5142b
Update api.rst
rjuntima Jun 30, 2023
9a4ae93
Update tutorial.rst
harperma1 Jun 30, 2023
b3387aa
Update api.rst
rjuntima Jun 30, 2023
4c9576a
Update tutorial.rst
harperma1 Jun 30, 2023
5f81e44
Update tutorial.rst
harperma1 Jun 30, 2023
31e73fc
Update api.rst
harperma1 Jun 30, 2023
bea0852
Update api.rst
harperma1 Jun 30, 2023
0e64216
Update api.rst
rjuntima Jun 30, 2023
814e750
Update tutorial.rst
harperma1 Jun 30, 2023
b790563
Update api.rst
rjuntima Jun 30, 2023
abe105f
Update api.rst
rjuntima Jun 30, 2023
e57d70d
Update api.rst
rjuntima Jun 30, 2023
7585c6d
Update api.rst
rjuntima Jun 30, 2023
f59d8b0
Update index.rst
rjuntima Jun 30, 2023
7d93734
Create how-to guides.rst
rjuntima Jun 30, 2023
088af88
Update index.rst
rjuntima Jun 30, 2023
19f57bb
Create random.rst
rjuntima Jun 30, 2023
8699b32
Update index.rst
rjuntima Jun 30, 2023
fc38fea
Create principles.rst
rjuntima Jun 30, 2023
20392e7
Create reference.rst
rjuntima Jun 30, 2023
aea89c8
Update principles.rst
rjuntima Jun 30, 2023
03c1cea
Update conf.py
rjuntima Jun 30, 2023
32447fe
Update principles.rst
rjuntima Jul 5, 2023
6259c25
Create .yaml
harperma1 Jul 5, 2023
0e3b80b
Create .readthedocs.yaml
harperma1 Jul 5, 2023
e7150c2
Delete .yaml
harperma1 Jul 5, 2023
f125a30
Update principles.rst
rjuntima Jul 5, 2023
bc8a072
Update principles.rst
rjuntima Jul 5, 2023
5f08ee7
Update tutorial.rst
harperma1 Jul 5, 2023
22ab3dc
Update tutorial.rst
harperma1 Jul 5, 2023
9b2f69d
Update principles.rst
rjuntima Jul 5, 2023
3fdd063
Update principles.rst
rjuntima Jul 5, 2023
5792a08
Update principles.rst
rjuntima Jul 5, 2023
db2bbd6
Update tutorial.rst
harperma1 Jul 5, 2023
4648542
Update principles.rst
rjuntima Jul 5, 2023
d54ebd5
Update tutorial.rst
harperma1 Jul 5, 2023
c4013ed
Update principles.rst
rjuntima Jul 5, 2023
aaa5e96
Update principles.rst
rjuntima Jul 5, 2023
54206a5
Update tutorial.rst
harperma1 Jul 5, 2023
63d31ad
Update principles.rst
rjuntima Jul 5, 2023
1111f3a
Update principles.rst
rjuntima Jul 5, 2023
cd2426d
Update tutorial.rst
harperma1 Jul 5, 2023
8b88a4b
Update principles.rst
rjuntima Jul 5, 2023
08ade44
Update principles.rst
rjuntima Jul 5, 2023
ee34044
Update tutorial.rst
harperma1 Jul 5, 2023
f98a6db
Update tutorial.rst
harperma1 Jul 5, 2023
b5ff650
Update principles.rst
rjuntima Jul 5, 2023
d154866
Update principles.rst
rjuntima Jul 5, 2023
83700c3
Update principles.rst
rjuntima Jul 5, 2023
c16f17d
Update tutorial.rst
harperma1 Jul 5, 2023
91f0d02
Update tutorial.rst
harperma1 Jul 5, 2023
2ec158e
Update principles.rst
rjuntima Jul 5, 2023
426099b
Update principles.rst
rjuntima Jul 5, 2023
7d4f22b
Update tutorial.rst
harperma1 Jul 5, 2023
9583d21
Update principles.rst
rjuntima Jul 5, 2023
89e4e36
Update principles.rst
rjuntima Jul 5, 2023
b4a42d0
Update tutorial.rst
harperma1 Jul 5, 2023
74a31c5
Update principles.rst
rjuntima Jul 5, 2023
d730a8f
Update tutorial.rst
harperma1 Jul 5, 2023
71bd7c8
Update tutorial.rst
harperma1 Jul 5, 2023
4d9f949
Update tutorial.rst
harperma1 Jul 5, 2023
2941c02
Update tutorial.rst
harperma1 Jul 5, 2023
870aabd
Update tutorial.rst
harperma1 Jul 5, 2023
a89abee
Update how-to guides.rst
rjuntima Jul 5, 2023
20b441b
Update how-to guides.rst
rjuntima Jul 5, 2023
860037a
Update principles.rst
rjuntima Jul 5, 2023
e54cff0
Update how-to guides.rst
rjuntima Jul 5, 2023
d87f942
Update tutorial.rst
harperma1 Jul 5, 2023
8194356
Update how-to guides.rst
rjuntima Jul 5, 2023
5cb1bba
Update tutorial.rst
harperma1 Jul 5, 2023
5ff94bb
Update tutorial.rst
harperma1 Jul 5, 2023
61492bd
Update how-to guides.rst
rjuntima Jul 5, 2023
a11fd69
Update how-to guides.rst
rjuntima Jul 5, 2023
8b2f221
Update how-to guides.rst
rjuntima Jul 5, 2023
cd08a76
Update how-to guides.rst
rjuntima Jul 5, 2023
27a95b5
Update how-to guides.rst
rjuntima Jul 5, 2023
df7c6e2
Update how-to guides.rst
rjuntima Jul 5, 2023
3b2c810
Update how-to guides.rst
rjuntima Jul 5, 2023
580abc1
Update how-to guides.rst
rjuntima Jul 5, 2023
bae1d6e
Update how-to guides.rst
rjuntima Jul 5, 2023
e3d4738
Update how-to guides.rst
rjuntima Jul 5, 2023
0796791
Update how-to guides.rst
rjuntima Jul 5, 2023
5d3a841
Update tutorial.rst
harperma1 Jul 5, 2023
624d827
Update how-to guides.rst
rjuntima Jul 5, 2023
1005595
Update how-to guides.rst
rjuntima Jul 5, 2023
3775976
Update how-to guides.rst
rjuntima Jul 5, 2023
3eb7f1f
Update how-to guides.rst
rjuntima Jul 5, 2023
d91aca9
Update how-to guides.rst
rjuntima Jul 5, 2023
f171b89
Update how-to guides.rst
rjuntima Jul 5, 2023
7ecfc9a
Update how-to guides.rst
rjuntima Jul 5, 2023
317e782
Update how-to guides.rst
rjuntima Jul 5, 2023
118b131
Update how-to guides.rst
rjuntima Jul 5, 2023
178490b
Update how-to guides.rst
rjuntima Jul 5, 2023
d383f55
Update how-to guides.rst
rjuntima Jul 5, 2023
3117e2a
Update how-to guides.rst
rjuntima Jul 5, 2023
fd9c00b
Update how-to guides.rst
rjuntima Jul 5, 2023
8b9fc5f
Update how-to guides.rst
rjuntima Jul 6, 2023
f8959f7
Update how-to guides.rst
rjuntima Jul 6, 2023
abd0352
Update how-to guides.rst
rjuntima Jul 6, 2023
53c42c4
Update how-to guides.rst
rjuntima Jul 6, 2023
0cbb36c
Update reference.rst
harperma1 Jul 6, 2023
f2d0c39
Update reference.rst
harperma1 Jul 6, 2023
00a2ce3
Update how-to guides.rst
rjuntima Jul 6, 2023
bc65d21
Update reference.rst
harperma1 Jul 6, 2023
6f3726d
Create install
rjuntima Jul 6, 2023
15adc83
Delete install
rjuntima Jul 6, 2023
85aadf3
Create install
rjuntima Jul 6, 2023
6c0c2bd
Update reference.rst
harperma1 Jul 6, 2023
459ad7d
Update reference.rst
harperma1 Jul 6, 2023
e9ffadd
Update reference.rst
harperma1 Jul 6, 2023
f67fbeb
Update how-to guides.rst
rjuntima Jul 6, 2023
775db5d
Update index.rst
rjuntima Jul 6, 2023
74ad22f
Create howtobenchmarkjana.rst
harperma1 Jul 6, 2023
f4d0c04
Update and rename install to how-to instructions
rjuntima Jul 6, 2023
2ee2c4d
Update index.rst
rjuntima Jul 6, 2023
7abcab4
Update usage.rst
rjuntima Jul 6, 2023
6b1a95f
Update index.rst
rjuntima Jul 6, 2023
b11b138
Update index.rst
rjuntima Jul 6, 2023
2f46c1f
Create how-to instructions.rst
harperma1 Jul 6, 2023
88cd9d7
Delete how-to instructions
harperma1 Jul 6, 2023
b39d4e8
Update how-to guides.rst
rjuntima Jul 6, 2023
00dd12b
Update how-to guides.rst
rjuntima Jul 6, 2023
fc81300
Update how-to guides.rst
rjuntima Jul 6, 2023
ed20529
Delete howtobenchmarkjana.rst
rjuntima Jul 6, 2023
639780d
Delete how-to instructions.rst
rjuntima Jul 6, 2023
9a67fa8
Update how-to guides.rst
rjuntima Jul 6, 2023
4c92e4d
Update how-to guides.rst
rjuntima Jul 6, 2023
c203a49
Update how-to guides.rst
rjuntima Jul 6, 2023
19f0d26
Update how-to guides.rst
rjuntima Jul 6, 2023
78ced50
Update how-to guides.rst
rjuntima Jul 6, 2023
d070802
Update how-to guides.rst
rjuntima Jul 6, 2023
45a28f7
Update index.rst
rjuntima Jul 6, 2023
a8cb7cb
Update how-to guides.rst
rjuntima Jul 6, 2023
ebfcc75
Update how-to guides.rst
rjuntima Jul 6, 2023
349441c
Update tutorial.rst
rjuntima Jul 7, 2023
01eb637
Update tutorial.rst
harperma1 Jul 7, 2023
8ab63ca
Update tutorial.rst
harperma1 Jul 7, 2023
f5a3f53
Update principles.rst
rjuntima Jul 7, 2023
579d1e7
Update tutorial.rst
harperma1 Jul 7, 2023
faa7219
Update principles.rst
rjuntima Jul 7, 2023
38395fc
Delete random.rst
rjuntima Jul 7, 2023
2cb79db
Update tutorial.rst
harperma1 Jul 7, 2023
d7a3ff8
Update how-to guides.rst
rjuntima Jul 7, 2023
6116147
Update tutorial.rst
harperma1 Jul 7, 2023
0b6fb52
Update how-to guides.rst
rjuntima Jul 7, 2023
1720887
Update how-to guides.rst
rjuntima Jul 7, 2023
3672022
Update how-to guides.rst
rjuntima Jul 7, 2023
0a06263
Update principles.rst
rjuntima Jul 7, 2023
477138e
Update principles.rst
rjuntima Jul 7, 2023
dbf0c94
Update principles.rst
rjuntima Jul 7, 2023
68cfcc8
Update how-to guides.rst
rjuntima Jul 7, 2023
08b1472
Update how-to guides.rst
rjuntima Jul 7, 2023
a2e22f4
Update how-to guides.rst
rjuntima Jul 7, 2023
8c8c5c1
Update how-to guides.rst
rjuntima Jul 7, 2023
ce5beb9
Update how-to guides.rst
rjuntima Jul 7, 2023
1545f99
Update how-to guides.rst
rjuntima Jul 7, 2023
6ba2ae3
Update how-to guides.rst
rjuntima Jul 7, 2023
c22e215
Update conf.py
harperma1 Jul 10, 2023
b7eecf1
Create random2.rst
harperma1 Jul 10, 2023
ca4fe4c
Merge pull request #1 from harperma1/Tester
rjuntima Jul 10, 2023
e8c1034
Delete random2.rst
harperma1 Jul 10, 2023
d08e994
Update conf.py
harperma1 Jul 12, 2023
55013c7
Update tutorial.rst
rjuntima Jul 12, 2023
1533e59
Merge branch 'master-holder'
rjuntima Jul 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
9 changes: 9 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Template for the Read the Docs tutorial
=======================================

This GitHub template includes fictional Python library
with some basic Sphinx docs.

Read the tutorial here:

https://docs.readthedocs.io/en/stable/tutorial/
41 changes: 41 additions & 0 deletions docs/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html

# python:
# install:
# - requirements: docs/requirements.txt
# - method: pip
# path: .
# extra_requirements:
# - docs
# - method: pip
# path: another/package
# system_packages: true

# pip install myst-parser
20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
8 changes: 8 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
API
===

.. autosummary::
:toctree: generated

.. image:: https://e0.pxfuel.com/wallpapers/598/557/desktop-wallpaper-animated-smiley-faces-cartoon-smiley-face.jpg
:width: 100%
202 changes: 202 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@

#
# The following code was added during an automated build on readthedocs.org
# It is auto created and injected for every build. The result is based on the
# conf.py.tmpl file found in the readthedocs.org codebase:
# https://github.com/rtfd/readthedocs.org/blob/main/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl
#
# Note: this file shouldn't rely on extra dependencies.

import importlib
import sys
import os.path

# Borrowed from six.
PY3 = sys.version_info[0] == 3
string_types = str if PY3 else basestring

from sphinx import version_info

# Get suffix for proper linking to GitHub
# This is deprecated in Sphinx 1.3+,
# as each page can have its own suffix
if globals().get('source_suffix', False):
if isinstance(source_suffix, string_types):
SUFFIX = source_suffix
elif isinstance(source_suffix, (list, tuple)):
# Sphinx >= 1.3 supports list/tuple to define multiple suffixes
SUFFIX = source_suffix[0]
elif isinstance(source_suffix, dict):
# Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes
SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility
else:
# default to .rst
SUFFIX = '.rst'
else:
SUFFIX = '.rst'

# Add RTD Static Path. Add to the end because it overwrites previous files.
if not 'html_static_path' in globals():
html_static_path = []
if os.path.exists('_static'):
html_static_path.append('_static')

# Add RTD Theme only if they aren't overriding it already
using_rtd_theme = (
(
'html_theme' in globals() and
html_theme in ['default'] and
# Allow people to bail with a hack of having an html_style
'html_style' not in globals()
) or 'html_theme' not in globals()
)
if using_rtd_theme:
html_theme = 'sphinx_rtd_theme'
html_style = None
html_theme_options = {}


# This following legacy behavior will gradually be sliced out until its deprecated and removed.
# Skipped for Sphinx 6+
# Skipped by internal Feature flag SKIP_SPHINX_HTML_THEME_PATH
# Skipped by all new projects since SKIP_SPHINX_HTML_THEME_PATH's introduction (jan 2023)
if (
using_rtd_theme
and version_info < (6,0)
and not False
):
theme = importlib.import_module('sphinx_rtd_theme')
if 'html_theme_path' in globals():
html_theme_path.append(theme.get_html_theme_path())
else:
html_theme_path = [theme.get_html_theme_path()]

# Define websupport2_base_url and websupport2_static_url
if globals().get('websupport2_base_url', False):
websupport2_base_url = 'https://readthedocs.org/websupport'
websupport2_static_url = 'https://assets.readthedocs.org/static/'


#Add project information to the template context.
context = {
'using_theme': using_rtd_theme,
'html_theme': html_theme,
'current_version': "latest",
'version_slug': "latest",
'MEDIA_URL': "https://media.readthedocs.org/",
'STATIC_URL': "https://assets.readthedocs.org/static/",
'PRODUCTION_DOMAIN': "readthedocs.org",
'proxied_static_path': "/_/static/",
'versions': [
("latest", "/en/latest/"),
("stable", "/en/stable/"),
],
'downloads': [
("pdf", "//jana.readthedocs.io/_/downloads/en/latest/pdf/"),
("html", "//jana.readthedocs.io/_/downloads/en/latest/htmlzip/"),
("epub", "//jana.readthedocs.io/_/downloads/en/latest/epub/"),
],
'subprojects': [
],
'slug': 'jana',
'name': u'JANA',
'rtd_language': u'en',
'programming_language': u'cpp',
'canonical_url': '',
'analytics_code': 'None',
'single_version': False,
'conf_py_path': '/docs/',
'api_host': 'https://readthedocs.org',
'github_user': 'JeffersonLab',
'proxied_api_host': '/_',
'github_repo': 'JANA2',
'github_version': 'master',
'display_github': True,
'bitbucket_user': 'None',
'bitbucket_repo': 'None',
'bitbucket_version': 'master',
'display_bitbucket': False,
'gitlab_user': 'None',
'gitlab_repo': 'None',
'gitlab_version': 'master',
'display_gitlab': False,
'READTHEDOCS': True,
'using_theme': (html_theme == "default"),
'new_theme': (html_theme == "sphinx_rtd_theme"),
'source_suffix': SUFFIX,
'ad_free': False,
'docsearch_disabled': False,
'user_analytics_code': '',
'global_analytics_code': 'UA-17997319-1',
'commit': '71a06c23',
}

# For sphinx >=1.8 we can use html_baseurl to set the canonical URL.
# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl
if version_info >= (1, 8):
if not globals().get('html_baseurl'):
html_baseurl = context['canonical_url']
context['canonical_url'] = None





if 'html_context' in globals():
for key in context:
if key not in html_context:
html_context[key] = context[key]
else:
html_context = context

# Add custom RTD extension
if 'extensions' in globals():
# Insert at the beginning because it can interfere
# with other extensions.
# See https://github.com/rtfd/readthedocs.org/pull/4054
extensions.insert(0, "readthedocs_ext.readthedocs")
else:
extensions = ["readthedocs_ext.readthedocs"]
# extensions.append("myst_parser")
# Add External version warning banner to the external version documentation
if 'branch' == 'external':
extensions.insert(1, "readthedocs_ext.external_version_warning")
readthedocs_vcs_url = 'None'
readthedocs_build_url = 'https://readthedocs.org/projects/jana/builds/21148681/'

project_language = 'en'

# User's Sphinx configurations
language_user = globals().get('language', None)
latex_engine_user = globals().get('latex_engine', None)
latex_elements_user = globals().get('latex_elements', None)

# Remove this once xindy gets installed in Docker image and XINDYOPS
# env variable is supported
# https://github.com/rtfd/readthedocs-docker-images/pull/98
latex_use_xindy = False

chinese = any([
language_user in ('zh_CN', 'zh_TW'),
project_language in ('zh_CN', 'zh_TW'),
])

japanese = any([
language_user == 'ja',
project_language == 'ja',
])

if chinese:
latex_engine = latex_engine_user or 'xelatex'

latex_elements_rtd = {
'preamble': '\\usepackage[UTF8]{ctex}\n',
}
latex_elements = latex_elements_user or latex_elements_rtd
elif japanese:
latex_engine = latex_engine_user or 'platex'

# Make sure our build directory is always excluded
exclude_patterns = globals().get('exclude_patterns', [])
exclude_patterns.extend(['_build'])

Loading