From 83f14abb7823a786947a5dd5be36f40f9896ee59 Mon Sep 17 00:00:00 2001 From: Kai Zhang Date: Tue, 1 Oct 2024 15:48:56 +0800 Subject: [PATCH] fix docs --- docs/_templates/autosummary/class.rst | 4 ++-- docs/api.rst | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/_templates/autosummary/class.rst b/docs/_templates/autosummary/class.rst index 3307d7e..5df72b1 100644 --- a/docs/_templates/autosummary/class.rst +++ b/docs/_templates/autosummary/class.rst @@ -11,7 +11,7 @@ .. autosummary:: :toctree: . {% for item in attributes %} - ~{{ fullname }}.{{ item }} + {{ item }} {%- endfor %} {% endif %} {% endblock %} @@ -24,7 +24,7 @@ :toctree: . {% for item in methods %} {%- if item != '__init__' %} - ~{{ fullname }}.{{ item }} + {{ objname }}.{{ item }} {%- endif -%} {%- endfor %} {% endif %} diff --git a/docs/api.rst b/docs/api.rst index 35a0da3..b10d4f0 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -14,8 +14,6 @@ SeqSpec :toctree: _autosummary SeqSpec - SeqSpec.add_read - SeqSpec.to_yaml Core functions ~~~~~~~~~~~~~~ @@ -33,4 +31,4 @@ Utilities .. autosummary:: :toctree: _autosummary - precellar.utils.strip_barcode_from_fastq \ No newline at end of file + utils.strip_barcode_from_fastq \ No newline at end of file