Commit Graph

10 Commits

Author SHA1 Message Date
Marcus Crane
65f0c95b20 Use relative links that work locally and in production
At present, a mix of link types are used in the Netbox
documentation from markdown file links to relative and
absolute anchor links.

Of the three types, linking to markdown files is the
most ideal because it allows navigation locally on disk,
as well as being translated into working links at render
time.

While not obvious, mkdocs handles converting markdown
links to valid URLs.

Signed-Off-by: Marcus Crane <marcu.crane@daimler.com>
2021-03-18 19:39:03 +13:00
Brian Candler
0e8d0f6062 Fix sample report in documentation
Raised in #5729
2021-02-02 08:16:35 +00:00
Jeremy Stretch
26580b35be Closes #5177: Note permissions required for running reports and custom scripts 2020-09-24 10:32:15 -04:00
weisdd
dcb75fb8e7 Fix: incorrect DeviceConnectionsReport in reports.md (#4606)
Since the CONNECTION_STATUS_PLANNED constant is gone from dcim.constants, the DeviceConnectionsReport script is no longer correct.
The suggested fix is based on the fact that console_port.connection_status and power_port.connection_status currently have the following set of values:
* None = A cable is not connected to a Console Server Port or it's connected to a Rear/Front Port;
* False = A cable is connected to a Console Server Port and marked as Planned;
* True = A cable is connected to a Console Server Port and marked as Installed.
2020-05-11 09:14:25 -04:00
Jeremy Stretch
17ff39c68c Closes #4199: Update example report to use ChoiceSet 2020-02-19 10:31:10 -05:00
kobayashi
06b98a3208 fixed broken links 2019-09-28 00:41:09 -04:00
John Anderson
8bd1a48973 fixes #3428 - caching invalidation issues
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
2019-08-19 01:53:39 -04:00
Brian Candler
df7fe9be71 Clarify use of "runreport" CLI 2019-02-13 08:54:04 +00:00
Jeremy Stretch
ebb5b60ab0 Fixes #2709: Update example report for compatibility with v2.5 2018-12-19 16:34:35 -05:00
Jeremy Stretch
70bed34a94 Started v2.4 documentation refresh 2018-07-17 17:23:10 -04:00