From 39af8d5d7090b88a3ac6bbf864e9731013eaa12d Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Mon, 10 Oct 2016 16:37:13 +0200 Subject: [PATCH] Remove dead link from notification devref The auto generated class documentation link was 404 in the notification devref as that documenation is not generated automatically any more. This patch modifies the notification devref to include the interesting part of the class documentation inline. Change-Id: I7cbea16fc9682fa3c00eac16a51c4ed8588ba45c --- doc/source/notifications.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/source/notifications.rst b/doc/source/notifications.rst index d9d6aae4527c..c8cdb0a759f2 100644 --- a/doc/source/notifications.rst +++ b/doc/source/notifications.rst @@ -113,7 +113,14 @@ already defines three mandatory fields of the notification `event_type`, notifications shall inherit from the `nova.objects.notifications.base.NotificationPayloadBase` class and shall define the fields of the payload as versionedobject fields. The base classes -are described in [3]_. +are described in the following section. + +The nova.notifications.objects.base module +.......................................... +.. automodule:: nova.notifications.objects.base + :noindex: + :members: + :show-inheritance: Please note that the notification objects shall not be registered to the NovaObjectRegistry to avoid mixing nova internal objects with the notification @@ -278,4 +285,3 @@ Existing versioned notifications .. [1] http://docs.openstack.org/developer/oslo.messaging/notifier.html .. [2] http://docs.openstack.org/developer/oslo.versionedobjects -.. [3] http://docs.openstack.org/developer/nova/devref/api/nova.objects.notification.html