aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
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