From 1736e9ca46174aba70b05da1e220e07310474f29 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 6 Nov 2015 18:30:05 +0100 Subject: Provide links in the manual viewer instead of the manual --- inst/GUI/gmkin.R | 25 +++---------------------- inst/GUI/gmkin_manual.html | 6 ------ inst/GUI/manual.html | 10 ++++++++++ 3 files changed, 13 insertions(+), 28 deletions(-) delete mode 100644 inst/GUI/gmkin_manual.html create mode 100644 inst/GUI/manual.html (limited to 'inst/GUI') diff --git a/inst/GUI/gmkin.R b/inst/GUI/gmkin.R index 7a91aef..6001ddc 100644 --- a/inst/GUI/gmkin.R +++ b/inst/GUI/gmkin.R @@ -1294,35 +1294,16 @@ plot.ftmp.savebutton <- gbutton("Save plot", cont = plot.ftmp.saveline, plot.space <- ggroup(cont = plot.gg, horizontal = FALSE, height = 18) plot.confint.gi <- gimage(NA, container = plot.gg, width = 400, height = 400) # Manual {{{2 -gmkin_manual <- readLines(system.file("GUI/gmkin_manual.html", package = "gmkin")) -gmb_start <- grep("", gmkin_manual) -gmb_end <- grep("", gmkin_manual) -gmkin_manual_body <- gmkin_manual[gmb_start:gmb_end] +manual_html <- readLines(system.file("GUI/manual.html", package = "gmkin")) -manual.gh <- ghtml(label = "Manual", paste0("
+manual.gh <- ghtml(label = "Manuals", paste0("
-", paste(gmkin_manual_body, collapse = '\n'), " +", paste(manual_html, collapse = '\n'), "
"), width = 460, cont = right) # Changes {{{2 diff --git a/inst/GUI/gmkin_manual.html b/inst/GUI/gmkin_manual.html deleted file mode 100644 index 10e0bf2..0000000 --- a/inst/GUI/gmkin_manual.html +++ /dev/null @@ -1,6 +0,0 @@ - -

For system requirements and installation instructions, please refer to the gmkin homepage.

- -

The manual can be viewed online: Manual at the gmkin homepage

diff --git a/inst/GUI/manual.html b/inst/GUI/manual.html new file mode 100644 index 0000000..5fa33a1 --- /dev/null +++ b/inst/GUI/manual.html @@ -0,0 +1,10 @@ + +

For system requirements and installation instructions, please refer to the gmkin homepage.

+ +

A local copy of the manual can be viewed as gmkin package vignette.

+ +

The mkin online documentation is here.

+ +

The R package documentation of mkin can be viewed here.

-- cgit v1.2.1