<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css"> <title>Erlang -- edoc_doclet</title> </head> <body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container"> <script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript"> <!-- function getWinHeight() { var myHeight = 0; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myHeight = document.body.clientHeight; } return myHeight; } function setscrollpos() { var objf=document.getElementById('loadscrollpos'); document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2; } function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } addEvent(window, 'load', setscrollpos); //--></script><div id="leftnav"><div class="innertube"> <img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/edoc-0.7.6.6.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>EDoc</strong><br><strong>Reference Manual</strong><br><small>Version 0.7.6.6</small></p> <br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Table of Contents</strong></small></p> <ul class="flipMenu"> <li id="no" title="edoc " expanded="false">edoc<ul> <li><a href="edoc.html"> Top of manual page </a></li> <li title="application-1"><a href="edoc.html#application-1">application/1</a></li> <li title="application-2"><a href="edoc.html#application-2">application/2</a></li> <li title="application-3"><a href="edoc.html#application-3">application/3</a></li> <li title="file-1"><a href="edoc.html#file-1">file/1</a></li> <li title="file-2"><a href="edoc.html#file-2">file/2</a></li> <li title="files-1"><a href="edoc.html#files-1">files/1</a></li> <li title="files-2"><a href="edoc.html#files-2">files/2</a></li> <li title="get_doc-1"><a href="edoc.html#get_doc-1">get_doc/1</a></li> <li title="get_doc-2"><a href="edoc.html#get_doc-2">get_doc/2</a></li> <li title="get_doc-3"><a href="edoc.html#get_doc-3">get_doc/3</a></li> <li title="layout-1"><a href="edoc.html#layout-1">layout/1</a></li> <li title="layout-2"><a href="edoc.html#layout-2">layout/2</a></li> <li title="packages-1"><a href="edoc.html#packages-1">packages/1</a></li> <li title="packages-2"><a href="edoc.html#packages-2">packages/2</a></li> <li title="read-1"><a href="edoc.html#read-1">read/1</a></li> <li title="read-2"><a href="edoc.html#read-2">read/2</a></li> <li title="read_comments-1"><a href="edoc.html#read_comments-1">read_comments/1</a></li> <li title="read_comments-2"><a href="edoc.html#read_comments-2">read_comments/2</a></li> <li title="read_source-1"><a href="edoc.html#read_source-1">read_source/1</a></li> <li title="read_source-2"><a href="edoc.html#read_source-2">read_source/2</a></li> <li title="run-4"><a href="edoc.html#run-4">run/4</a></li> </ul> </li> <li id="loadscrollpos" title="edoc_doclet " expanded="true">edoc_doclet<ul> <li><a href="edoc_doclet.html"> Top of manual page </a></li> <li title="run-2"><a href="edoc_doclet.html#run-2">run/2</a></li> </ul> </li> <li id="no" title="edoc_extract " expanded="false">edoc_extract<ul> <li><a href="edoc_extract.html"> Top of manual page </a></li> <li title="file-4"><a href="edoc_extract.html#file-4">file/4</a></li> <li title="header-3"><a href="edoc_extract.html#header-3">header/3</a></li> <li title="header-4"><a href="edoc_extract.html#header-4">header/4</a></li> <li title="header-5"><a href="edoc_extract.html#header-5">header/5</a></li> <li title="source-3"><a href="edoc_extract.html#source-3">source/3</a></li> <li title="source-4"><a href="edoc_extract.html#source-4">source/4</a></li> <li title="source-5"><a href="edoc_extract.html#source-5">source/5</a></li> <li title="text-4"><a href="edoc_extract.html#text-4">text/4</a></li> </ul> </li> <li id="no" title="edoc_layout " expanded="false">edoc_layout<ul> <li><a href="edoc_layout.html"> Top of manual page </a></li> <li title="module-2"><a href="edoc_layout.html#module-2">module/2</a></li> <li title="overview-2"><a href="edoc_layout.html#overview-2">overview/2</a></li> <li title="package-2"><a href="edoc_layout.html#package-2">package/2</a></li> <li title="type-1"><a href="edoc_layout.html#type-1">type/1</a></li> </ul> </li> <li id="no" title="edoc_lib " expanded="false">edoc_lib<ul> <li><a href="edoc_lib.html"> Top of manual page </a></li> <li title="copy_file-2"><a href="edoc_lib.html#copy_file-2">copy_file/2</a></li> <li title="count-2"><a href="edoc_lib.html#count-2">count/2</a></li> <li title="datestr-1"><a href="edoc_lib.html#datestr-1">datestr/1</a></li> <li title="escape_uri-1"><a href="edoc_lib.html#escape_uri-1">escape_uri/1</a></li> <li title="filename-1"><a href="edoc_lib.html#filename-1">filename/1</a></li> <li title="find_doc_dirs-0"><a href="edoc_lib.html#find_doc_dirs-0">find_doc_dirs/0</a></li> <li title="find_file-3"><a href="edoc_lib.html#find_file-3">find_file/3</a></li> <li title="find_sources-2"><a href="edoc_lib.html#find_sources-2">find_sources/2</a></li> <li title="find_sources-3"><a href="edoc_lib.html#find_sources-3">find_sources/3</a></li> <li title="get_doc_env-1"><a href="edoc_lib.html#get_doc_env-1">get_doc_env/1</a></li> <li title="get_doc_env-4"><a href="edoc_lib.html#get_doc_env-4">get_doc_env/4</a></li> <li title="get_first_sentence-1"><a href="edoc_lib.html#get_first_sentence-1">get_first_sentence/1</a></li> <li title="is_name-1"><a href="edoc_lib.html#is_name-1">is_name/1</a></li> <li title="is_relative_uri-1"><a href="edoc_lib.html#is_relative_uri-1">is_relative_uri/1</a></li> <li title="is_space-1"><a href="edoc_lib.html#is_space-1">is_space/1</a></li> <li title="join_uri-2"><a href="edoc_lib.html#join_uri-2">join_uri/2</a></li> <li title="lines-1"><a href="edoc_lib.html#lines-1">lines/1</a></li> <li title="parse_contact-2"><a href="edoc_lib.html#parse_contact-2">parse_contact/2</a></li> <li title="parse_expr-2"><a href="edoc_lib.html#parse_expr-2">parse_expr/2</a></li> <li title="read_info_file-1"><a href="edoc_lib.html#read_info_file-1">read_info_file/1</a></li> <li title="run_doclet-2"><a href="edoc_lib.html#run_doclet-2">run_doclet/2</a></li> <li title="run_layout-2"><a href="edoc_lib.html#run_layout-2">run_layout/2</a></li> <li title="segment-2"><a href="edoc_lib.html#segment-2">segment/2</a></li> <li title="simplify_path-1"><a href="edoc_lib.html#simplify_path-1">simplify_path/1</a></li> <li title="split_at-2"><a href="edoc_lib.html#split_at-2">split_at/2</a></li> <li title="split_at_space-1"><a href="edoc_lib.html#split_at_space-1">split_at_space/1</a></li> <li title="split_at_stop-1"><a href="edoc_lib.html#split_at_stop-1">split_at_stop/1</a></li> <li title="strip_space-1"><a href="edoc_lib.html#strip_space-1">strip_space/1</a></li> <li title="timestr-1"><a href="edoc_lib.html#timestr-1">timestr/1</a></li> <li title="to_label-1"><a href="edoc_lib.html#to_label-1">to_label/1</a></li> <li title="transpose-1"><a href="edoc_lib.html#transpose-1">transpose/1</a></li> <li title="try_subdir-2"><a href="edoc_lib.html#try_subdir-2">try_subdir/2</a></li> <li title="unique-1"><a href="edoc_lib.html#unique-1">unique/1</a></li> <li title="uri_get-1"><a href="edoc_lib.html#uri_get-1">uri_get/1</a></li> <li title="write_file-3"><a href="edoc_lib.html#write_file-3">write_file/3</a></li> <li title="write_file-4"><a href="edoc_lib.html#write_file-4">write_file/4</a></li> <li title="write_info_file-4"><a href="edoc_lib.html#write_info_file-4">write_info_file/4</a></li> </ul> </li> <li id="no" title="edoc_run " expanded="false">edoc_run<ul> <li><a href="edoc_run.html"> Top of manual page </a></li> <li title="application-1"><a href="edoc_run.html#application-1">application/1</a></li> <li title="file-1"><a href="edoc_run.html#file-1">file/1</a></li> <li title="files-1"><a href="edoc_run.html#files-1">files/1</a></li> <li title="packages-1"><a href="edoc_run.html#packages-1">packages/1</a></li> </ul> </li> </ul> </div></div> <div id="content"> <div class="innertube"> <!-- refpage --><center><h1>edoc_doclet</h1></center> <h3>MODULE</h3> <div class="REFBODY">edoc_doclet</div> <h3>MODULE SUMMARY</h3> <div class="REFBODY">Standard doclet module for EDoc.</div> <h3>DESCRIPTION</h3> <div class="REFBODY"><p> <p>Standard doclet module for EDoc.</p></p></div> <h3><a name="id2264271">DATA TYPES</a></h3> <div class="REFBODY"> <a name="types"></a> <dl> <dt><strong><span class="code">doclet_gen() = #doclet_gen{sources=[string()], app=no_app() | atom(), packages=[atom()], modules=[atom()], modules=[atom()], filemap=function()}</span></strong></dt> <dd> <a name="type-doclet_gen"></a> </dd> <dt><strong><span class="code">doclet_toc() = #doclet_gen{paths=[string()], indir=string()}</span></strong></dt> <dd> <a name="type-doclet_toc"></a> </dd> <dt><strong><span class="code">edoc_context() = #context{dir=string(), env=edoc_env() (see module edoc_lib), opts=[term()]}</span></strong></dt> <dd> <a name="type-edoc_context"></a> </dd> <dt><strong><span class="code">no_app()</span></strong></dt> <dd> <a name="type-no_app"></a> <p>A value used to mark absence of an Erlang application context. Use the macro <span class="code">NO_APP</span> defined in <span class="bold_code"><a href="../../include/edoc_doclet.hrl">edoc_doclet.hrl</a></span> to produce this value.</p> </dd> </dl> </div> <h3>EXPORTS</h3> <p><a name="run-2"><span class="bold_code">run(Command::doclet_gen() | doclet_toc(), Ctxt::edoc_context()) -> ok</span></a><br></p> <div class="REFBODY"><p><a name="run-2"></a> <p>Main doclet entry point. See the file <span class="bold_code"><a href="../../include/edoc_doclet.hrl">edoc_doclet.hrl</a></span> for the data structures used for passing parameters.</p> <p>Also see <span class="bold_code"><a href="edoc.html#layout-2">edoc:layout/2</a></span> for layout-related options, and <span class="bold_code"><a href="edoc.html#get_doc-2">edoc:get_doc/2</a></span> for options related to reading source files.</p> <p>Options: </p><dl> <dt><strong><span class="code">{file_suffix, string()}</span> </strong></dt> <dd><p>Specifies the suffix used for output files. The default value is <span class="code">".html"</span>. </p></dd> <dt><strong><span class="code">{hidden, bool()}</span> </strong></dt> <dd><p>If the value is <span class="code">true</span>, documentation of hidden modules and functions will also be included. The default value is <span class="code">false</span>. </p></dd> <dt><strong><span class="code">{overview, edoc:filename()}</span> </strong></dt> <dd><p>Specifies the name of the overview-file. By default, this doclet looks for a file <span class="code">"overview.edoc"</span> in the target directory. </p></dd> <dt><strong><span class="code">{private, bool()}</span> </strong></dt> <dd><p>If the value is <span class="code">true</span>, documentation of private modules and functions will also be included. The default value is <span class="code">false</span>. </p></dd> <dt><strong><span class="code">{stylesheet, string()}</span> </strong></dt> <dd><p>Specifies the URI used for referencing the stylesheet. The default value is <span class="code">"stylesheet.css"</span>. If an empty string is specified, no stylesheet reference will be generated. </p></dd> <dt><strong><span class="code">{stylesheet_file, edoc:filename()}</span> </strong></dt> <dd><p>Specifies the name of the stylesheet file. By default, this doclet uses the file <span class="code">"stylesheet.css"</span> in the <span class="code">priv</span> subdirectory of the EDoc installation directory. The named file will be copied to the target directory. </p></dd> <dt><strong><span class="code">{title, string()}</span> </strong></dt> <dd><p>Specifies the title of the overview-page. </p></dd> </dl> </p></div> <h3><a name="id2264532">See also</a></h3> <div class="REFBODY"><p><span class="bold_code"><a href="edoc.html">edoc</a></span></p></div> Richard Carlsson richardc@it.uu.se</div> <div class="footer"> <hr> <p>Copyright © 2006-2010 Ericsson AB. All Rights Reserved.</p> </div> </div> </div></body> </html>