aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-10-30 19:19:40 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-10-30 19:19:40 +0100
commit5e723d53077210bc51272320b76577b44730c55e (patch)
treeca57db0556613f8184b779ddc09f3a576d4a274f /doc
parent923ceed965328188234554b059de7e1f8703cce7 (diff)
more documentation tweaks
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py5
-rw-r--r--doc/index.rst20
2 files changed, 21 insertions, 4 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 0dc01c8..477a00d 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -12,10 +12,7 @@ import patchtree
project = "patchtree"
release = "???"
-extensions = [
- "sphinx.ext.autodoc",
- "sphinx_automodapi.automodapi",
-]
+extensions = ["sphinx.ext.autodoc"]
templates_path = []
exclude_patterns = []
html_theme = "sphinx_rtd_theme"
diff --git a/doc/index.rst b/doc/index.rst
index 5b13ded..ab8649a 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -1,4 +1,24 @@
+.. raw:: html
+
+ <style>
+ pre {
+ padding: unset !important;
+ font-family: monospace !important;
+ margin: 0 auto !important;
+ width: min-content;
+ }
+
+ .highlight {
+ background: unset;
+ }
+
+ .rst-content div[class^=highlight] {
+ border: none;
+ }
+ </style>
+
.. include:: ../readme.rst
+ :end-line: 18
#############
Documentation