mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 16:52:58 -07:00
Add auto-generation of exporter docs
This commit is contained in:
parent
3be9c84f2b
commit
e6c8bd0c13
2 changed files with 124 additions and 0 deletions
|
@ -6822,3 +6822,9 @@ class WebInterface(object):
|
|||
return {'result': 'success', 'message': 'Export deleted successfully.'}
|
||||
else:
|
||||
return {'result': 'error', 'message': 'Failed to delete export.'}
|
||||
|
||||
|
||||
@cherrypy.expose
|
||||
@requireAuth(member_of("admin"))
|
||||
def export_docs(self, **kwargs):
|
||||
return '<pre>' + exporter.build_export_docs() + '</pre>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue