From: Ɓukasz Langa Date: Thu, 19 Apr 2018 01:19:04 +0000 (-0700) Subject: Update documentation X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/0a340e1f227c3705ed1b0dbbbf634c98e2e82ada?ds=sidebyside Update documentation * Add "Ignore non-modified files" from the README * Add missing functions to the reference --- diff --git a/docs/ignoring_non_modified_files.md b/docs/ignoring_non_modified_files.md new file mode 120000 index 0000000..3d2c7f5 --- /dev/null +++ b/docs/ignoring_non_modified_files.md @@ -0,0 +1 @@ +_build/generated/ignoring_non_modified_files.md \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index d014ed8..df59f71 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -49,7 +49,8 @@ Contents installation_and_usage the_black_code_style editor_integration - version_control_integration + version_control_integration + ignoring_non_modified_files contributing change_log reference/reference_summary diff --git a/docs/reference/reference_functions.rst b/docs/reference/reference_functions.rst index 8e9936d..fcfe446 100644 --- a/docs/reference/reference_functions.rst +++ b/docs/reference/reference_functions.rst @@ -39,6 +39,8 @@ Formatting .. autofunction:: black.format_str +.. autofunction:: black.reformat_one + .. autofunction:: black.schedule_formatting File operations @@ -70,6 +72,17 @@ Split functions .. autofunction:: black.bracket_split_succeeded_or_raise +Caching +------- + +.. autofunction:: black.filter_cached + +.. autofunction:: black.get_cache_info + +.. autofunction:: black.read_cache + +.. autofunction:: black.write_cache + Utilities --------- @@ -85,6 +98,8 @@ Utilities .. autofunction:: black.make_comment +.. autofunction:: black.max_delimiter_priority_in_atom + .. autofunction:: black.normalize_prefix .. autofunction:: black.normalize_string_quotes