From 2243bc5e61e741768149418be43dd7cf38f889c9 Mon Sep 17 00:00:00 2001 From: Jonas Schuhmacher Date: Thu, 28 Mar 2024 19:01:51 +0100 Subject: [PATCH] fix the image not being displayed --- .github/workflows/docs.yml | 5 +++++ docs/background/rational.rst | 2 +- docs/conf.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e41b9ef..3a21df2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,5 +22,10 @@ jobs: run: | sudo apt-get update sudo apt-get install -y doxygen + - uses: actions/checkout@v3 + with: + lfs: true - id: deployment uses: sphinx-notes/pages@v3 + with: + checkout: false diff --git a/docs/background/rational.rst b/docs/background/rational.rst index 87bcf3e..92a3a6d 100644 --- a/docs/background/rational.rst +++ b/docs/background/rational.rst @@ -4,7 +4,7 @@ Statement of Need The Rational ------------ -.. image:: ../../_static/eros_010.png +.. image:: /../_static/eros_010.png :align: center :width: 400 :alt: Downscaled mesh of (433) Eros to 10% of its original vertices and faces. diff --git a/docs/conf.py b/docs/conf.py index 80b6e2b..cadb0cc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -70,7 +70,7 @@ def configure_doxyfile(input_dir, output_dir): # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ["_static", "figures"] +html_static_path = ["_static", "figures/eros_010.png"] # Breathe Configuration breathe_default_project = "polyhedral-gravity-model"