Skip to content

Commit 7e33f80

Browse files
committed
fix: schematic diagram on homepage
1 parent ee98a2a commit 7e33f80

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
# Add any paths that contain custom static files (such as style sheets) here,
5151
# relative to this directory. They are copied after the builtin static files,
5252
# so a file named "default.css" will overwrite the builtin "default.css".
53-
html_static_path = ['_static']
53+
html_static_path = ['_static', os.path.abspath('../../images')] # add /images directory to static path
5454

5555
html_css_files = ['css/custom.css']
5656

docs/source/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ system-under-test that is expected to cause a change to some output(s).
3333
.zoom-container {
3434
cursor: zoom-in;
3535
transition: transform 1s ease-in-out;
36+
background-color: white;
3637
}
3738
3839
.zoom-container.zoomed {
@@ -44,6 +45,7 @@ system-under-test that is expected to cause a change to some output(s).
4445
max-width: 100%;
4546
max-height: 100%;
4647
margin: auto;
48+
background-color: white;
4749
}
4850
4951
.zoom-container:hover {
@@ -83,9 +85,9 @@ system-under-test that is expected to cause a change to some output(s).
8385

8486
.. container:: zoom-container
8587

86-
.. image:: /images/schematic.png
88+
.. image:: ../../images/schematic.png
8789
:class: zoomable-image
88-
:alt: Zoomable Image
90+
:alt: Schematic diagram of the Causal Testing Framework
8991

9092

9193
.. toctree::

0 commit comments

Comments
 (0)