From a08ab04831660cef85a614f3934d1430ce9d0ddd Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Sat, 11 Jul 2015 11:49:11 -0400 Subject: Format a couple more links in markdown --- README.md | 8 ++++---- mkdoc | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fc85b43..5c68b38 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ pdf.Cell(40, 10, "Hello, world") err := pdf.OutputFileAndClose("hello.pdf") ``` -See the functions in the fpdf_test.go file (shown as examples in this +See the functions in the [fpdf_test.go](https://github.com/jung-kurt/gofpdf/blob/master/fpdf_test.go) file (shown as examples in this documentation) for more advanced PDF examples. ##Errors @@ -74,8 +74,8 @@ retrieved with a call to Error(). ##Conversion Notes -This package is a relatively straightforward translation from the original [FPDF](http://www.fpdf.org/) library written in PHP (despite the caveat in the introduction to Effective -Go). The API names have been retained even though the Go idiom would suggest +This package is a relatively straightforward translation from the original [FPDF](http://www.fpdf.org/) library written in PHP (despite the caveat in the introduction to [Effective +Go](https://golang.org/doc/effective_go.html)). The API names have been retained even though the Go idiom would suggest otherwise (for example, pdf.GetX() is used rather than simply pdf.X()). The similarity of the two libraries makes the original FPDF website a good source of information. It includes a forum and FAQ. @@ -96,7 +96,7 @@ A side effect of running "go test" is the production of a number of example PDFs. These can be found in the gofpdf/pdf directory after the tests complete. Please note that these examples run in the context of a test. In order run an -example as a standalone application, you'll need to examine fpdf_test.go for +example as a standalone application, you'll need to examine [fpdf_test.go](https://github.com/jung-kurt/gofpdf/blob/master/fpdf_test.go) for some helper routines, for example exampleFilename and summary. ##Nonstandard Fonts diff --git a/mkdoc b/mkdoc index d5fdd70..8dd3850 100755 --- a/mkdoc +++ b/mkdoc @@ -9,5 +9,7 @@ cat README.md | tr '\n' '\v' | sed \ -e 's/draw2d.package.(\(https:\/\/github\.com\/llgcode\/draw2d\))/[draw2d](\1) package/g' \ -e 's/FPDF.library.(\(http:\/\/www\.fpdf\.org\/\))/[FPDF](\1) library/g' \ -e 's/original.FPDF.library/original [FPDF](http:\/\/www.fpdf.org\/) library/g' \ + -e 's/\(Effective.Go\)/[\1](https:\/\/golang.org\/doc\/effective_go.html)/g' \ + -e 's/\(fpdf_test.go\)/[\1](https:\/\/github.com\/jung-kurt\/gofpdf\/blob\/master\/fpdf_test.go)/g' \ | tr '\v' '\n' > 0 mv 0 README.md -- cgit v1.2.1-24-ge1ad