Skip to content

Commit

Permalink
Updated docs (#462)
Browse files Browse the repository at this point in the history
* Update documentation

* Mention dropping folders in Projects pane.
* Add info on adding "setarch x86" to build commands in project
  settings.
* Mention status bar in Appearance menu and overview in the quick
  start ReadMe page.
* Rename "Output pane" to "Info pane", incl. screenshot file names.
* Add "Go to symbol" to Outline context menu.
* Add search panel in "Search results" tab of the Info pane.
* Add "Run" pop-up menu to "Console bar".
* Add "Appearance" section to Genio settings.
* Add "Build file path" in Project settings.
* Remove "Defaults" button in Project settings screenshots.
* Add "Set active" in Project menu.

* Docs: Proper legend for overview screenshot

Put a proper legend for the numbered sections of the overview
screenshot below the image. Link to sections of the docs.

* Docs: Optimizing PNGs

Saving ~40% on filesize by virtually invisible lossy PNG compression
with:

	pngquant --force --output "${!i}" --speed 1 --nofs --quality 90
	oxipng -o max -a -p -s
  • Loading branch information
humdingerb authored Dec 13, 2024
1 parent f5881d8 commit 3808c9f
Show file tree
Hide file tree
Showing 78 changed files with 55 additions and 20 deletions.
Binary file modified .genio
Binary file not shown.
11 changes: 10 additions & 1 deletion documentation/ReadMe.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,19 @@ <h1>Genio's User Documentation</h1>

<h1>Quick start</h1>

<p>For orientation, let's start with a quick overview of Genio's main window, with its <span class="menu">Projects</span> pane to the left (1), <span class="menu">Output</span> pane at the bottom (2), the <span class="menu">Outline</span> pane at the right (3), the <span class="menu">Editor</span> view in the middle (4), and <span class="menu">Menu and Toolbar</span> at the top (5).</p>
<p>For orientation, let's start with a quick overview of Genio's main window:</p>

<p style="text-align:center"><img src="./images/main_window.png" style="border:none" alt="Genio's main window" /></p>

<table summary="layout" align="center">
<tr><td>① The <a href="panes.html#projects-pane"><span class="menu">Projects</span></a> pane to the left<br />
② The <a href="panes.html#info-pane"><span class="menu">Info</span></a> pane at the bottom<br />
③ The <a href="panes.html#outline-pane"><span class="menu">Outline</span></a> pane at the right</td>
<td width="100px"></td>
<td>④ The <a href="editor.html"><span class="menu">Editor</span></a> view in the middle<br />
⑤ The <a href="menus.html"><span class="menu">Menus</span></a> and <a href="toolbar.html"><span class="menu">Toolbar</span></a> at the top<br />
⑥ The <span class="menu">Statusbar</span> at the bottom</td></tr>
</table>

<h2><a id="open-project" name="open-project">Open/create a new project</a></h2>

Expand Down
Binary file modified documentation/images/editor-completion-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/editor-completion-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/editor-completion-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/editor-correction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/editor-linked_info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/editor-status.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/editor-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/genio-settings-build.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/genio-settings-editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/genio-settings-editor_find.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/genio-settings-editor_visual.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/genio-settings-general.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/genio-settings-general_startup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/genio-settings-lsp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/genio-settings-source_control.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/genio_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/icons/info-box_32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/icons/kIconBack_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/icons/kIconBuild.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/icons/kIconClean.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/icons/kIconClose.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/icons/kIconDebug.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/icons/kIconFileList.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/icons/kIconFind.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/images/icons/kIconFold_4.png
Binary file modified documentation/images/icons/kIconForward_2.png
Binary file modified documentation/images/icons/kIconLocked.png
Binary file modified documentation/images/icons/kIconRedo.png
Binary file modified documentation/images/icons/kIconReplace.png
Binary file modified documentation/images/icons/kIconRun.png
Binary file modified documentation/images/icons/kIconSave.png
Binary file modified documentation/images/icons/kIconSaveAll.png
Binary file modified documentation/images/icons/kIconShowPunctuation.png
Binary file modified documentation/images/icons/kIconTerminal.png
Binary file modified documentation/images/icons/kIconUndo.png
Binary file modified documentation/images/icons/kIconWinNav.png
Binary file modified documentation/images/icons/kIconWinOutline.png
Binary file modified documentation/images/icons/kIconWinStat.png
Binary file modified documentation/images/icons/kIconWrapLines.png
Binary file modified documentation/images/main_window.png
Binary file modified documentation/images/menus-edit.png
Binary file modified documentation/images/menus-file.png
Binary file modified documentation/images/menus-genio.png
Binary file modified documentation/images/menus-git.png
Binary file modified documentation/images/menus-project.png
Binary file modified documentation/images/menus-search.png
Binary file modified documentation/images/menus-view.png
Binary file modified documentation/images/menus-window.png
Binary file modified documentation/images/open_remote_project.png
Binary file added documentation/images/panes-info_build_log.png
Binary file added documentation/images/panes-info_console_io.png
Binary file added documentation/images/panes-info_problems.png
Binary file modified documentation/images/panes-outline.png
Binary file removed documentation/images/panes-output_build_log.png
Diff not rendered.
Binary file removed documentation/images/panes-output_console_io.png
Diff not rendered.
Binary file removed documentation/images/panes-output_problems.png
Diff not rendered.
Binary file removed documentation/images/panes-output_search_results.png
Diff not rendered.
Binary file modified documentation/images/panes-projects.png
Binary file modified documentation/images/panes-source_control.png
Binary file modified documentation/images/project-settings-build.png
Binary file modified documentation/images/project-settings-build_debug.png
Binary file modified documentation/images/project-settings-build_release.png
Binary file modified documentation/images/project-settings-general.png
Binary file modified documentation/images/project-settings-run.png
Binary file modified documentation/images/toolbar-console_bar.png
Binary file modified documentation/images/toolbar-find_bar.png
Binary file modified documentation/images/toolbar-replace_bar.png
Binary file modified documentation/images/toolbar-toolbar.png
Binary file modified documentation/images/up.png
4 changes: 3 additions & 1 deletion documentation/menus.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ <h2>

<p style="margin-top: 2.2em"><span class="menu">Open project…</span> and <span class="menu">Open remote project…</span> are described on the QuickStart page under <a href="ReadMe.html#local">Local project</a> and <a href="ReadMe.html#remote">Remote project</a>.</p>

<p>Under <span class="menu">Set active</span> you find all currently open projects. Only one can be chosen and is then the target for actions like building, cleaning or finding a string in the project.</p>

<p><span class="menu">Build project</span> and <span class="menu">Clean project</span> will build or clean the active project according to the set <span class="menu">Build mode</span>, either as "release" or "debug".</p>

<p><span class="menu">Run target</span> will launch the built binary.</p>
Expand Down Expand Up @@ -146,7 +148,7 @@ <h2>

<img src="./images/menus-window.png" class="floatleft" style="margin-bottom: 4em" alt="Window menu" />

<p style="margin-top: 2.2em">You can show/hide panes and toolbar under <span class="menu">Appearance</span>.</p>
<p style="margin-top: 2.2em">You can show/hide panes and tool- and statusbar under <span class="menu">Appearance</span>.</p>

<p>Genio's window can be made <span class="menu">Fullscreen</span> (<span class="key">ALT</span>&nbsp;<span class="key">ENTER</span>).</p>

Expand Down
38 changes: 21 additions & 17 deletions documentation/panes.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
<a href="#projects-pane">The Projects pane</a><br />
<a href="#projects-projects">┣━ Projects</a><br />
<a href="#projects-source-control">┗━ Source control</a><br />
<a href="#output-pane">The Output pane</a><br />
<a href="#output-problems">┣━ Problems</a><br />
<a href="#output-build-log">┣━ Build log</a><br />
<a href="#output-console-io">┣━ Console I/O</a><br />
<a href="#output-search-results">┗━ Search results</a><br />
<a href="#info-pane">The Info pane</a><br />
<a href="#info-problems">┣━ Problems</a><br />
<a href="#info-build-log">┣━ Build log</a><br />
<a href="#info-console-io">┣━ Console I/O</a><br />
<a href="#info-search-results">┗━ Search results</a><br />
<a href="#outline-pane">The Outline pane</a>
</td></tr>
</tbody></table>

<h1>The Panes</h1>

<p>Genio's main window contains three panes besides the toolbar and the editor view: The Projects pane on the left, the Outline pane on the right, and the Output pane at the bottom. They can be toggled on and off with the first three icons in the toolbar, or from the menu <span class="menu">Window|Appearance</span>.</p>
<p>Genio's main window contains three panes besides the toolbar and the editor view: The Projects pane on the left, the Outline pane on the right, and the Info pane at the bottom. They can be toggled on and off with the first three icons in the toolbar, or from the menu <span class="menu">Window|Appearance</span>.</p>


<h2>
Expand All @@ -67,6 +67,8 @@ <h3>
<p>A right-click on files or folders inside the project allows you to rename, delete or open a file with its preferred application, etc.</p>

<p>Double-clicking a file opens it in the editor view, if it's a text file. Filetypes unsupported by Genio get opened in their preferred application. For example, a Bookmark file opens in WebPositive and an icon in Icon-O-Matic.</p>

<p>You can drop a folder from a Tracker window onto the pane to add it as another project.</p>
<p style="clear:left"></p>


Expand All @@ -90,26 +92,26 @@ <h3>

<h2>
<a href="#"><img src="./images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="output-pane" name="output-pane">The Output pane</a></h2>
<a id="info-pane" name="info-pane">The Info pane</a></h2>

<p>The Output pane consists of four tabs: <span class="menu">Problems</span>, the <span class="menu">Build log</span>, the <span class="menu">Console I/O</span> and <span class="menu">Search results</span>.</p>
<p>The Info pane consists of four tabs: <span class="menu">Problems</span>, the <span class="menu">Build log</span>, the <span class="menu">Console I/O</span> and <span class="menu">Search results</span>.</p>


<h3>
<a href="#"><img src="./images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="output-problems" name="output-problems">Problems</a></h3>
<a id="info-problems" name="info-problems">Problems</a></h3>

<p style="text-align:center"><img src="./images/panes-output_problems.png" style="border:none" alt="Problems" /></p>
<p style="text-align:center"><img src="./images/panes-info_problems.png" style="border:none" alt="Problems" /></p>

<p>Clang is continuously analyzing the current file in the editor view and reports any problems it thinks it has found. Sometimes those are false positives and can be ignored. Often it's very helpful, however, to spot typos or missing commas etc.<br />
A right-click on a row offers to fix the issue, if possible.</p>


<h3>
<a href="#"><img src="./images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="output-build-log" name="output-build-log">Build log</a></h3>
<a id="info-build-log" name="info-build-log">Build log</a></h3>

<p style="text-align:center"><img src="./images/panes-output_build_log.png" style="border:none" alt="Build log" /></p>
<p style="text-align:center"><img src="./images/panes-info_build_log.png" style="border:none" alt="Build log" /></p>

<p>When you're building your project, the "Build log" tab pops up, showing the build process.<br />
Warnings and errors are printed in red, showing in which file, on what line and column the error was encountered. Click on it, and you're transported right to it.</p>
Expand All @@ -120,9 +122,9 @@ <h3>

<h3>
<a href="#"><img src="./images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="output-console-io" name="output-console-io">Console I/O</a></h3>
<a id="info-console-io" name="info-console-io">Console I/O</a></h3>

<p style="text-align:center"><img src="./images/panes-output_console_io.png" style="border:none" alt="Console I/O" /></p>
<p style="text-align:center"><img src="./images/panes-info_console_io.png" style="border:none" alt="Console I/O" /></p>

<p>If you execute a command from the <span class="menu">Git</span> menu, like <span class="cli">git status</span>, or choose to <span class="menu">Run console program</span> or <span class="menu">Run target</span> from the <a href="toolbar.html">Toolbar</a>, its output will appear in the "Console I/O" tab.</p>

Expand All @@ -131,12 +133,14 @@ <h3>

<h3>
<a href="#"><img src="./images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="output-search-results" name="output-search-results">Search results</a></h3>
<a id="info-search-results" name="info-search-results">Search results</a></h3>

<p style="text-align:center"><img src="./images/panes-output_search_results.png" style="border:none" alt="Search results" /></p>
<p style="text-align:center"><img src="./images/panes-info_search_results.png" style="border:none" alt="Search results" /></p>

<p>If you click the icon <span class="menu">Find in project</span> in the <a href="toolbar.html">Find bar</a>, this tab will show all the hits from all files of the currently active project. Double-click to jump to the search result.</p>

<p>To the right is a search panel that is similar to the 'Find bar'. It is in fact synced with the 'Find bar' whenever you do a <span class="menu">Find in project</span> there. The additional <span class="menu">Project</span> menu let's you select another but the currently active project as a search target.</p>


<h2>
<a href="#"><img src="./images/up.png" style="border:none;float:right" alt="index" /></a>
Expand All @@ -148,7 +152,7 @@ <h2>

<p>Double-clicking an entry jumps to it in the file currently open in the editor.</p>

<p>Right-clicking an entry, you can choose <span class="menu">Rename symbol</span> from the context menu to change the name of that symbol in the whole project.</p>
<p>Right-clicking an entry opens a context menu where <span class="menu">Go to symbol</span> does the same as a double-click and <span class="menu">Rename symbol…</span> changes the name of that symbol in the whole project.</p>
<p>For this to work correctly in all situations, you need to create a compile database file (<tt>compile_commands.json</tt>). See <a href="./settings-lsp.html">Configuring Clangd / LSP</a> on how that can be done very easily.</p>

<p style="clear:left"></p>
Expand Down
14 changes: 13 additions & 1 deletion documentation/settings-genio.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<tr class="index"><td>
<a href="#general">General</a><br />
<a href="#general_startup"> ┗━ Startup</a><br />
<a href="#general_appearance"> ┗━ Appearance</a><br />
<a href="#editor">Editor</a><br />
<a href="#editor_visual">┣━ Visual</a><br />
<a href="#editor_find"> ┗━ Find</a><br />
Expand All @@ -43,6 +44,8 @@ <h1><a id="genio" name="genio">The Genio Settings</a></h1>

<p>From the list on the left, you choose the different settings categories.</p>

<p><span class="button">Defaults</span> will reset all settings to their defaults.</p>

<h2>
<a href="#"><img src="./images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="general" name="general">General</a></h2>
Expand Down Expand Up @@ -73,7 +76,16 @@ <h2>

<p style="text-align:center"><img src="./images/genio-settings-general_startup.png" style="border:none;padding:15px" alt="Genio settings: General / Startup" /></p>

<p>These settings determine how Genio will behave on startup: if the projects and files that were open when you last quit Genio are reloaded, and which panes etc. are to be shown by default when Genio launches.</p>
<p>These settings determine how Genio will behave on startup. You decide if the projects and files that were open when you last quit Genio are reloaded when it launches.</p>


<h2>
<a href="#"><img src="./images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="general_appearance" name="general_appearance">General / Appearance</a></h2>

<p style="text-align:center"><img src="./images/genio-settings-general_appearance.png" style="border:none;padding:15px" alt="Genio settings: General / Appearance" /></p>

<p>These settings determine Genio's default look. Besides setting which panes and bars are shown by default when Genio launches, you can also opt to <span class="menu">Use smaller icons in toolbar</span> to save precious space.</p>


<h2>
Expand Down
3 changes: 3 additions & 0 deletions documentation/settings-project.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ <h2>
<p>Here you chose to build either in <span class="menu">release</span> or <span class="menu">debug</span> mode when invoking <span class="menu">Project|Build project</span> (<span class="key">ALT</span>&nbsp;<span class="key">B</span>) or via the toolbar icon.<br />
There's also the <span class="menu">Project|Build mode</span> menu to quickly switch between the two modes.</p>

<p>You can set a <span class="menu">Build file path</span> if, for example, your Makefile isn't in the project's top folder but in a "source" subfolder.</p>

<h3>
<a href="#"><img src="./images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="project-build_release" name="project-build_release">Build / Release</a></h3>
Expand All @@ -84,6 +86,7 @@ <h3>

<p>If you haven't configured your build commands correctly, the corresponding icon in the toolbar will be inactive.</p>

<div class="box-info">If you're on 32bit Haiku and need to compile with a modern compiler instead of the default <tt>gcc 2.95</tt>, you can prepend <tt>setarch x86</tt> to the build commands so they say for example: <tt>setarch x86 make -j$(nproc)</tt>.</div>

<h3>
<a href="#"><img src="./images/up.png" style="border:none;float:right" alt="index" /></a>
Expand Down
5 changes: 5 additions & 0 deletions documentation/toolbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,13 @@ <h2>
<p style="text-align:center"><img src="./images/toolbar-console_bar.png" alt="Console bar" /></p>

<p>The text field acts like a command prompt with the active project's top folder as working directory. You can execute any command and see the output in the <a href="panes.html#console-io">Console I/O</a> tab of the output pane.</p>

<p>Hitting <span class="key">TAB</span> or <span class="key">ENTER</span> or click <span class="button">Run</span> to execute the entered command line.</p>

<p><span class="key">ESC</span> closes the Console bar.</p>

<p>Previous commands can be found in the <span class="menu">Run</span> pop-up menu.</p>

<hr />
<a href="panes.html" style="border:none;float:left">Back: Panes</a>
<a href="menus.html" style="border:none;float:right">Next: Menus</a>
Expand Down

0 comments on commit 3808c9f

Please sign in to comment.