Make the Help Browser work

This commit is contained in:
Phil Olynyk 2019-02-01 16:02:49 -05:00
parent 7006c2463f
commit 7cff24aa1b
4 changed files with 14 additions and 14 deletions

View File

@ -1,19 +1,19 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/default.css"/>
<link rel="stylesheet" type="text/css" href="./default.css"/>
</head>
<body>
<img src="qrc:/docs/sheep.png">
<h3>Contents</h3>
<list>
<li><a href="/help_en/index.html#intro">Introduction</a></li>
<li><a href="/help_en/gettingstarted.html">Getting Started</a></li>
<li><a href="/help_en/supported.html">Supported Machines</a></li>
<li><a href="/help_en/import.html">Importing CPAP Data</a></li>
<li><a href="/help_en/daily.html">Exploring the Daily View</a></li>
<li><a href="/help_en/overview.html">Exploring the Overview</a></li>
<li><a href="/help_en/statistics.html">Statistics and Trends</a></li>
<li><a href="/help_en/glossary.html">Glossary of Sleep Disorder Terminology</a></li>
<li><a href="./index.html#intro">Introduction</a></li>
<li><a href="./gettingstarted.html">Getting Started</a></li>
<li><a href="./supported.html">Supported Machines</a></li>
<li><a href="./import.html">Importing CPAP Data</a></li>
<li><a href="./daily.html">Exploring the Daily View</a></li>
<li><a href="./overview.html">Exploring the Overview</a></li>
<li><a href="./statistics.html">Statistics and Trends</a></li>
<li><a href="./glossary.html">Glossary of Sleep Disorder Terminology</a></li>
</list>
<br/>
<p href="#intro"><h1>SleepyHead</h1></p>

View File

View File

@ -137,12 +137,12 @@ for(file, TRANSLATIONS) {
}
#copy the Translation and Help files to where the test binary wants them
message("Setting up Translations & Help Transfers")
macx {
HelpFiles.files = $$files($$PWD/help/*.qch)
HelpFiles.path = Contents/Resources/Help
QMAKE_BUNDLE_DATA += TransFiles
QMAKE_BUNDLE_DATA += HelpFiles
message("Setting up Translations & Help Transfers")
} else {
DDIR = $$OUT_PWD/Translations
HELPDIR = $$OUT_PWD/Help
@ -171,11 +171,11 @@ macx {
system(mkdir -p $$quote($$HELPDIR))
system(mkdir -p $$quote($$DDIR))
for(FILE,TRANS_FILES_WIN) {
system(copy $$quote($$FILE) $$quote($$DDIR))
for(FILE,TRANS_FILES) {
system(cp $$quote($$FILE) $$quote($$DDIR))
}
for(FILE,HELP_FILES_WIN) {
system(copy $$quote($$FILE) $$quote($$HELPDIR))
for(FILE,HELP_FILES) {
system(cp $$quote($$FILE) $$quote($$HELPDIR))
}
}
}