From 69347da990cb6b4d13765d23865cfb23612345d4 Mon Sep 17 00:00:00 2001
From: Hu Zhao <zhao@mbd.rwth-aachen.de>
Date: Wed, 7 Dec 2022 17:25:45 +0100
Subject: [PATCH] docs: add custom.css to make equation label align to the
 right

---
 docs/source/_static/css/custom.css |  6 ++++++
 docs/source/conf.py                | 18 ++++++++++++------
 2 files changed, 18 insertions(+), 6 deletions(-)
 create mode 100644 docs/source/_static/css/custom.css

diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css
new file mode 100644
index 0000000..c7d1eb1
--- /dev/null
+++ b/docs/source/_static/css/custom.css
@@ -0,0 +1,6 @@
+.math {
+    text-align: left;
+}
+.eqno {
+    float: right;
+}
\ No newline at end of file
diff --git a/docs/source/conf.py b/docs/source/conf.py
index c7ff0ff..b34f888 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -65,18 +65,18 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
 # configure Sphinx-Gallery
 sphinx_gallery_conf = {
     "examples_dirs": [
-        "../examples/emulator",
+        "../examples/emulator/robustgasp",
         "../examples/inference",
         "../examples/sampler",
         "../examples/sensitivity",
         "../examples/simulator",
     ],  # path to your example scripts,
     "gallery_dirs": [
-        "../auto_examples/emulator",
-        "../auto_examples/inference",
-        "../auto_examples/sampler",
-        "../auto_examples/sensitivity",
-        "../auto_examples/simulator",
+        "auto_examples/emulator/robustgasp",
+        "auto_examples/inference",
+        "auto_examples/sampler",
+        "auto_examples/sensitivity",
+        "auto_examples/simulator",
     ],  # path to where to save gallery generated output
 }
 
@@ -101,3 +101,9 @@ html_sidebars = {
 # 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']
+
+# These paths are either relative to html_static_path
+# or fully qualified paths (eg. https://...)
+html_css_files = [
+    'css/custom.css',
+]
-- 
GitLab