mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-05-22 14:56:43 +02:00
sphinx
This commit is contained in:
parent
5096971a43
commit
06e176cfd5
@ -1,7 +1,3 @@
|
|||||||
# .readthedocs.yaml
|
|
||||||
# Read the Docs configuration file
|
|
||||||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
||||||
|
|
||||||
# Required
|
# Required
|
||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
@ -10,15 +6,6 @@ build:
|
|||||||
os: ubuntu-22.04
|
os: ubuntu-22.04
|
||||||
tools:
|
tools:
|
||||||
python: "3.12"
|
python: "3.12"
|
||||||
# You can also specify other tool versions:
|
|
||||||
# nodejs: "19"
|
|
||||||
# rust: "1.64"
|
|
||||||
# golang: "1.19"
|
|
||||||
|
|
||||||
# Optionally build your docs in additional formats such as PDF and ePub
|
|
||||||
# formats:
|
|
||||||
# - pdf
|
|
||||||
# - epub
|
|
||||||
|
|
||||||
# Optional but recommended, declare the Python requirements required
|
# Optional but recommended, declare the Python requirements required
|
||||||
# to build your documentation
|
# to build your documentation
|
||||||
|
@ -1 +1,2 @@
|
|||||||
myst_parser
|
myst_parser
|
||||||
|
sphinx-pdj-theme
|
||||||
|
@ -5,4 +5,10 @@ Code
|
|||||||
:recursive:
|
:recursive:
|
||||||
:toctree: generated
|
:toctree: generated
|
||||||
|
|
||||||
marl_factory_grid
|
marl_factory_grid
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:glob:
|
||||||
|
|
||||||
|
generated/*
|
@ -23,13 +23,16 @@ extensions = ['myst_parser',
|
|||||||
]
|
]
|
||||||
|
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
exclude_patterns = ['marl_factory_grid.utils.proto']
|
exclude_patterns = ['marl_factory_grid.utils.proto', 'marl_factory_grid.utils.proto.fiksProto_pb2*']
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
# add these directories to sys.path here.
|
# add these directories to sys.path here.
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import sys
|
import sys
|
||||||
sys.path.insert(0, (Path(__file__).parents[2]).resolve().as_posix())
|
sys.path.insert(0, (Path(__file__).parents[2]).resolve().as_posix())
|
||||||
|
import sphinx_pdj_theme
|
||||||
|
html_theme = 'sphinx_pdj_theme'
|
||||||
|
html_theme_path = [sphinx_pdj_theme.get_html_theme_path()]
|
||||||
|
|
||||||
# -- Options for HTML output -------------------------------------------------
|
# -- Options for HTML output -------------------------------------------------
|
||||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
||||||
|
@ -15,8 +15,6 @@ Welcome to marl-factory-grid's documentation!
|
|||||||
modifications
|
modifications
|
||||||
code
|
code
|
||||||
|
|
||||||
.. autosummary::
|
|
||||||
:toctree: generated
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
This project is under active development.
|
This project is under active development.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user