Changes in templates block, aren't reflected in documentation. #5388

Closed
opened 2025-12-29 19:27:24 +01:00 by adam · 1 comment
Owner

Originally created by @renatoalmeidaoliveira on GitHub (Sep 18, 2021).

Change Type

Correction

Area

Administration/development

Proposed Changes

In the plugin development documentation page, the extending base template block refers to:
{% extends 'base.html' %}
But that doc was moved to base/base.html so it should be:
{% extends 'base/base.html' %}

Another issues are about the content blocks, because is the new base.html there are:

  • head instead of header
  • layout instead of content
  • and a new block data that isn't documented.
Originally created by @renatoalmeidaoliveira on GitHub (Sep 18, 2021). ### Change Type Correction ### Area Administration/development ### Proposed Changes In the [plugin development documentation](https://netbox.readthedocs.io/en/stable/plugins/development/) page, the extending base template block refers to: ` {% extends 'base.html' %} ` But that doc was moved to base/base.html so it should be: ` {% extends 'base/base.html' %} ` Another issues are about the content blocks, because is the new base.html there are: * `head` instead of `header` * `layout` instead of `content` * and a new block `data` that isn't documented.
adam added the type: documentation label 2025-12-29 19:27:24 +01:00
adam closed this issue 2025-12-29 19:27:24 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 28, 2021):

The documentation currently says to extend base/layout.html, which is correct. The block names are correct for this template, as well.

@jeremystretch commented on GitHub (Sep 28, 2021): The documentation currently says to extend `base/layout.html`, which is correct. The block names are correct for this template, as well.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5388