Skip to content

Commit 05ab328

Browse files
committed
Add build date to docs
1 parent 2f977fb commit 05ab328

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

docs/_templates/hacks.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<!-- Alabaster (krTheme++) Hacks -->
22

3-
<h3>Version</h3>
4-
<p>{{ project }} version {{ release }}</p>
3+
<div class="sidebar-meta">
4+
<h3>Meta</h3>
5+
<div>Docs for {{ project }}</div>
6+
<div>Version: <code>{{ release }}</code></div>
7+
<div>Last updated: {{ last_updated }}</div>
8+
</div>
59

610
<!-- CSS Adjustments from requests: https://github.com/kennethreitz/requests/blob/master/docs/_templates/hacks.html -->
711
<style type="text/css">
@@ -39,4 +43,8 @@ <h3>Version</h3>
3943
font-size: 70%;
4044
}
4145

46+
.sidebar-meta {
47+
font-size: 80%;
48+
}
49+
4250
</style>

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
import openeo
2828

29-
3029
# -- General configuration ------------------------------------------------
3130

3231
# If your documentation needs a minimal Sphinx version, state it here.
@@ -86,6 +85,7 @@
8685
# If true, `todo` and `todoList` produce output, else they produce nothing.
8786
todo_include_todos = False
8887

88+
html_last_updated_fmt = "%Y/%m/%d"
8989

9090
# -- Options for HTML output ----------------------------------------------
9191

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
Open-EO Python Client
6+
OpenEO Python Client
77
=====================
88

99

0 commit comments

Comments
 (0)