salt/doc/ref
Erik Johnson 002aa88a97
Replace yaml usage with a helper to ensure unicode is handled properly
Without allow_unicode=True, unicode characters are processed through the
str representer and on Python 2 are dumped as a Unicode code point (i.e.
a literal \u0414). This commit makes allow_unicode=True the default in
our salt.utils.yamlloader.safe_dump() helper. It also adds a new
salt.utils.yamlloader.dump() helper which wraps yaml.dump() and also
makes allow_unicode=True the default.

To make importing and using our custom yaml loader/dumper easier, a
convenience module called salt.utils.yaml has been added, which does a
wildcard import from both salt.utils.yamldumper and
salt.utils.yamlloader.

Refs to yaml.load/dump and yaml.safe_load/safe_dump have been updated to
salt.utils.yaml, to ensure that unicode is handled properly.
2018-01-03 14:14:21 -06:00
..
auth/all remove Stormpath module, states and docs 2017-08-14 16:03:00 -06:00
beacons/all merge upstream develop 2017-09-27 14:26:32 -06:00
cache/all Merge pull request #41142 from FedericoCeratto/mysql_cache 2017-05-30 10:59:32 -05:00
cli Merge branch '2017.7' into 'develop' 2017-11-13 12:27:59 -05:00
clients 2015.8.8 release docs 2016-03-23 14:00:30 -06:00
clouds/all add docs for openstack driver 2017-12-05 16:09:31 -07:00
configuration split out publishing to ssh minions 2017-12-28 07:49:06 -07:00
engines/all Add napalm_syslog autodoc 2017-03-31 16:03:16 +00:00
executors Executors documentation. 2017-05-15 11:41:00 +03:00
file_server document clouds dynamic directory 2017-05-07 20:30:20 -06:00
grains/all add option required for metadata server grains 2016-11-17 10:12:43 -06:00
internals Add a section on updating the fileserver 2017-04-04 13:06:45 -05:00
modules Merge branch '2017.7' into 'develop' 2017-11-22 12:36:03 -05:00
netapi/all Move the local TOC up since it's such a large docstring 2017-05-12 12:03:26 -06:00
output/all Merge branch '2016.11' into 'develop' 2017-02-01 16:36:45 -07:00
pillar Add new documenation file references to build system for 2017.7 2017-06-16 21:17:33 +00:00
proxy/all Add new documenation file references to build system for 2017.7 2017-06-16 21:17:33 +00:00
queues/all Adds new Understanding Jinja topic, and fixes several Jinja doc issues. 2016-06-13 18:30:42 -06:00
renderers Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
returners Replace json module usage with a helper to ensure unicode content is handled properly 2017-12-27 09:30:58 -06:00
roster/all Adds new Understanding Jinja topic, and fixes several Jinja doc issues. 2016-06-13 18:30:42 -06:00
runners merge upstream develop 2017-09-27 14:26:32 -06:00
sdb/all Add autodoc modules for new files in nitrogen 2017-04-11 19:31:33 +00:00
serializers/all Adds new Understanding Jinja topic, and fixes several Jinja doc issues. 2016-06-13 18:30:42 -06:00
states Add retcode documentation to orchestrate docs 2017-11-29 10:20:22 -06:00
thorium/all Add a bunch of missing doc module references 2017-01-31 15:12:34 -07:00
tops Remove repeated words in docs (#37871) 2016-11-23 14:53:17 -07:00
wheel/all Adds new Understanding Jinja topic, and fixes several Jinja doc issues. 2016-06-13 18:30:42 -06:00
index.rst Merge branch '2017.7' into 'oxygen' 2017-12-21 15:58:08 -05:00
peer.rst Update Nitrogen references to 2017.7.0 in doc/* 2017-06-14 11:36:06 -06:00
publisheracl.rst Support regex in publisher_acl. 2017-09-18 18:38:44 +03:00
python-api.rst