<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.codeblocks.org/index.php?action=history&amp;feed=atom&amp;title=Using_devhelp_as_a_help_viewer</id>
	<title>Using devhelp as a help viewer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.codeblocks.org/index.php?action=history&amp;feed=atom&amp;title=Using_devhelp_as_a_help_viewer"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Using_devhelp_as_a_help_viewer&amp;action=history"/>
	<updated>2026-05-25T09:22:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Using_devhelp_as_a_help_viewer&amp;diff=5141&amp;oldid=prev</id>
		<title>Franks: New page: Inspired by Using yelp as a help viewer I wanted to do the same using devhelp [http://developer.imendio.com/projects/devhelp]   wxWidgets documentation (and any other document in CHM o...</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Using_devhelp_as_a_help_viewer&amp;diff=5141&amp;oldid=prev"/>
		<updated>2007-12-18T18:46:41Z</updated>

		<summary type="html">&lt;p&gt;New page: Inspired by &lt;a href=&quot;/index.php/Using_yelp_as_a_help_viewer&quot; title=&quot;Using yelp as a help viewer&quot;&gt;Using yelp as a help viewer&lt;/a&gt; I wanted to do the same using devhelp [http://developer.imendio.com/projects/devhelp]   wxWidgets documentation (and any other document in CHM o...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Inspired by [[Using yelp as a help viewer]] I wanted to do the same using devhelp [http://developer.imendio.com/projects/devhelp] &lt;br /&gt;
&lt;br /&gt;
wxWidgets documentation (and any other document in CHM or HTB format) can be converted to devhelp format using pyhtmlhelp [http://developer.berlios.de/projects/htmlhelp/]&lt;br /&gt;
&lt;br /&gt;
== Get the devhelp launching/searching script ==&lt;br /&gt;
Copy the following script into a file named devhelp.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
# Help using Devhelp &lt;br /&gt;
&lt;br /&gt;
if [ ! -n &amp;quot;$1&amp;quot; ]&lt;br /&gt;
then&lt;br /&gt;
  devhelp  &amp;amp;&lt;br /&gt;
  exit&lt;br /&gt;
else&lt;br /&gt;
  devhelp -s $1 &amp;amp;&lt;br /&gt;
fi  &lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make the script executable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chmod +rx devhelp.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup the Help Plugin in Code::Blocks ==&lt;br /&gt;
*In Code::Blocks, goto Settings-&amp;gt;Environment-&amp;gt;Help Files&lt;br /&gt;
*Click &amp;quot;Add&amp;quot; and name your new help entry.&lt;br /&gt;
*Choose &amp;quot;Yes&amp;quot; when prompted to browse for a help file.&lt;br /&gt;
*Browse for the devhelp.sh script that you just created.&lt;br /&gt;
*Add &amp;quot; $(keyword)&amp;quot; to the end of path. Example full path: /home/user/devhelps.sh $(keyword)&lt;br /&gt;
*Check the boxes for &amp;quot;This is the default help file (shortcut: F1) and &amp;quot;This line represents a full command to be executed&amp;quot;&lt;br /&gt;
*Click &amp;quot;Ok&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now hitting F1 will open up devhelp looking for the word under the cursor.&lt;/div&gt;</summary>
		<author><name>Franks</name></author>
	</entry>
</feed>