Skip to content

Commit

Permalink
Fix documentation generation
Browse files Browse the repository at this point in the history
This was broken since a refactor of dependencies, it will make sure that
rtd will install the applications requirements.
  • Loading branch information
fbouliane authored and simon-begin committed Jan 11, 2019
1 parent 259560b commit ac2fdae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions netman/api/doc_config/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Cisco 6500 No Yes Yes Yes
Juniper EX2200 Yes No No Yes
Juniper QFX Yes No No Yes
Dell No Yes No Yes
Arista 7280R No No Yes Yes
============== =============== ==================== ============= ===============

API documentation
Expand Down
1 change: 1 addition & 0 deletions netman/api/switch_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ def unset_vlan_load_interval(self, switch, vlan_number):
def set_vlan_mpls_ip_state(self, switch, vlan_number, state):
"""
Sets the mpls ip state of a vlan
:arg str hostname: Hostname or IP of the switch
:arg int vlan_number: Vlan number, between 1 and 4096
:body:
Expand Down
1 change: 1 addition & 0 deletions rtd-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Sphinx>=1.5.3,<1.6
sphinxcontrib-httpdomain
-r requirements.txt
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ setenv =
PYTHONDONTWRITEBYTECODE = 1

[testenv:docs]
skip_install = true
deps = -r{toxinidir}/rtd-requirements.txt
commands = python setup.py build_sphinx --fresh-env
commands = python setup.py build_sphinx {posargs} --fresh-env

[testenv:bump-dependencies]
skipsdist = True
Expand Down

0 comments on commit ac2fdae

Please sign in to comment.