salt/doc
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
..
_ext Adding Jinja cross ref 2017-06-19 09:49:45 +00: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' 2017-10-05 12:09:40 -04:00
.scripts Remove raw string formatting in doc/, salt/auth/, and salt/cloud/ 2015-08-24 17:48:10 -05:00
.tx Remove deprecated vsphere cloud driver in Carbon release 2016-08-05 16:16:12 -06:00
cheatsheet re-add cheatsheet do-over 2015-09-17 09:32:52 -06:00
man Fixing a typo in the troubleshooting document 2017-10-12 22:28:25 -07:00
ref Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
security
topics add enable_ssh documentation 2017-12-28 07:49:05 -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 [develop] Bump latest and previous versions 2017-09-27 12:31:20 -04:00
contents.rst Merge branch 'nitrogen' into 'develop' 2017-05-26 11:27:24 -06:00
faq.rst Fixed Jinja typo in faq.rst 2017-10-02 10:15:02 -05:00
gen_gource Remove trailing white spaces in documentation files 2016-03-01 17:36:23 +02:00
glossary.rst Merge branch '2016.11' into 'develop' 2017-02-09 10:29:40 -07: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