Selaa lähdekoodia

Misc docs cleanup for v3.6

Jeremy Stretch 2 vuotta sitten
vanhempi
commit
646d52d498
2 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 4 0
      docs/plugins/development/models.md
  2. 1 0
      mkdocs.yml

+ 4 - 0
docs/plugins/development/models.md

@@ -26,7 +26,9 @@ Every model includes by default a numeric primary key. This value is generated a
 
 
 Plugin models can leverage certain NetBox features by inheriting from NetBox's `NetBoxModel` class. This class extends the plugin model to enable features unique to NetBox, including:
 Plugin models can leverage certain NetBox features by inheriting from NetBox's `NetBoxModel` class. This class extends the plugin model to enable features unique to NetBox, including:
 
 
+* Bookmarks
 * Change logging
 * Change logging
+* Cloning
 * Custom fields
 * Custom fields
 * Custom links
 * Custom links
 * Custom validation
 * Custom validation
@@ -105,6 +107,8 @@ For more information about database migrations, see the [Django documentation](h
 !!! warning
 !!! warning
     Please note that only the classes which appear in this documentation are currently supported. Although other classes may be present within the `features` module, they are not yet supported for use by plugins.
     Please note that only the classes which appear in this documentation are currently supported. Although other classes may be present within the `features` module, they are not yet supported for use by plugins.
 
 
+::: netbox.models.features.BookmarksMixin
+
 ::: netbox.models.features.ChangeLoggingMixin
 ::: netbox.models.features.ChangeLoggingMixin
 
 
 ::: netbox.models.features.CloningMixin
 ::: netbox.models.features.CloningMixin

+ 1 - 0
mkdocs.yml

@@ -211,6 +211,7 @@ nav:
             - ConfigContext: 'models/extras/configcontext.md'
             - ConfigContext: 'models/extras/configcontext.md'
             - ConfigTemplate: 'models/extras/configtemplate.md'
             - ConfigTemplate: 'models/extras/configtemplate.md'
             - CustomField: 'models/extras/customfield.md'
             - CustomField: 'models/extras/customfield.md'
+            - CustomFieldChoiceSet: 'models/extras/customfieldchoiceset.md'
             - CustomLink: 'models/extras/customlink.md'
             - CustomLink: 'models/extras/customlink.md'
             - ExportTemplate: 'models/extras/exporttemplate.md'
             - ExportTemplate: 'models/extras/exporttemplate.md'
             - ImageAttachment: 'models/extras/imageattachment.md'
             - ImageAttachment: 'models/extras/imageattachment.md'