Skip to content

Commit 31bddd7

Browse files
authored
Reinstate html_css_files parameter for handling top banner of the docs
Partial revert of 5e38721
1 parent 97e8377 commit 31bddd7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@
163163
'isLtr': False,
164164
}
165165

166+
# Add custom CSS when a top bar is needed to be shown (for testing or outdated versions)
167+
if html_context['isTesting'] or html_context['outdated']:
168+
html_css_files = ['css/qgis_topbar.css']
169+
166170
# Add custom tags to allow display of text based on the branch status
167171
if html_context['isTesting']:
168172
tags.add('testing')

0 commit comments

Comments
 (0)