<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to source_docs_howto</title><link>https://sourceforge.net/p/fldigi/wiki/source_docs_howto/</link><description>Recent changes to source_docs_howto</description><atom:link href="https://sourceforge.net/p/fldigi/wiki/source_docs_howto/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 11 Aug 2021 12:06:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/fldigi/wiki/source_docs_howto/feed" rel="self" type="application/rss+xml"/><item><title>source_docs_howto modified by David Freese</title><link>https://sourceforge.net/p/fldigi/wiki/source_docs_howto/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,6 +1,7 @@
 ## Generating the Doxygen Source Documentation

 Within the Fldigi git repository is a script that generates a ​Doxygen interactive HTML website by analyzing the source code of Fldigi. 
+
 The script does not exist in the regularly used tar.gz file, so the full source must be downloaded. eg;

 git clone git://git.code.sf.net/p/fldigi/fldigi fldigi.git
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Freese</dc:creator><pubDate>Wed, 11 Aug 2021 12:06:50 -0000</pubDate><guid>https://sourceforge.netd282e18f324f4716ea7582ad84eea2d604c7aafb</guid></item><item><title>source_docs_howto modified by David Freese</title><link>https://sourceforge.net/p/fldigi/wiki/source_docs_howto/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,6 +1,13 @@
 ## Generating the Doxygen Source Documentation

-Within the Fldigi git repository is a script that generates a ​Doxygen interactive HTML website by analyzing the source code of Fldigi. Additionally, the tool ​cppcheck is run to check-for and report code issues. The cppcheck results are included on the Doxygen main-page. Currently these instructions only cover setup on Linux and OSX.
+Within the Fldigi git repository is a script that generates a ​Doxygen interactive HTML website by analyzing the source code of Fldigi. 
+The script does not exist in the regularly used tar.gz file, so the full source must be downloaded. eg;
+
+git clone git://git.code.sf.net/p/fldigi/fldigi fldigi.git
+
+(This is the same command on the user documentation howto at https://sourceforge.net/p/fldigi/wiki/user_docs_howto) 
+
+Additionally, the tool ​cppcheck is run to check-for and report code issues. The cppcheck results are included on the Doxygen main-page. Currently these instructions only cover setup on Linux and OSX.

 Please note: this code-analysis and documentation-generation time takes longer than compiling Fldigi and will require 2.0GB of free disk-space.
 ### Installing Dependencies
@@ -35,7 +42,7 @@
 ####  Running the Script
 Once the support programs are installed run the script fldigi/scripts/doxygen/gen_doxygen_docs.sh This will generate the Doxygen docs in fldigi/scripts/doxygen/HTML
 ~~~
-$ cd fldigi/scripts/doxygen
+$ cd fldigi/scripts/srcdoc
 $ ./gen_doxygen_docs.sh run
 ~~~
 After Doxygen generation and cppcheck analysis is complete, the script will attempt to open the main HTML page in the systems default web-browser. If for some reason this does not work, manually open the main-page file at fldigi/scripts/doxygen/HTML/index.html
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Freese</dc:creator><pubDate>Wed, 11 Aug 2021 12:05:59 -0000</pubDate><guid>https://sourceforge.net3abf60c1ada49bbc965cb0c2d0b2546085650444</guid></item><item><title>source_docs_howto modified by David Freese</title><link>https://sourceforge.net/p/fldigi/wiki/source_docs_howto/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="generating-the-doxygen-source-documentation"&gt;Generating the Doxygen Source Documentation&lt;/h2&gt;
&lt;p&gt;Within the Fldigi git repository is a script that generates a ​Doxygen interactive HTML website by analyzing the source code of Fldigi. Additionally, the tool ​cppcheck is run to check-for and report code issues. The cppcheck results are included on the Doxygen main-page. Currently these instructions only cover setup on Linux and OSX.&lt;/p&gt;
&lt;p&gt;Please note: this code-analysis and documentation-generation time takes longer than compiling Fldigi and will require 2.0GB of free disk-space.&lt;/p&gt;
&lt;h3 id="installing-dependencies"&gt;Installing Dependencies&lt;/h3&gt;
&lt;p&gt;To successfully execute the fldigi/scripts/doxygen/gen_doxygen_docs.sh script a few programs must first be installed on the local system:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;doxygen&lt;/span&gt;
&lt;span class="n"&gt;dot&lt;/span&gt;
&lt;span class="n"&gt;mscgen&lt;/span&gt;
&lt;span class="n"&gt;cppcheck&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;To check if these are installed run:&lt;br/&gt;
 ''$ which doxygen; which dot; which mscgen; which cppcheck''&lt;br/&gt;
This will return a list of where the binaries are installed:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opt&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;doxygen&lt;/span&gt;
&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opt&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dot&lt;/span&gt;
&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opt&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mscgen&lt;/span&gt;
&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opt&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;cppcheck&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;If all 4 required programs are in the returned list, skip to Running the Script.&lt;/p&gt;
&lt;p&gt;Otherwise continue with Setup&lt;/p&gt;
&lt;h4 id="setup"&gt;Setup&lt;/h4&gt;
&lt;p&gt;Execute the command below in a terminal window to install the needed support programs on Debian, Ubuntu, and Debian derivatives.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;apt&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="k"&gt;get&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="n"&gt;doxygen&lt;/span&gt; &lt;span class="n"&gt;graphviz&lt;/span&gt; &lt;span class="n"&gt;mscgen&lt;/span&gt; &lt;span class="n"&gt;cppcheck&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;For Apple OSX systems, easiest way to install the required support programs on OSX is by using ​MacPorts. Execute the command below in a terminal window to install the needed support programs OSX (after installing Macports)&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;port&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="n"&gt;doxygen&lt;/span&gt; &lt;span class="n"&gt;graphviz&lt;/span&gt; &lt;span class="n"&gt;mscgen&lt;/span&gt; &lt;span class="n"&gt;cppcheck&lt;/span&gt; &lt;span class="n"&gt;gitstats&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;h4 id="running-the-script"&gt;Running the Script&lt;/h4&gt;
&lt;p&gt;Once the support programs are installed run the script fldigi/scripts/doxygen/gen_doxygen_docs.sh This will generate the Doxygen docs in fldigi/scripts/doxygen/HTML&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;$ &lt;span class="nb"&gt;cd&lt;/span&gt; fldigi/scripts/doxygen
$ ./gen_doxygen_docs.sh run
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;After Doxygen generation and cppcheck analysis is complete, the script will attempt to open the main HTML page in the systems default web-browser. If for some reason this does not work, manually open the main-page file at fldigi/scripts/doxygen/HTML/index.html&lt;/p&gt;
&lt;h4 id="cleaning-up"&gt;Cleaning Up&lt;/h4&gt;
&lt;p&gt;To delete all files generated by the gen_doxygen_docs.sh script execute the "clean action"&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gen_doxygen_docs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt; &lt;span class="n"&gt;clean&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Freese</dc:creator><pubDate>Thu, 07 May 2020 19:02:19 -0000</pubDate><guid>https://sourceforge.net3c0aa882362a34c5a7768ed4df97314576b94ae9</guid></item></channel></rss>