mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
User Guide Updates
* mainwindow.cpp - bumped ver# * Updated build-doc.sh: - name changes - array var for electaft - added Build Quick Reference Only option ./build-doc.sh quick-ref * Corrected file ext typo: .ado to .adoc * Started adding material to Quick Reference Guide. ** Tested all (4) build methods, no failures. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3671 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
461afef30f
commit
6ef06bc16f
@ -3,8 +3,8 @@
|
|||||||
# Description : WSJT-X Documentation build script
|
# Description : WSJT-X Documentation build script
|
||||||
# Author : KI7MT
|
# Author : KI7MT
|
||||||
# Email : ki7mt@yahoo.com
|
# Email : ki7mt@yahoo.com
|
||||||
# Date : JAN-24-2014
|
# Date : JAN-30-2014
|
||||||
# Version : 0.3
|
# Version : 0.4
|
||||||
# Usage : ./build-doc.sh [ option ]
|
# Usage : ./build-doc.sh [ option ]
|
||||||
# Notes : requires asciidoc, source-highlight
|
# Notes : requires asciidoc, source-highlight
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
@ -52,7 +52,7 @@ function build_support_pages() { # build all remaining pages
|
|||||||
echo -e ${green}'.. rig-config-main.html'${no_col}
|
echo -e ${green}'.. rig-config-main.html'${no_col}
|
||||||
|
|
||||||
# setup rig file array
|
# setup rig file array
|
||||||
declare -a subpage=('adat' 'alinco' 'aor' 'drake' 'electro' 'flexrad' 'icom' \
|
declare -a subpage=('adat' 'alinco' 'aor' 'drake' 'elecraft' 'flexrad' 'icom' \
|
||||||
'kenwood' 'softrock' 'tentec' 'yaesu')
|
'kenwood' 'softrock' 'tentec' 'yaesu')
|
||||||
|
|
||||||
# loop through rig-config pages
|
# loop through rig-config pages
|
||||||
@ -64,7 +64,10 @@ function build_support_pages() { # build all remaining pages
|
|||||||
|
|
||||||
$c_asciidoc -o rig-config-template.html $src_dir/rig-config-template.adoc
|
$c_asciidoc -o rig-config-template.html $src_dir/rig-config-template.adoc
|
||||||
echo -e ${green}'.. rig-config-template.html'${no_col}
|
echo -e ${green}'.. rig-config-template.html'${no_col}
|
||||||
|
}
|
||||||
|
|
||||||
|
function build_quick_ref() { # build quick-reference guide
|
||||||
|
echo -e ${yellow}'Building Quick Reference Guide'${no_col}
|
||||||
$c_asciidoc -a toc2 -o quick-reference.html $src_dir/quick-reference.adoc
|
$c_asciidoc -a toc2 -o quick-reference.html $src_dir/quick-reference.adoc
|
||||||
echo -e ${green}'.. quick-reference.html'${no_col}
|
echo -e ${green}'.. quick-reference.html'${no_col}
|
||||||
}
|
}
|
||||||
@ -78,19 +81,23 @@ ${no_col}${yellow}" ***\n" ${no_col}
|
|||||||
if [[ $1 = "" ]]
|
if [[ $1 = "" ]]
|
||||||
then
|
then
|
||||||
build_no_toc
|
build_no_toc
|
||||||
|
build_quick_ref
|
||||||
build_support_pages
|
build_support_pages
|
||||||
|
|
||||||
|
|
||||||
# top TOC
|
# top TOC
|
||||||
elif [[ $1 = "toc1" ]]
|
elif [[ $1 = "toc1" ]]
|
||||||
then
|
then
|
||||||
build_toc1
|
build_toc1
|
||||||
|
build_quick_ref
|
||||||
build_support_pages
|
build_support_pages
|
||||||
|
|
||||||
# left TOC
|
# left TOC
|
||||||
elif [[ $1 = "toc2" ]]
|
elif [[ $1 = "toc2" ]]
|
||||||
then
|
then
|
||||||
build_toc2
|
build_toc2
|
||||||
build_support_pages
|
build_quick_ref
|
||||||
|
build_support_pages
|
||||||
|
|
||||||
# all toc versions
|
# all toc versions
|
||||||
elif [[ $1 = "all" ]]
|
elif [[ $1 = "all" ]]
|
||||||
@ -98,8 +105,14 @@ elif [[ $1 = "all" ]]
|
|||||||
build_no_toc
|
build_no_toc
|
||||||
build_toc1
|
build_toc1
|
||||||
build_toc2
|
build_toc2
|
||||||
|
build_quick_ref
|
||||||
build_support_pages
|
build_support_pages
|
||||||
|
|
||||||
|
# quick-reference.html only
|
||||||
|
elif [[ $1 = "quick-ref" ]]
|
||||||
|
then
|
||||||
|
build_quick_ref
|
||||||
|
|
||||||
# Usage: if something other than "", toc1, toc2 or all is entered as $1 display usage
|
# Usage: if something other than "", toc1, toc2 or all is entered as $1 display usage
|
||||||
# message and exit.
|
# message and exit.
|
||||||
#
|
#
|
||||||
|
@ -14,13 +14,13 @@
|
|||||||
:asciidoc_help: http://www.methods.co.nz/asciidoc/userguide.html[ AsciiDoc User Guide ]
|
:asciidoc_help: http://www.methods.co.nz/asciidoc/userguide.html[ AsciiDoc User Guide ]
|
||||||
:asciidoc_cheatsheet: http://powerman.name/doc/asciidoc[ AsciiDoc Cheatsheet ]
|
:asciidoc_cheatsheet: http://powerman.name/doc/asciidoc[ AsciiDoc Cheatsheet ]
|
||||||
:asciidoc_questions: http://www.methods.co.nz/asciidoc/faq.html[ AsciiDoc FAQ ]
|
:asciidoc_questions: http://www.methods.co.nz/asciidoc/faq.html[ AsciiDoc FAQ ]
|
||||||
|
:cc_by_sa: http://creativecommons.org/licenses/by-sa/3.0/[ Commons Attribution-ShareAlike 3.0 Unported License ]
|
||||||
:devsvn: http://developer.berlios.de/projects/wsjt/[Devel-SVN]
|
:devsvn: http://developer.berlios.de/projects/wsjt/[Devel-SVN]
|
||||||
:download: http://physics.princeton.edu/pulsar/K1JT/wsjtx.html[ Download Page ]
|
:download: http://physics.princeton.edu/pulsar/K1JT/wsjtx.html[ Download Page ]
|
||||||
:homepage: http://physics.princeton.edu/pulsar/K1JT/[ WSJT Home Page ]
|
:homepage: http://physics.princeton.edu/pulsar/K1JT/[ WSJT Home Page ]
|
||||||
:ntpsetup: http://www.satsignal.eu/ntp/setup.html[Network Time Protocol Setup]
|
:ntpsetup: http://www.satsignal.eu/ntp/setup.html[Network Time Protocol Setup]
|
||||||
:wsjtx: http://physics.princeton.edu/pulsar/K1JT/wsjtx.html[ WSJT-X ]
|
:wsjtx: http://physics.princeton.edu/pulsar/K1JT/wsjtx.html[ WSJT-X ]
|
||||||
:page_source: ./source/quick-reference.txt[ Page Source ]
|
:page_source: ./source/quick-reference.txt[ Page Source ]
|
||||||
:cc_by_sa: http://creativecommons.org/licenses/by-sa/3.0/[ Commons Attribution-ShareAlike 3.0 Unported License ]
|
|
||||||
|
|
||||||
// mail-to links
|
// mail-to links
|
||||||
:stuart_rackman: mailto:srackham@gmail.com[ Stuart Rackham ]
|
:stuart_rackman: mailto:srackham@gmail.com[ Stuart Rackham ]
|
||||||
@ -40,20 +40,35 @@ examples can be found at:
|
|||||||
[[X2]]
|
[[X2]]
|
||||||
== Asciidoc Install
|
== Asciidoc Install
|
||||||
|
|
||||||
For WSJT-X documentation, only (2) dependencies are generally required:
|
For _WSJT-X_ documentation purposes, only (2) dependencies are generally
|
||||||
|
required:
|
||||||
|
|
||||||
* Python v2.7+
|
* Python
|
||||||
* Gnu source-highlight
|
* Source highlight
|
||||||
|
|
||||||
|
For most packages, the normal method of installation is through their
|
||||||
|
respective package manager. There are several reasons why we do not
|
||||||
|
want this for the _WSJT-X User Guide_:
|
||||||
|
|
||||||
|
** Most packaged applications are installed system-wide, which means standard
|
||||||
|
pivilaged (non Root / RootSudo) users update their binaries.
|
||||||
|
** Often times, distro packages are (1) or more revisions behind.
|
||||||
|
** Updating to the latest stable _AscciDoc_ version, using Mercurial, is a simple
|
||||||
|
one line command: _hg pull ; hg update ; hg upgrade_, or clone a new binary
|
||||||
|
set with _hg clone -r 8.6._ then re-link the new binary.
|
||||||
|
** Using $HOME makes working on the _WSJT-X User Guide_ portable, such as,
|
||||||
|
installing to a USB Key and allowing you to test build your work on virtually
|
||||||
|
any system that has _Python_ {amp}{amp} _Bash Enviroment_ installed.
|
||||||
|
|
||||||
|
// Several more items pending addition
|
||||||
|
_Further Edited Pending_
|
||||||
|
|
||||||
Each OS has its own unique method of solving the dependencies. The following
|
|
||||||
sub-sections will assist in the basic installation and setup.
|
|
||||||
|
|
||||||
[[X21]]
|
[[X21]]
|
||||||
=== Windows
|
=== Windows
|
||||||
|
|
||||||
Install Instructions:
|
Install Instructions:
|
||||||
|
|
||||||
|
|
||||||
==== Vista, Win7, Win8
|
==== Vista, Win7, Win8
|
||||||
|
|
||||||
Install Instructions:
|
Install Instructions:
|
||||||
@ -83,36 +98,29 @@ Install Instructions:
|
|||||||
Install Instructions:
|
Install Instructions:
|
||||||
|
|
||||||
[[X3]]
|
[[X3]]
|
||||||
== Code Examples
|
== How To Contribute
|
||||||
.Under Construction
|
.Under Construction
|
||||||
|
|
||||||
Code examples for frequently used itmes in WSJT-X Documentaion.
|
|
||||||
|
|
||||||
[[X31]]
|
|
||||||
=== Blocks
|
=== Blocks
|
||||||
.Under Construction
|
.Under Construction
|
||||||
|
|
||||||
Content needed.
|
Content needed.
|
||||||
|
|
||||||
[[X32]]
|
|
||||||
=== Headers
|
=== Headers
|
||||||
.Under Construction
|
.Under Construction
|
||||||
|
|
||||||
Content needed.
|
Content needed.
|
||||||
|
|
||||||
[[X33]]
|
|
||||||
=== Links
|
=== Links
|
||||||
.Under Construction
|
.Under Construction
|
||||||
|
|
||||||
Content needed.
|
Content needed.
|
||||||
|
|
||||||
[[X34]]
|
|
||||||
=== Lists
|
=== Lists
|
||||||
.Under Construction
|
.Under Construction
|
||||||
|
|
||||||
Content needed.
|
Content needed.
|
||||||
|
|
||||||
[[X35]]
|
|
||||||
=== Notes
|
=== Notes
|
||||||
.Under Construction
|
.Under Construction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user