summaryrefslogtreecommitdiff
path: root/docs
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
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')
-rw-r--r--docs/INSTALL1
-rw-r--r--docs/README.TESTING6
-rw-r--r--docs/README.TXT2
-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
7 files changed, 13 insertions, 18 deletions
diff --git a/docs/INSTALL b/docs/INSTALL
index a1e89e1..63bf076 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -367,4 +367,3 @@ operates.
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.
-
diff --git a/docs/README.TESTING b/docs/README.TESTING
index dc621f0..ee7e4f7 100644
--- a/docs/README.TESTING
+++ b/docs/README.TESTING
@@ -25,7 +25,7 @@ export CMAKE_LIBRARY_PATH=/path/to/the/gd/lib
then call cmake using:
-$ cmake -DUSE_EXT_GD=1 -DBUILD_TEST=1
+$ cmake -DUSE_EXT_GD=1 -DBUILD_TEST=1
$ make
and finally:
@@ -33,10 +33,10 @@ $ ctest .
I will certainly add a nice CMake option to give prefix later.
-What to do if tests fail on your platform and you use the last GD release?
+What to do if tests fail on your platform and you use the last GD release?
either from your favorite distributions or from http://www.libgd.org or git?
-If you use a packaged version of the GD Library (installed from RPM, deb or
+If you use a packaged version of the GD Library (installed from RPM, deb or
ports, gentoo packages or any other packages format or distribution), please try
to run the tests using the source releases available at:
diff --git a/docs/README.TXT b/docs/README.TXT
index 39725dd..6a4d918 100644
--- a/docs/README.TXT
+++ b/docs/README.TXT
@@ -55,7 +55,7 @@ you can use the following command line options:
--with-xpm=DIR
Dto. for xpm library.
-
+
--with-tiff=DIR
Dto. for TIFF library.
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
-
-