Skip to content

Commit 06b12e6

Browse files
committed
Add usage information for menu, quick build dialog, & dist names cache dialog
1 parent 361eabe commit 06b12e6

File tree

4 files changed

+110
-1
lines changed

4 files changed

+110
-1
lines changed

help/usage.html

+110-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ <h1 class="header">Contents</h1>
3434
<li><a href="#debreates-role">Debreate's Role</a></li>
3535
</ul>
3636
<li><a href="#ui">Debreate's UI</a></li>
37+
<ul>
38+
<li><a href="#ui-startup">Startup</a></li>
39+
<li><a href="#ui-menu">Menu</a></li>
40+
</ul>
3741
<li><a href="#control">Control File</a></li>
3842
<li><a href="#depends">Dependencies &amp; Conflicts</a></li>
3943
<li><a href="#files">Files</a></li>
@@ -42,6 +46,11 @@ <h1 class="header">Contents</h1>
4246
<li><a href="#copyright">Copyright</a></li>
4347
<li><a href="#menu">Menu</a></li>
4448
<li><a href="#build">Build</a></li>
49+
<li><a href="#dialogs">Dialogs</a></li>
50+
<ul>
51+
<li><a href="#dialog-quickbuild">Quick Build</a></li>
52+
<li><a href="#dialog-distnames">Update Dist Names Cache</a></li>
53+
</ul>
4554
</ul>
4655
</div>
4756

@@ -113,7 +122,37 @@ <h2 class="header" id="ui-startup">Startup</h2>
113122

114123
<a class="app-screen" href="/res/screenshot/01-information.png"></a>
115124

116-
<p><em>TODO: menu &amp; dialogs information</em></p>
125+
<h2 class="header" id="ui-menu">Menu</h2>
126+
<p>Description of menu options:</p>
127+
<ul>
128+
<li>File:</li>
129+
<ul>
130+
<li><b>New project:</b> Clears all fields.</li>
131+
<li><b>Open:</b> Opens a dialog to load a project file.</li>
132+
<li><b>Save:</b> Exports the current state to project file.</li>
133+
<li><b>Save as:</b> Opens a dialog to export the current state to project file.</li>
134+
<li><b>Quick Build:</b> Opens the <a href="#dialog-quickbuild">Quick Build dialog</a>.</li>
135+
<li><b>Close:</b> Close the application.</li>
136+
</ul>
137+
<li><b>Page:</b> Navigate between pages of the application.</li>
138+
<li><b>Options:</b></li>
139+
<ul>
140+
<li><b>Show tooltips:</b> Toggle information tooltips.</li>
141+
<li><b>Open logs directory:</b> Attempts to open Debreate's log directory in system
142+
file manager.</li>
143+
<li><b>Update dist names cache:</b> Opens <a href="#dialog-distnames">Update Dist Names
144+
Cache dialog</a>.</li>
145+
<li><b>Clear local cache:</b> Deletes the <tt>${HOME}/.local/debreate/cache</tt>
146+
directory.</li>
147+
</ul>
148+
<li><b>Help:</b></li>
149+
<ul>
150+
<li><b>Check for update:</b> Checks if a new version is available.</li>
151+
<li><b>Reference:</b> Links to help &amp; reference pages.</li>
152+
<li><b>Manual:</b> Opens Debreate usage manual.</li>
153+
<li><b>About:</b> Opens a dialog with information about Debreate.</li>
154+
</ul>
155+
</ul>
117156
</div>
118157

119158
<a name="control"></a>
@@ -399,6 +438,76 @@ <h1 class="header"><a href="#toc-box">Build</a></h1>
399438
</ul>
400439
</div>
401440

441+
<div class="box" id="dialogs">
442+
<h1 class="header"><a href="#toc">Dialogs</a></h1>
443+
444+
<h2 class="header" id="dialog-quickbuild">Quick Build</h2>
445+
<p>
446+
The Quick Build dialog can be used to build a .deb package using a pre-formatted directory
447+
tree. The directory must include a top-level <tt>DEBIAN</tt> directory containing meta
448+
information for the package.
449+
</p>
450+
451+
<a class="app-screen" href="/res/screenshot/dialog-quickbuild.png"></a>
452+
453+
<p><b>Fields</b></p>
454+
<ul>
455+
<li><b>Staged directory tree:</b> Location of directory tree.</li>
456+
<li><b>Target file:</b> Filename of package to be created.</li>
457+
<li><img src="/res/button/exit.png" title="exit"><b>:</b> Closes the dialog.</li>
458+
<li><img src="/res/button/build.png" title="build"><b>:</b> Begin building.</li>
459+
</ul>
460+
461+
<h2 class="header" id="dialog-distnames">Update Dist Names Cache</h2>
462+
<p>
463+
The dist names cache is used for updating the list of available distributions on the
464+
changelog page. Distribution names are parsed from the system's <tt>/etc/lsb-release</tt>
465+
file. Updating the cache adds additional names using predefined standards or from remote
466+
sources for Ubuntu, Debian, &amp; Linux Mint <em>(broken)</em>.
467+
</p>
468+
469+
<a class="app-screen" href="/res/screenshot/dialog-distnames.png"></a>
470+
471+
<p>By default the following is included for each system:</p>
472+
<ul>
473+
<li><b>Debian:</b> <em>(remote source: <a href="https://wiki.debian.org/DebianReleases">
474+
wiki.debian.org/DebianReleases</a>)</em></li>
475+
<ul>
476+
<li>The current production release.</li>
477+
</ul>
478+
<li><b>Ubuntu:</b> <em>(remote source: <a href="https://wiki.ubuntu.com/Releases">
479+
wiki.ubuntu.com/Releases</a>)</em></li>
480+
<ul>
481+
<li>All currently supported LTS releases.</li>
482+
</ul>
483+
<li><b>Linux Mint:</b> <em>(remote source:
484+
<a href="https://www.linuxmint.com/download_all.php">
485+
linuxmint.com/download_all.php</a>)</em></li>
486+
<ul>
487+
<li>broken</li>
488+
</ul>
489+
</ul>
490+
491+
<p><b>Options:</b></p>
492+
<ul>
493+
<li><b>Unstable:</b></li>
494+
<ul>
495+
<li>Includes "sid" &amp; "stretch" in Debian releases.</li>
496+
<li>Includes next Ubuntu LTS release.</li>
497+
</ul>
498+
<li><b>Obsolete:</b></li>
499+
<ul>
500+
<li>Includes "oldstable" in Debian releases.</li>
501+
<li>Includes first six listed <em>end of life</em> Ubuntu releases.</li>
502+
</ul>
503+
<li><b>Generic:</b></li>
504+
<ul>
505+
<li>Includes "stable" in Debian releases. If <tt>Unstable</tt> is checked, also
506+
includes "unstable" &amp; "testing".</li>
507+
</ul>
508+
</ul>
509+
</div>
510+
402511
<div class="box center">
403512
<p><a href="#top">back to top</a></p>
404513
</div>

res/button/exit.png

1.92 KB
Loading

res/screenshot/dialog-distnames.png

12.1 KB
Loading

res/screenshot/dialog-quickbuild.png

11.6 KB
Loading

0 commit comments

Comments
 (0)