From 8e240b20c67b4f014008883b59bbfa5b5607f7ef Mon Sep 17 00:00:00 2001 From: wls2002 Date: Mon, 17 Feb 2025 17:25:59 +0800 Subject: [PATCH] update doc --- .readthedocs.yaml | 6 +++--- docs/conf.py | 1 + docs/index.rst | 8 ++++---- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 316f855..3f8c618 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -19,6 +19,6 @@ sphinx: # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html python: install: - - requirements: docs/requirements.txt - - + - method: pip + path: . + - requirements: docs/requirements.txt \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 715a917..1eed2b2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,6 @@ import os import sys +sys.path.insert(0, os.path.abspath('.')) sys.path.insert(0, os.path.abspath('../src')) # Configuration file for the Sphinx documentation builder. diff --git a/docs/index.rst b/docs/index.rst index 32cb4e9..21bdf42 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -12,7 +12,7 @@ TensorNEAT documentation source/tensorneat -.. automodule:: tensorneat - :members: - :undoc-members: - :show-inheritance: +.. .. automodule:: tensorneat +.. :members: +.. :undoc-members: +.. :show-inheritance: