Pillar Extensions can now add links to the sidebar.

This commit is contained in:
2016-10-11 16:33:44 +02:00
parent 6429c3df21
commit 5dd49fa5dd
4 changed files with 31 additions and 2 deletions

View File

@@ -86,3 +86,11 @@ class PillarExtension(object):
def setup_app(self, app):
"""Called during app startup, after all extensions have loaded."""
def sidebar_links(self, project):
"""Returns the sidebar link(s) for the given projects.
:returns: HTML as a string for the sidebar.
"""
return ''