Skip to content

Commit e044061

Browse files
author
Thomas
committed
updated docs
1 parent 6c5746c commit e044061

File tree

4 files changed

+5
-54
lines changed

4 files changed

+5
-54
lines changed

Diff for: docs/conf.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#
2020
import os
2121
import sys
22-
sys.path.insert(0, os.path.abspath('../'))
22+
sys.path.insert(0, os.path.abspath('..'))
2323

2424

2525
# -- General configuration ------------------------------------------------
@@ -83,7 +83,7 @@
8383
# The theme to use for HTML and HTML Help pages. See the documentation for
8484
# a list of builtin themes.
8585
#
86-
html_theme = 'sphinx_rtd_theme'
86+
# html_theme = 'sphinx_rtd_theme'
8787

8888
# Theme options are theme-specific and customize the look and feel of a theme
8989
# further. For a list of options available for each theme, see the
@@ -94,7 +94,7 @@
9494
# Add any paths that contain custom static files (such as style sheets) here,
9595
# relative to this directory. They are copied after the builtin static files,
9696
# so a file named "default.css" will overwrite the builtin "default.css".
97-
html_static_path = ['_static']
97+
# html_static_path = ['_static']
9898

9999

100100
# -- Options for HTMLHelp output ------------------------------------------

Diff for: docs/examples.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Get all devices:
2929

3030
Get devices per rack:
3131

32-
>>> netbox.dcim.get_devices_per_rack('rack_name')
32+
>>> netbox.dcim.get_devices(rack_id='1')
3333

3434
Get device by name
3535

36-
>>> netbox.dcim.get_device_by_name('device_name')
36+
>>> netbox.dcim.get_devices(name='device_name')
3737

3838
Get per device the primary ip and mac address:
3939

Diff for: docs/netbox.rst

-24
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ netbox package
44
Submodules
55
----------
66

7-
netbox\.connection module
8-
-------------------------
9-
10-
.. automodule:: netbox.connection
11-
:members:
12-
:undoc-members:
13-
:show-inheritance:
14-
157
netbox\.dcim module
168
-------------------
179

@@ -20,14 +12,6 @@ netbox\.dcim module
2012
:undoc-members:
2113
:show-inheritance:
2214

23-
netbox\.exceptions module
24-
-------------------------
25-
26-
.. automodule:: netbox.exceptions
27-
:members:
28-
:undoc-members:
29-
:show-inheritance:
30-
3115
netbox\.ipam module
3216
-------------------
3317

@@ -36,14 +20,6 @@ netbox\.ipam module
3620
:undoc-members:
3721
:show-inheritance:
3822

39-
netbox\.netbox module
40-
---------------------
41-
42-
.. automodule:: netbox.netbox
43-
:members:
44-
:undoc-members:
45-
:show-inheritance:
46-
4723
netbox\.virtualization module
4824
---------------------
4925

Diff for: docs/source/netbox.rst

-25
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ netbox package
44
Submodules
55
----------
66

7-
netbox\.connection module
8-
-------------------------
9-
10-
.. automodule:: netbox.connection
11-
:members:
12-
:undoc-members:
13-
:show-inheritance:
14-
157
netbox\.dcim module
168
-------------------
179

@@ -20,14 +12,6 @@ netbox\.dcim module
2012
:undoc-members:
2113
:show-inheritance:
2214

23-
netbox\.exceptions module
24-
-------------------------
25-
26-
.. automodule:: netbox.exceptions
27-
:members:
28-
:undoc-members:
29-
:show-inheritance:
30-
3115
netbox\.ipam module
3216
-------------------
3317

@@ -36,15 +20,6 @@ netbox\.ipam module
3620
:undoc-members:
3721
:show-inheritance:
3822

39-
netbox\.netbox module
40-
---------------------
41-
42-
.. automodule:: netbox.netbox
43-
:members:
44-
:undoc-members:
45-
:show-inheritance:
46-
47-
4823
Module contents
4924
---------------
5025

0 commit comments

Comments
 (0)