summaryrefslogtreecommitdiff
path: root/docs/naturaldocs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2018-06-21 22:47:42 -0400
committerMike Frysinger <vapier@gentoo.org>2018-06-21 22:47:42 -0400
commitfd06f7f83c5e78bf5b7f5397746b4e5ee4366250 (patch)
tree7b49e7e14c1b3a3d71cec56edf591f7a4600ee3d /docs/naturaldocs
parentaac77143ddeb561216d9fe63546d17a1d2156bae (diff)
downloadlibgd-fd06f7f83c5e78bf5b7f5397746b4e5ee4366250.tar.gz
clean up trailing whitespace/newlines
This is preparation for adding some linting checks for new commits from people. Shouldn't be any functional changes here (tests still pass!).
Diffstat (limited to 'docs/naturaldocs')
-rw-r--r--docs/naturaldocs/nobgd.pl1
-rw-r--r--docs/naturaldocs/preamble.txt8
-rw-r--r--docs/naturaldocs/project/Menu.txt11
-rwxr-xr-xdocs/naturaldocs/run_docs.sh2
4 files changed, 9 insertions, 13 deletions
diff --git a/docs/naturaldocs/nobgd.pl b/docs/naturaldocs/nobgd.pl
index e1c3462..b9186e0 100644
--- a/docs/naturaldocs/nobgd.pl
+++ b/docs/naturaldocs/nobgd.pl
@@ -55,4 +55,3 @@ sub unslurp {
or die "Error writing file '$filename'\n";
close ($fh);
}
-
diff --git a/docs/naturaldocs/preamble.txt b/docs/naturaldocs/preamble.txt
index ca2e43f..5219d29 100644
--- a/docs/naturaldocs/preamble.txt
+++ b/docs/naturaldocs/preamble.txt
@@ -62,14 +62,14 @@ program; it demonstrates additional features!)
> /* Allocate the color black (red, green and blue all minimum).
> Since this is the first color in a new image, it will
> be the background color. */
-> black = gdImageColorAllocate(im, 0, 0, 0);
+> black = gdImageColorAllocate(im, 0, 0, 0);
>
> /* Allocate the color white (red, green and blue all maximum). */
-> white = gdImageColorAllocate(im, 255, 255, 255);
->
+> white = gdImageColorAllocate(im, 255, 255, 255);
+>
> /* Draw a line from the upper left to the lower right,
> using white color index. */
-> gdImageLine(im, 0, 0, 63, 63, white);
+> gdImageLine(im, 0, 0, 63, 63, white);
>
> /* Open a file for writing. "wb" means "write binary", important
> under MSDOS, harmless under Unix. */
diff --git a/docs/naturaldocs/project/Menu.txt b/docs/naturaldocs/project/Menu.txt
index 18438bd..2ce9748 100644
--- a/docs/naturaldocs/project/Menu.txt
+++ b/docs/naturaldocs/project/Menu.txt
@@ -27,22 +27,22 @@ Format: 1.52
# --------------------------------------------------------------------------
-#
+#
# Cut and paste the lines below to change the order in which your files
# appear on the menu. Don't worry about adding or removing files, Natural
# Docs will take care of that.
-#
+#
# You can further organize the menu by grouping the entries. Add a
# "Group: [name] {" line to start a group, and add a "}" to end it.
-#
+#
# You can add text and web links to the menu by adding "Text: [text]" and
# "Link: [name] ([URL])" lines, respectively.
-#
+#
# The formatting and comments are auto-generated, so don't worry about
# neatness when editing the file. Natural Docs will clean it up the next
# time it is run. When working with groups, just deal with the braces and
# forget about the indentation and comments.
-#
+#
# --------------------------------------------------------------------------
@@ -106,4 +106,3 @@ Group: Index {
Macro Index: Macros
Type Index: Types
} # Group: Index
-
diff --git a/docs/naturaldocs/run_docs.sh b/docs/naturaldocs/run_docs.sh
index dce3072..950d66d 100755
--- a/docs/naturaldocs/run_docs.sh
+++ b/docs/naturaldocs/run_docs.sh
@@ -74,5 +74,3 @@ $(nd) --rebuild --rebuild-output --documented-only \
# And cleanup the temp files.
rm -rf Data tmp
-
-