# How to view docstrings for functions in my submodules?

**URL:** <https://discourse.julialang.org/t/how-to-view-docstrings-for-functions-in-my-submodules/92649>\
**Category:** New to Julia\
**Created:** [January 7, 2023, 10:21pm UTC](https://discourse.julialang.org/t/how-to-view-docstrings-for-functions-in-my-submodules/92649 "2023-01-07T22:21:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lancer](https://avatars.discourse-cdn.com/v4/letter/l/858c86/32.png) [@lancer](https://discourse.julialang.org/u/lancer)\
**Post date:** [January 7, 2023, 10:21pm UTC](https://discourse.julialang.org/t/how-to-view-docstrings-for-functions-in-my-submodules/92649/1 "2023-01-07T22:21:40Z")

</div>

My local package is organized in modules, which my top-level package file includes and then uses. When working on the code in a REPL (after “using Revise, MyPackage”), I can see my documentation for the few toplevel functions that MyPackage exports, but I can’t see the documentation for the many functions defined in the sub-modules.

Is there any way for a developer to make their docstrings accessible without having to export all of the documented function names from the toplevel module?

Thanks. (Julia 1.8.4)

---

<div class="post-metadata">

**Author:** ![cjdoris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cjdoris/32/213133_2.png) [@cjdoris](https://discourse.julialang.org/u/cjdoris)\
**Post date:** [January 7, 2023, 10:26pm UTC](https://discourse.julialang.org/t/how-to-view-docstrings-for-functions-in-my-submodules/92649/2 "2023-01-07T22:26:26Z")

</div>

```julia
help> MyPackage.MySubmodule.myfunction

```

---

<div class="post-metadata">

**Author:** ![lancer](https://avatars.discourse-cdn.com/v4/letter/l/858c86/32.png) [@lancer](https://discourse.julialang.org/u/lancer)\
**Post date:** [January 7, 2023, 10:29pm UTC](https://discourse.julialang.org/t/how-to-view-docstrings-for-functions-in-my-submodules/92649/3 "2023-01-07T22:29:23Z")

</div>

Thanks for the very prompt and helpful response!
