From da65552c5904e3475348b9f812407e76985240a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michaela=20Le=C5=A1t=C3=A1kov=C3=A1?=
 <michaela.lestakova@tu-darmstadt.de>
Date: Mon, 31 Mar 2025 13:50:57 +0200
Subject: [PATCH] add make clean to ci, clean up docs

---
 .gitlab-ci.yml                     | 1 +
 doc/Deserializer.rst               | 3 +--
 doc/diagrams.rst                   | 2 +-
 doc/howitworks.rst                 | 2 +-
 doc/matplotlib_json_spec_0.2.0.rst | 3 +--
 doc/user_guide.rst                 | 2 +-
 6 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d817b46..87a8d73 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -58,6 +58,7 @@ check-typing:
 
 doc:
   script:
+    - make clean
     - make html
   artifacts:
     paths:
diff --git a/doc/Deserializer.rst b/doc/Deserializer.rst
index 81d2cfe..c15f348 100644
--- a/doc/Deserializer.rst
+++ b/doc/Deserializer.rst
@@ -1,6 +1,5 @@
 Overview
-========================
-
+========
 PlotSerializer also provides the functionality of converting the JSON file back into a diagram.
 Only serialized attributes can influence the deserialized plot,
 the created graph might thus look slightly different from the original, the data however will remain unchanged.
diff --git a/doc/diagrams.rst b/doc/diagrams.rst
index 47f453a..ad6f7d0 100644
--- a/doc/diagrams.rst
+++ b/doc/diagrams.rst
@@ -1,5 +1,5 @@
 How PloSe sees diagrams
-================================
+=======================
 PloSe uses its own data model for representing scientific diagrams.
 The data model was designed as a general representation of scientific diagrams.
 The base class for this data model is ``plot_serializer.model.Figure``.
diff --git a/doc/howitworks.rst b/doc/howitworks.rst
index 619bc62..4f9fbd3 100644
--- a/doc/howitworks.rst
+++ b/doc/howitworks.rst
@@ -165,7 +165,7 @@ This information about the color relates to each trace, so to inspect it in the
 
 
 Using Serializer object vs. matplotlib.pyplot
-------------------------------------------
+---------------------------------------------
 So far the Serializer class for Matplotlib only supports the subplots and show method, meaning any other operations on the pyplot object will not get serialized and making
 such changes to your plot still requires calling the functions on the pyplot object. The reason for this being that the Serializer was not implemented as a fully functional proxy 
 for the pyplot object like the AxesProxy class is for Axes of matplotlib.axes.
diff --git a/doc/matplotlib_json_spec_0.2.0.rst b/doc/matplotlib_json_spec_0.2.0.rst
index 24a2f78..4d0b01b 100644
--- a/doc/matplotlib_json_spec_0.2.0.rst
+++ b/doc/matplotlib_json_spec_0.2.0.rst
@@ -1,6 +1,5 @@
 Matplotlib PlotSerializer 0.2.0
-================
-
+================================
 .. code-block:: json
 
     {
diff --git a/doc/user_guide.rst b/doc/user_guide.rst
index e5c7b41..0f6bfb4 100644
--- a/doc/user_guide.rst
+++ b/doc/user_guide.rst
@@ -46,7 +46,7 @@ PloSe also allows for deserialization of JSON-ized plots into matplotlib.
    :hidden:
    :caption: Deserializing with PloSe
 
-   deserializer
+   Deserializer
    json_deserializer
 
 .. toctree::
-- 
GitLab