-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Development: Update docs requirements and align the settings with the…
… latest version
- Loading branch information
Showing
31 changed files
with
221 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
_build/ | ||
.venv/ | ||
.idea/ | ||
__pycache__/ | ||
.env | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-24.04 | ||
tools: | ||
python: "3.13" | ||
sphinx: | ||
fail_on_warning: true | ||
configuration: docs/conf.py | ||
python: | ||
install: | ||
- requirements: docs/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM sphinxdoc/sphinx | ||
|
||
WORKDIR /docs | ||
# create non-root user to be able to edit the generated files without root access later | ||
RUN groupadd -g 1000 sphinx-user \ | ||
&& useradd -ms /bin/bash -u 1000 -g 1000 sphinx-user \ | ||
&& chown 1000:1000 /docs | ||
ADD requirements.txt /docs | ||
RUN pip3 install -r requirements.txt | ||
|
||
USER sphinx-user | ||
EXPOSE 8000 | ||
# use the autobuild as default command | ||
ENV SPHINXOPTS="--port 8000 --host 0.0.0.0" | ||
CMD exec make livehtml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* This import resolves when built */ | ||
@import url("theme.css"); | ||
|
||
.wy-body-for-nav .wy-nav-content { | ||
max-width: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Configuration file for the Sphinx documentation builder. | ||
# | ||
# This file only contains a selection of the most common options. For a full | ||
# list see the documentation: | ||
# https://www.sphinx-doc.org/en/master/usage/configuration.html | ||
|
||
# -- Path setup -------------------------------------------------------------- | ||
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the | ||
# documentation root, use os.path.abspath to make it absolute, like shown here. | ||
# | ||
# import os | ||
# import sys | ||
# sys.path.insert(0, os.path.abspath('.')) | ||
|
||
|
||
# -- Project information ----------------------------------------------------- | ||
|
||
project = 'Apollon' | ||
copyright = '2025, Applied Education Technologies, Technical University of Munich' | ||
author = 'Applied Education Technologies, Technical University of Munich' | ||
|
||
|
||
# -- General configuration --------------------------------------------------- | ||
|
||
# The document name of the “main” document, that is, the document | ||
# that contains the root toctree directive. | ||
master_doc = "index" | ||
|
||
# Add any Sphinx extension module names here, as strings. They can be | ||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | ||
# ones. | ||
extensions = [ | ||
"sphinx_rtd_theme", | ||
] | ||
|
||
# List of patterns, relative to source directory, that match files and | ||
# directories to ignore when looking for source files. | ||
# This pattern also affects html_static_path and html_extra_path. | ||
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'venv'] | ||
|
||
linkcheck_ignore = [ | ||
r'http(s)?://.*localhost(:\d+)?/?', | ||
r'https://Apollon.cs.hm.edu/', # DNS entry no longer exists | ||
r'https://bamboo.ase.in.tum.de/build/admin/edit/.*', | ||
r'https://hermes.Apollon.cit.tum.de/', # expired certificate | ||
# IEEE server returns code 418 when checking links | ||
r'https://doi.org/10.1109/CSEET58097.2023.00020', | ||
r'https://doi.org/10.1109/CSEET58097.2023.00021', | ||
r'https://doi.org/10.1109/CSEET58097.2023.00031', | ||
r'https://doi.org/10.1109/CSEET58097.2023.00037', | ||
r'https://doi.org/10.1109/ITHET50392.2021.9759809', | ||
] | ||
# do not check anchors on websites that need JavaScript to load the content | ||
# the anchor points to | ||
linkcheck_anchors_ignore_for_url = [ | ||
r"https://angular.io/guide/.*", | ||
r"https://github.com/.*", | ||
r"https://k3d.io/.*" | ||
] | ||
|
||
# -- Options for HTML output ------------------------------------------------- | ||
|
||
# The theme to use for HTML and HTML Help pages. See the documentation for | ||
# a list of builtin themes. | ||
# | ||
html_theme = 'sphinx_rtd_theme' | ||
html_context = { | ||
"display_github": True, | ||
"github_user": "ls1intum", | ||
"github_repo": "Apollon", | ||
"github_version": "develop", | ||
"conf_py_path": "/docs/", | ||
} | ||
html_style = 'css/style.css' | ||
|
||
# Add any paths that contain custom static files (such as style sheets) here, | ||
# relative to this directory. They are copied after the builtin static files, | ||
# so a file named "default.css" will overwrite the builtin "default.css". | ||
html_static_path = ['_static'] |
File renamed without changes.
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
docs/source/dev/general-concepts.rst → docs/dev/general-concepts.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.