salt/doc
Cédric Bosdonnat b1c685d7f1
doc: mock boto.regioninfo._load_json_file
Mockup _load_json_file() in order to avoid the following errors when
building the docs:

WARNING: autodoc: failed to import module 'salt.modules.boto_asg'; the following exception was raised:
Traceback (most recent call last):
  File "/public/src/salt/env/lib/python3.6/site-packages/sphinx/ext/autodoc/importer.py", line 140, in import_module
    __import__(modname)
  File "/public/src/salt/salt/modules/boto_asg.py", line 63, in <module>
    import boto.ec2
  File "/public/src/salt/env/lib/python3.6/site-packages/boto/ec2/__init__.py", line 31, in <module>
    RegionData = load_regions().get('ec2', {})
  File "/public/src/salt/env/lib/python3.6/site-packages/boto/regioninfo.py", line 100, in load_regions
    endpoints = _load_builtin_endpoints()
  File "/public/src/salt/env/lib/python3.6/site-packages/boto/regioninfo.py", line 128, in _load_builtin_endpoints
    resolver = BotoEndpointResolver(endpoints)
  File "/public/src/salt/env/lib/python3.6/site-packages/boto/endpoints.py", line 150, in __init__
    endpoint_data, service_rename_map)
  File "/public/src/salt/env/lib/python3.6/site-packages/boto/endpoints.py", line 44, in __init__
    super(_CompatEndpointResolver, self).__init__(endpoint_data)
  File "/public/src/salt/env/lib/python3.6/site-packages/boto/vendored/regions/regions.py", line 95, in __init__
    raise ValueError('Missing "partitions" in endpoint data')
ValueError: Missing "partitions" in endpoint data
2018-06-22 10:51:48 +02:00
..
_ext Fix all Sphinx warnings 2018-05-31 15:28:25 -05:00
_incl Remove ":doc:" references from a bunch of doc/* files 2016-12-15 16:09:27 -07:00
_static Add NAPALM logo 2017-05-04 09:09:08 +00:00
_templates
_themes Merge branch '2016.11' into '2017.7' 2018-02-28 14:59:01 -05:00
.scripts Fix all Sphinx warnings 2018-05-31 15:28:25 -05:00
.tx Remove deprecated vsphere cloud driver in Carbon release 2016-08-05 16:16:12 -06:00
cheatsheet
man Fix quite common Exception typos 2018-06-21 14:22:44 +07:00
ref Update presence_events docs to remove localhost comment 2018-06-19 13:55:09 -04:00
security
topics Fix quite common Exception typos 2018-06-21 14:22:44 +07:00
apidoc-saltmods.sh New doc site layout, 2016.3.0 release note known issue additions 2016-05-25 17:39:55 -06:00
conf.py doc: mock boto.regioninfo._load_json_file 2018-06-22 10:51:48 +02:00
contents.rst Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00
faq.rst [DOC] Fix Jinja block in FAQ page 2018-04-08 12:19:48 +03:00
favicon.ico Fix all Sphinx warnings 2018-05-31 15:28:25 -05:00
gen_gource Remove trailing white spaces in documentation files 2016-03-01 17:36:23 +02:00
glossary.rst Touch up glossary references 2018-03-13 17:28:54 -05:00
Makefile Do not require sphinx-build for cleaning docs 2017-05-23 17:14:11 +02:00
spelling_wordlist.txt remove Stormpath module, states and docs 2017-08-14 16:03:00 -06:00