Closed
Description
NetBox version
v3.2.7
Feature type
Change to existing functionality
Proposed functionality
Currently get_docs_url does not allow for plugins to include their docs. It would be a nice feature if it did.
@register.filter()
def get_docs_url(model):
"""
Return the documentation URL for the specified model.
"""
return f'{settings.STATIC_URL}docs/models/{model._meta.app_label}/{model._meta.model_name}/'
Use case
Allow for higher quality plugins with documents in the NetBox UI just like any other model.
Database changes
N/A
External dependencies
N/A