Pillar Extensions can now add links to the sidebar.
This commit is contained in:
@@ -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 ''
|
||||
|
Reference in New Issue
Block a user