From 054cfb496e8712a4f586813225a4365e5f53fff3 Mon Sep 17 00:00:00 2001 From: Dario Coscia Date: Mon, 17 Mar 2025 14:43:57 +0100 Subject: [PATCH] automodule loss + update doc workflow --- .github/workflows/testing_doc.yml | 11 ++--------- docs/source/_rst/loss/lploss.rst | 3 --- docs/source/_rst/loss/powerloss.rst | 3 --- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/testing_doc.yml b/.github/workflows/testing_doc.yml index a527884..2109f9d 100644 --- a/.github/workflows/testing_doc.yml +++ b/.github/workflows/testing_doc.yml @@ -13,16 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout code + - name: Checkout Doc uses: actions/checkout@v2 - - - name: Set up Python uses: ammaraskar/sphinx-action@7.4.7 with: pre-build-command: "python3 -m pip install .[doc]" - docs-folder: "docs/" - - - name: Build Sphinx documentation - run: | - cd docs - make html SPHINXOPTS="-W" + docs-folder: "docs/" \ No newline at end of file diff --git a/docs/source/_rst/loss/lploss.rst b/docs/source/_rst/loss/lploss.rst index 4244616..37dfdfe 100644 --- a/docs/source/_rst/loss/lploss.rst +++ b/docs/source/_rst/loss/lploss.rst @@ -2,9 +2,6 @@ LpLoss =============== .. currentmodule:: pina.loss.lp_loss -.. automodule:: pina.loss.lp_loss - :no-index: - .. autoclass:: LpLoss :members: :show-inheritance: \ No newline at end of file diff --git a/docs/source/_rst/loss/powerloss.rst b/docs/source/_rst/loss/powerloss.rst index fd28f55..e4dee43 100644 --- a/docs/source/_rst/loss/powerloss.rst +++ b/docs/source/_rst/loss/powerloss.rst @@ -2,9 +2,6 @@ PowerLoss ==================== .. currentmodule:: pina.loss.power_loss -.. automodule:: pina.loss.power_loss - :no-index: - .. autoclass:: PowerLoss :members: :show-inheritance: \ No newline at end of file