From b616bc2ab14321bdf45ea4761fb05248b53c5fee Mon Sep 17 00:00:00 2001 From: lrdossan Date: Mon, 27 May 2024 15:53:09 +0200 Subject: [PATCH 1/3] updated conf file of readthedocs --- caimira/docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caimira/docs/conf.py b/caimira/docs/conf.py index 2b9f7aaf..3982967b 100644 --- a/caimira/docs/conf.py +++ b/caimira/docs/conf.py @@ -30,7 +30,7 @@ release = '4.1.1' # 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.ext.autodoc'] +extensions = ['sphinx.ext.autodoc', 'sphinx_rtd_theme'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] From e1339e3832c5ff3bbcfd4866609f2ebcb22c90b7 Mon Sep 17 00:00:00 2001 From: lrdossan Date: Mon, 27 May 2024 15:53:22 +0200 Subject: [PATCH 2/3] added env variable for running tests --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0f8fc5fd..eada20ee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,6 +46,7 @@ jobs: env: PROJECT_ROOT: ./ PROJECT_NAME: caimira + CAIMIRA_TESTS_CALCULATOR_TIMEOUT: 30 steps: - name: Checkout uses: actions/checkout@v2 From b90ab86f879e7b325e4bed505f969898a5736ede Mon Sep 17 00:00:00 2001 From: lrdossan Date: Mon, 27 May 2024 16:45:42 +0200 Subject: [PATCH 3/3] added requirements --- .readthedocs.yaml | 18 +++--------------- caimira/docs/requirements.txt | 6 ++++++ 2 files changed, 9 insertions(+), 15 deletions(-) create mode 100644 caimira/docs/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 8a50de4c..edd0ab51 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -2,28 +2,16 @@ # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details -# Required version: 2 -# Set the version of Python and other tools you might need build: - os: ubuntu-20.04 + os: ubuntu-22.04 tools: - python: "3.9" - # You can also specify other tool versions: - # nodejs: "16" - # rust: "1.55" - # golang: "1.17" + python: "3.11" -# Build documentation in the docs/ directory with Sphinx sphinx: configuration: caimira/docs/conf.py -# If using Sphinx, optionally build your docs in additional formats such as PDF -# formats: -# - pdf - -# Optionally declare the Python requirements required to build your docs python: install: - - requirements: requirements.txt \ No newline at end of file + - requirements: caimira/docs/requirements.txt \ No newline at end of file diff --git a/caimira/docs/requirements.txt b/caimira/docs/requirements.txt new file mode 100644 index 00000000..6074cd93 --- /dev/null +++ b/caimira/docs/requirements.txt @@ -0,0 +1,6 @@ +sphinx==6.2.1 +sphinx-rtd-theme==1.2.2 +pillow==5.4.1 +mock==1.0.1 +commonmark==0.9.1 +recommonmark==0.5.0 \ No newline at end of file