summaryrefslogtreecommitdiff
path: root/docs/extra.css
diff options
context:
space:
mode:
authorChristoph Reiter <creiter@src.gnome.org>2017-12-10 20:38:47 +0100
committerChristoph Reiter <creiter@src.gnome.org>2017-12-11 15:40:08 +0100
commitdfab41d0b66a15c8cf8229f7522160ec6b08a2b8 (patch)
tree7440200db14a4d3dc424842caa804a65366decf5 /docs/extra.css
parent307e64982fdfcc9b505d867c0628e1e0a189cd67 (diff)
downloadpygobject-dfab41d0b66a15c8cf8229f7522160ec6b08a2b8.tar.gz
Add sphinx based documentation
Takes the documentation developed at https://github.com/pygobject/pygobject-docs and puts into /docs See https://pygobject.readthedocs.io for how it looks Now that we move to gitlab we can use webhooks to trigger builds on readthedocs from gitlab directly and we should also have a nicer contribution UX. This also gets rid of most of README/HACKING/INSTALL and moves most of the information into the documentation. The README is kept short and only makes clear what pygobject is and points to the online docs as that should answer all questions. setup.py now sets the content of README.rst as long_descriptions, as that is the content shown on PyPI. This makes the page on PyPI look the same as on gitlab. https://bugzilla.gnome.org/show_bug.cgi?id=791448
Diffstat (limited to 'docs/extra.css')
-rw-r--r--docs/extra.css57
1 files changed, 57 insertions, 0 deletions
diff --git a/docs/extra.css b/docs/extra.css
new file mode 100644
index 00000000..3ae7bdbb
--- /dev/null
+++ b/docs/extra.css
@@ -0,0 +1,57 @@
+.wy-side-nav-search {
+ background-color: initial;
+}
+
+.wy-nav-top {
+ background-color: #171A2F;
+}
+
+.wy-side-nav-search input[type="text"] {
+ border-color: transparent;
+}
+
+.wy-nav-content {
+ margin: initial;
+}
+
+.wy-nav-side {
+ background-color: #171A2F;
+}
+
+.rst-content div[role=navigation], footer {
+ font-size: 0.85em;
+ color: #999;
+}
+
+.rst-content div[role=navigation] hr {
+ margin-top: 6px;
+}
+
+footer hr {
+ margin-bottom: 6px;
+}
+
+.rst-footer-buttons {
+ display: none;
+}
+
+a.icon-home, a.icon-home:hover {
+ display: inline-block;
+ padding: 4px 4px 4px 21px;
+ background: transparent url(pygobject-small.svg) center left no-repeat;
+ background-size: 1.2em;
+ margin-top: 0.2em;
+ margin-bottom: 1em;
+}
+
+
+.fa-home::before, .icon-home::before {
+ content: "";
+}
+
+.wy-nav-top a {
+ margin: -2em;
+ background: transparent url(pygobject-small.svg) center left no-repeat;
+ background-size: 1.2em;
+ padding: 4px 4px 4px 24px;
+}