aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-01-26 21:41:01 +0100
committerGitHub <noreply@github.com>2019-01-26 21:41:01 +0100
commitd63b534f313326c79c7b9feaf51ca0d798dd65db (patch)
tree74589afd6caa2264fab7f543de1d2a510da9b558 /scripts
parent2132bbf9199bf019602584935965c495b1dc180b (diff)
parentcd64f5abd46e24509b8650f7ecfa30d3f0152b0e (diff)
downloadrneovim-d63b534f313326c79c7b9feaf51ca0d798dd65db.tar.gz
rneovim-d63b534f313326c79c7b9feaf51ca0d798dd65db.tar.bz2
rneovim-d63b534f313326c79c7b9feaf51ca0d798dd65db.zip
Merge #9478 from justinmk/doc
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_api_vimdoc.py9
-rwxr-xr-xscripts/release.sh6
2 files changed, 9 insertions, 6 deletions
diff --git a/scripts/gen_api_vimdoc.py b/scripts/gen_api_vimdoc.py
index 4e86f15b37..515964bfe8 100755
--- a/scripts/gen_api_vimdoc.py
+++ b/scripts/gen_api_vimdoc.py
@@ -158,9 +158,12 @@ def doc_wrap(text, prefix='', width=70, func=False):
lines[-1] += part
return '\n'.join(x.rstrip() for x in lines).rstrip()
- return '\n'.join(textwrap.wrap(text.strip(), width=width,
- initial_indent=prefix,
- subsequent_indent=indent_space))
+ tw = textwrap.TextWrapper(break_long_words = False,
+ break_on_hyphens = False,
+ width=width,
+ initial_indent=prefix,
+ subsequent_indent=indent_space)
+ return '\n'.join(tw.wrap(text.strip()))
def parse_params(parent, width=62):
diff --git a/scripts/release.sh b/scripts/release.sh
index fb266ad154..a51a6666f5 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -93,7 +93,7 @@ Next steps:
- Double-check NVIM_VERSION_* in CMakeLists.txt
- Push the tag:
git push --follow-tags
- - Empty-merge (if this is a maintenance release):
- git checkout upstream/master
- git merge -s ours upstream/release-x.y
+ - Update the 'stable' tag:
+ git push --force upstream HEAD^:refs/tags/stable
+ git fetch --tags
- Update website: index.html"