From b6455f96f10afb1bc2631e772086679ab0b89662 Mon Sep 17 00:00:00 2001 From: MariusWirtz Date: Tue, 3 Oct 2023 20:26:49 +0200 Subject: [PATCH] Fix docs on readthedocs.org --- .readthedocs.yml | 6 +++--- TM1py/__init__.py | 1 + docs/api.rst | 4 ++++ docs/index.rst | 2 ++ 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 1f3e7b61..de3e2e47 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -12,9 +12,9 @@ sphinx: formats: all build: - image: latest - + os: ubuntu-22.04 + tools: + python: "3.11" python: - version: 3.8 install: - requirements: docs/requirements.txt diff --git a/TM1py/__init__.py b/TM1py/__init__.py index b53fe969..146d7306 100644 --- a/TM1py/__init__.py +++ b/TM1py/__init__.py @@ -47,6 +47,7 @@ from TM1py.Services.CubeService import CubeService from TM1py.Services.DimensionService import DimensionService from TM1py.Services.ElementService import ElementService +from TM1py.Services.FileService import FileService from TM1py.Services.GitService import GitService from TM1py.Services.HierarchyService import HierarchyService from TM1py.Services.MonitoringService import MonitoringService diff --git a/docs/api.rst b/docs/api.rst index 139df069..c172318c 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -38,6 +38,10 @@ TM1 Services :members: :undoc-members: +.. autoclass:: TM1py.FileService + :members: + :undoc-members: + .. autoclass:: TM1py.GitService :members: :undoc-members: diff --git a/docs/index.rst b/docs/index.rst index 7bdefcb0..872d9fe1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -96,5 +96,7 @@ If you are looking for information on a specific function, class, or method, this part of the documentation is for you. .. toctree:: + :maxdepth: 2 + api