# Is there a way to automatically generate documentation for all functions in a module

**URL:** <https://discourse.julialang.org/t/is-there-a-way-to-automatically-generate-documentation-for-all-functions-in-a-module/11617>\
**Category:** General Usage\
**Tags:** documentation\
**Created:** [June 12, 2018, 6:28pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-automatically-generate-documentation-for-all-functions-in-a-module/11617 "2018-06-12T18:28:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SZJX](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/szjx/32/4036_2.png) [@SZJX](https://discourse.julialang.org/u/SZJX)\
**Post date:** [June 12, 2018, 6:28pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-automatically-generate-documentation-for-all-functions-in-a-module/11617/1 "2018-06-12T18:28:11Z")

</div>

It seems from [the documentation for Documenter.jl](https://juliadocs.github.io/Documenter.jl/stable/man/guide/index.html) that you need to explicitly list the functions that you want the documentation generated for in an `index.md` file.

Is there a way to automatically generate documentation for every function in the module for which a docstring exists? It seems a bit tedious to have to manually list all of them again in an index file. If I’ve written a docstring for something then most likely I’ll want it to be included in the documentation as well, right?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [June 12, 2018, 6:29pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-automatically-generate-documentation-for-all-functions-in-a-module/11617/2 "2018-06-12T18:29:59Z")

</div>

Use `@autodocs`: [Syntax · Documenter.jl](https://juliadocs.github.io/Documenter.jl/stable/man/syntax/#@autodocs-block-1)
