Skip to content

Instantly share code, notes, and snippets.

@fenollp
Created March 24, 2016 20:59
Show Gist options
  • Save fenollp/b00799276c71903872e0 to your computer and use it in GitHub Desktop.
Save fenollp/b00799276c71903872e0 to your computer and use it in GitHub Desktop.
diff --git a/common_test/ct.html b/common_test/ct.html
index 8e53182..4687893 100644
--- a/common_test/ct.html
+++ b/common_test/ct.html
@@ -51,10 +51,7 @@
<item><p>Whatever added by <code>init_per_suite/1</code> or
<code>init_per_testcase/2</code> in the test suite.</p></item>
</list></div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-handle">handle() = handle() (see module ct_gen_conn) | term()</h3></div>
- <div class="type"><h3 id="type-target_name">target_name() = var_name()</h3></div>
- <div class="type"><h3 id="type-var_name">var_name() = atom()</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="abort_current_testcase/1">abort_current_testcase(Reason) -&gt; ok | {error, ErrorReason}</h3>
diff --git a/common_test/ct_ftp.html b/common_test/ct_ftp.html
index 16229b2..506ad08 100644
--- a/common_test/ct_ftp.html
+++ b/common_test/ct_ftp.html
@@ -31,9 +31,7 @@
<div class="description">
<p>FTP client module (based on the FTP support of the INETS application).
</p></div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-connection">connection() = handle() | target_name() (see module ct)</h3></div>
- <div class="type"><h3 id="type-handle">handle() = handle() (see module ct_gen_conn)</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="cd/2">cd(Connection, Dir) -&gt; ok | {error, Reason}</h3>
diff --git a/common_test/ct_snmp.html b/common_test/ct_snmp.html
index 9354d9a..1d5b082 100644
--- a/common_test/ct_snmp.html
+++ b/common_test/ct_snmp.html
@@ -129,32 +129,7 @@ OTP snmp manager directly.</p>
<code>config</code> parameter). This set of defaults will be
merged with the parameters specified by the user, and user values
override <code>ct_snmp</code> defaults.</p></div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-agent_config">agent_config() = {Item, Value}</h3></div>
- <div class="type"><h3 id="type-agent_ip">agent_ip() = ip()</h3></div>
- <div class="type"><h3 id="type-agent_name">agent_name() = atom()</h3></div>
- <div class="type"><h3 id="type-agent_port">agent_port() = integer()</h3></div>
- <div class="type"><h3 id="type-call_back_module">call_back_module() = atom()</h3></div>
- <div class="type"><h3 id="type-error_index">error_index() = integer()</h3></div>
- <div class="type"><h3 id="type-error_status">error_status() = noError | atom()</h3></div>
- <div class="type"><h3 id="type-ip">ip() = string() | {integer(), integer(), integer(), integer()}</h3></div>
- <div class="type"><h3 id="type-manager_ip">manager_ip() = ip()</h3></div>
- <div class="type"><h3 id="type-oid">oid() = [byte()]</h3></div>
- <div class="type"><h3 id="type-oids">oids() = [oid()]</h3></div>
- <div class="type"><h3 id="type-rel_path">rel_path() = string()</h3></div>
- <div class="type"><h3 id="type-sec_type">sec_type() = none | minimum | semi</h3></div>
- <div class="type"><h3 id="type-snmp_app_agent_params">snmp_app_agent_params() = term()</h3></div>
- <div class="type"><h3 id="type-snmp_app_manager_params">snmp_app_manager_params() = term()</h3></div>
- <div class="type"><h3 id="type-snmpreply">snmpreply() = {error_status(), error_index(), varbinds()}</h3></div>
- <div class="type"><h3 id="type-user_data">user_data() = term()</h3></div>
- <div class="type"><h3 id="type-user_name">user_name() = atom()</h3></div>
- <div class="type"><h3 id="type-usm_config">usm_config() = {Item, Value}</h3></div>
- <div class="type"><h3 id="type-usm_user_name">usm_user_name() = string()</h3></div>
- <div class="type"><h3 id="type-value_type">value_type() = o('OBJECT IDENTIFIER') | i('INTEGER') | u('Unsigned32') | g('Unsigned32') | s('OCTET STRING')</h3></div>
- <div class="type"><h3 id="type-var_and_val">var_and_val() = {oid(), value_type(), value()}</h3></div>
- <div class="type"><h3 id="type-varbind">varbind() = term()</h3></div>
- <div class="type"><h3 id="type-varbinds">varbinds() = [varbind()]</h3></div>
- <div class="type"><h3 id="type-varsandvals">varsandvals() = [var_and_val()]</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="get_next_values/3">get_next_values(Agent, Oids, MgrAgentConfName) -&gt; SnmpReply</h3>
diff --git a/common_test/ct_ssh.html b/common_test/ct_ssh.html
index 6dfc566..038f1c3 100644
--- a/common_test/ct_ssh.html
+++ b/common_test/ct_ssh.html
@@ -62,10 +62,7 @@
<p>All timeout parameters in ct_ssh functions are values in
milliseconds.</p>
</div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-connection">connection() = handle() | target_name() (see module ct)</h3></div>
- <div class="type"><h3 id="type-handle">handle() = handle() (see module ct_gen_conn)</h3></div>
- <div class="type"><h3 id="type-ssh_sftp_return">ssh_sftp_return() = term()</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="apread/4">apread(SSH, Handle, Position, Length) -&gt; Result</h3>
diff --git a/common_test/ct_telnet.html b/common_test/ct_telnet.html
index 2df51b2..ef70bce 100644
--- a/common_test/ct_telnet.html
+++ b/common_test/ct_telnet.html
@@ -126,11 +126,7 @@ like this:</p>
<pre class="sh_erlang"> suite() -&gt;
[{ct_hooks, [{cth_conn_log, []}]}].</pre><p>
</p></div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-connection">connection() = handle() | {target_name() (see module ct), connection_type()} | target_name() (see module ct)</h3></div>
- <div class="type"><h3 id="type-connection_type">connection_type() = telnet | ts1 | ts2</h3></div>
- <div class="type"><h3 id="type-handle">handle() = handle() (see module ct_gen_conn)</h3></div>
- <div class="type"><h3 id="type-prompt_regexp">prompt_regexp() = string()</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="close/1">close(Connection) -&gt; ok | {error, Reason}</h3>
diff --git a/edoc/edoc.html b/edoc/edoc.html
index 57b8dbc..2fc90d0 100644
--- a/edoc/edoc.html
+++ b/edoc/edoc.html
@@ -36,12 +36,7 @@
<item><p><a href="chapter.html" class="seealso">EDoc User Manual</a></p></item>
<item><p><a href="chapter.html#Running_EDoc" class="seealso">Running EDoc</a></p></item>
</list></div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-comment">comment() = {Line, Column, Indentation, Text}</h3></div>
- <div class="type"><h3 id="type-edoc_module">edoc_module()</h3></div>
- <div class="type"><h3 id="type-filename">filename() = filename() (see module //kernel/file)</h3></div>
- <div class="type"><h3 id="type-proplist">proplist() = [term()]</h3></div>
- <div class="type"><h3 id="type-syntaxTree">syntaxTree() = syntaxTree() (see module //syntax_tools/erl_syntax)</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="application/1">application(Application::atom()) -&gt; ok</h3>
diff --git a/edoc/edoc_doclet.html b/edoc/edoc_doclet.html
index 05c1b0b..359766b 100644
--- a/edoc/edoc_doclet.html
+++ b/edoc/edoc_doclet.html
@@ -30,11 +30,7 @@
<h2 class="modsummary">Standard doclet module for EDoc.</h2>
<div class="description">
<p>Standard doclet module for EDoc.</p></div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-doclet_gen">doclet_gen() = #doclet_gen{sources=[string()], app=no_app() | atom(), modules=[atom()]}</h3></div>
- <div class="type"><h3 id="type-doclet_toc">doclet_toc() = #doclet_gen{paths=[string()], indir=string()}</h3></div>
- <div class="type"><h3 id="type-edoc_context">edoc_context() = #context{dir=string(), env=edoc_env() (see module edoc_lib), opts=[term()]}</h3></div>
- <div class="type"><h3 id="type-no_app">no_app()</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="run/1">run(Command::doclet_gen() | doclet_toc(), Ctxt::edoc_context()) -&gt; ok</h3>
diff --git a/edoc/edoc_extract.html b/edoc/edoc_extract.html
index b5158a2..8981c06 100644
--- a/edoc/edoc_extract.html
+++ b/edoc/edoc_extract.html
@@ -30,12 +30,7 @@
<h2 class="modsummary">EDoc documentation extraction.</h2>
<div class="description">
<p>EDoc documentation extraction.</p></div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-edoc_env">edoc_env() = edoc_env() (see module edoc_lib)</h3></div>
- <div class="type"><h3 id="type-filename">filename() = filename() (see module file)</h3></div>
- <div class="type"><h3 id="type-proplist">proplist() = property() (see module proplists)</h3></div>
- <div class="type"><h3 id="type-syntaxTree">syntaxTree() = syntaxTree() (see module erl_syntax)</h3></div>
- <div class="type"><h3 id="type-t">t() = t1()</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="file/1">file(File::filename(), Context, Env::edoc_env(), Options::proplist()) -&gt; {ok, Tags} | {error, Reason}</h3>
diff --git a/edoc/edoc_lib.html b/edoc/edoc_lib.html
index 3712928..4489ffe 100644
--- a/edoc/edoc_lib.html
+++ b/edoc/edoc_lib.html
@@ -30,9 +30,7 @@
<h2 class="modsummary">Utility functions for EDoc.</h2>
<div class="description">
<p>Utility functions for EDoc.</p></div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-edoc_env">edoc_env()</h3></div>
- <div class="type"><h3 id="type-proplist">proplist() = property() (see module proplists)</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="get_doc_env/3">get_doc_env(App, Modules, Options::proplist()) -&gt; edoc_env()</h3>
diff --git a/percept/egd.html b/percept/egd.html
index 5159098..77dbc32 100644
--- a/percept/egd.html
+++ b/percept/egd.html
@@ -35,7 +35,6 @@
<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
<div class="type"><h3 id="type-color">color() = {float(), float(), float(), float()}</h3></div>
<div class="type"><h3 id="type-egd_image">egd_image() = pid()</h3></div>
- <div class="type"><h3 id="type-font">font()</h3></div>
<div class="type"><h3 id="type-point">point() = {integer() &gt;= 0, integer() &gt;= 0}</h3></div>
<div class="type"><h3 id="type-render_option">render_option() = <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{render_engine, opaque} | {render_engine, alpha}</h3></div></div>
diff --git a/syntax_tools/erl_syntax_lib.html b/syntax_tools/erl_syntax_lib.html
index d766ab7..2b5f3f9 100644
--- a/syntax_tools/erl_syntax_lib.html
+++ b/syntax_tools/erl_syntax_lib.html
@@ -44,9 +44,7 @@
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;imports |<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module |<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;records |<br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;warnings</h3></div>
- <div class="type"><h3 id="type-ordset">ordset(T) = ordset(T) (see module //stdlib/ordsets)</h3></div>
- <div class="type"><h3 id="type-syntaxTree">syntaxTree() = syntaxTree() (see module erl_syntax)</h3></div></div>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;warnings</h3></div></div>
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="analyze_application/1">analyze_application(Node::syntaxTree()) -&gt; FunctionName | Arity</h3>
diff --git a/xmerl/xmerl_scan.html b/xmerl/xmerl_scan.html
index 350ee03..5fc9442 100644
--- a/xmerl/xmerl_scan.html
+++ b/xmerl/xmerl_scan.html
@@ -36,10 +36,7 @@
It returns records of the type defined in xmerl.hrl.
See also <url href="xmerl_examples.html">tutorial</url> on customization
functions.</p></div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-document">document() = xmlElement() | xmlDocument()</h3></div>
- <div class="type"><h3 id="type-global_state">global_state()</h3></div>
- <div class="type"><h3 id="type-option_list">option_list()</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="accumulate_whitespace/1">accumulate_whitespace(T::string(), S::global_state(), X3::atom(), Acc::string()) -&gt; {Acc, T1, S1}</h3>
diff --git a/xmerl/xmerl_xpath.html b/xmerl/xmerl_xpath.html
index 0736266..a7ce061 100644
--- a/xmerl/xmerl_xpath.html
+++ b/xmerl/xmerl_xpath.html
@@ -51,9 +51,7 @@
xmerl_xpath_parse:parse(xmerl_xpath_scan:tokens("parent::processing-instruction('foo')")).
</pre>
</div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-nodeEntity">nodeEntity() = xmlElement() | xmlAttribute() | xmlText() | xmlPI() | xmlComment() | xmlNsNode() | xmlDocument()</h3></div>
- <div class="type"><h3 id="type-option_list">option_list()</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="string/2">string(Str, Doc) -&gt; [docEntity()] | Scalar</h3>
diff --git a/xmerl/xmerl_xsd.html b/xmerl/xmerl_xsd.html
index 79b0fe7..dfe14e7 100644
--- a/xmerl/xmerl_xsd.html
+++ b/xmerl/xmerl_xsd.html
@@ -35,9 +35,7 @@
of XML Schema second edition 28 october 2004. For an introduction to
XML Schema study <url href="http://www.w3.org/TR/xmlschema-0/">part 0.</url>
An XML structure is validated by xmerl_xsd:validate/[2,3].</p></div>
-<div id="types" class="category"><h4><a href="#types">Types</a></h4><hr/>
- <div class="type"><h3 id="type-global_state">global_state()</h3></div>
- <div class="type"><h3 id="type-option_list">option_list()</h3></div></div>
+
<div id="functions" class="category"><h4><a href="#functions">Functions</a></h4><hr/>
<div class="function">
<h3 id="file2state/1">file2state(FileName) -&gt; {ok, State} | {error, Reason}</h3>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment