From ee22f209a4eff28f77154b8757be11420f085052 Mon Sep 17 00:00:00 2001 From: "l.feng" <43399351+msclock@users.noreply.github.com> Date: Wed, 1 Jan 2025 07:07:43 +0800 Subject: [PATCH] perf(docs): do not generate api for internal _core Signed-off-by: l.feng <43399351+msclock@users.noreply.github.com> --- docs/api/index.md | 9 --------- .../api/index.md.jinja | 11 ----------- 2 files changed, 20 deletions(-) diff --git a/docs/api/index.md b/docs/api/index.md index 23dedfc..77c1204 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -6,12 +6,3 @@ :undoc-members: :show-inheritance: ``` - -## Submodules - -```{eval-rst} -.. automodule:: ss_pybind11._core - :members: - :undoc-members: - :show-inheritance: -``` diff --git a/template/[% if docs_type == 'sphinx' %]docs[% endif %]/api/index.md.jinja b/template/[% if docs_type == 'sphinx' %]docs[% endif %]/api/index.md.jinja index 9e9abd1..3d28a9b 100644 --- a/template/[% if docs_type == 'sphinx' %]docs[% endif %]/api/index.md.jinja +++ b/template/[% if docs_type == 'sphinx' %]docs[% endif %]/api/index.md.jinja @@ -6,14 +6,3 @@ :undoc-members: :show-inheritance: ``` -[%- if compiled == true %] - -## Submodules - -```{eval-rst} -.. automodule:: {{ module_name }}._core - :members: - :undoc-members: - :show-inheritance: -``` -[%- endif %]