Skip to content

Commit 30e8fe0

Browse files
slusarzsirainen
authored andcommitted
sidebar: Add warning about 2.3 deprecation, and add links to updated docs
1 parent 331012d commit 30e8fe0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
# documentation.
9595
#
9696
html_theme_options = {
97+
'description': '<div style="background-color:#f8d7da; color:#721c24; font-family:Arial,Helvetica; padding:15px;"><strong>WARNING</strong><br />This site contains documentation for an unmaintained version of Dovecot CE.<br />For up-to-date documentation, please visit <a href="https://doc.dovecot.org">Dovecot 2.4 CE</a>.</div>',
9798
'font_family': 'Roboto',
9899
'logo' : 'dovecot.gif',
99100
# 'github_user': 'dovecot',
@@ -103,6 +104,8 @@
103104
'Edit Documentation': 'https://github.com/dovecot/documentation/pulls/',
104105
'Repositories' : 'https://repo.dovecot.org/',
105106
'Download' : 'https://dovecot.org/download.html',
107+
'Dovecot CE 2.4': 'https://doc.dovecot.org/latest/',
108+
'Dovecot Pro': 'https://doc.dovecotpro.com/'
106109
},
107110
'show_powered_by': True,
108111
'page_width': '92%',

0 commit comments

Comments
 (0)