Page not found
+ +Sorry, but the page you were trying to get to, does not exist. You +may want to try searching this site using the sidebar + or using our API Reference page +to find what you were looking for.
+ + +diff --git a/.gitignore b/.gitignore index 1239397..405db9c 100644 --- a/.gitignore +++ b/.gitignore @@ -23,5 +23,4 @@ tags *.E *.ast *.log -*.html *.xml diff --git a/docs/.build b/docs/.build new file mode 100644 index 0000000..b955c92 --- /dev/null +++ b/docs/.build @@ -0,0 +1,28 @@ +dist/search_items-8fe9516a4a.js +dist/app-a9f3287e74588dddabf3.js +dist/elixir-6164d407479bd2888d0e.css +dist/erlang-94f16191f0a724ab8055.css +dist/html/fonts/icomoon.eot +dist/html/fonts/icomoon.svg +dist/html/fonts/icomoon.ttf +dist/html/fonts/icomoon.woff +dist/sidebar_items-8c8e7576ef.js +api-reference.html +search.html +404.html +docsh.html +docsh_beam.html +docsh_docs_v1.html +docsh_edoc.html +docsh_edoc_xmerl.html +docsh_edoc_xmerl_flat.html +docsh_erl.html +docsh_format.html +docsh_internal.html +docsh_lib.html +docsh_reader.html +docsh_syntax.html +docsh_tracer.html +docsh_user_default.html +docsh_writer.html +index.html diff --git a/docs/404.html b/docs/404.html new file mode 100644 index 0000000..05a20e8 --- /dev/null +++ b/docs/404.html @@ -0,0 +1,105 @@ + + +
+ + + + + +Sorry, but the page you were trying to get to, does not exist. You +may want to try searching this site using the sidebar + or using our API Reference page +to find what you were looking for.
+ + +Welcome to docsh, a documentation engine for the Erlang shell. This project provides a number of helpers for accessing module and function doc comments, function specs and exported types.
EEP-0048 (http://erlang.org/eeps/eep-0048.html) docs_v1 documentation format support.
Documentation lookup functions exported in the Erlang shell.
Welcome to docsh, a documentation engine for the Erlang shell. This project provides a number of helpers for accessing module and function doc comments, function specs and exported types.
+ If you want your project to have embedded documentation, use rebar3_docsh plugin. If you want to browse some docs first, read on.
To access this documentation you've quite likely typed:
+ h(docsh).
+ h/{1,2,3} is the most generic invocation of docsh. h/1 prints documentation for a given module (as shown above) or function:
h(fun lists:keyfind/3).
+ h/{2,3} are limited to functions. h/2 displays information about all functions of the given name from a particular module, while h/3 also takes the expected function arity:
h(proplists, get_value).
+ h(proplists, get_value, 3).
+ s/{1,2,3} is the helper to use if you're only interested in function specs, not their full documentation:
s(fun proplists:get_value/3).
+ s(proplists, get_value).
+ s(proplists, get_value, 3).
+ t/{2,3} is the helper for printing types exported from modules:
t(gen_tcp, connect_option).
+ t(gen_udp, socket).
+ If you want to use the helpers in erl you'll be set up by docsh's install script. It will install a user_default module enabling the shell extensions. See https://github.com/erszcz/docsh/README.md if unsure about the installation steps or what user_default is.
If you want to use docsh shell extensions in rebar3 shell, please refer to script/docsh_rebar3_shell.escript.
If you want to call docsh as a library, please refer to docsh_erl.