# Documenter.jl - Creating Documentation for Arbitrary Julia Scripts

**URL:** <https://discourse.julialang.org/t/documenter-jl-creating-documentation-for-arbitrary-julia-scripts/108038>\
**Category:** General Usage\
**Tags:** question, documentation, documenter, documenterjl\
**Created:** [December 25, 2023, 4:35pm UTC](https://discourse.julialang.org/t/documenter-jl-creating-documentation-for-arbitrary-julia-scripts/108038 "2023-12-25T16:35:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![General.T.Case](https://avatars.discourse-cdn.com/v4/letter/g/49beb7/32.png) [@General.T.Case](https://discourse.julialang.org/u/General.T.Case)\
**Post date:** [December 25, 2023, 4:35pm UTC](https://discourse.julialang.org/t/documenter-jl-creating-documentation-for-arbitrary-julia-scripts/108038/1 "2023-12-25T16:35:46Z")

</div>

Is it possible to use Documenter.jl to create documentation for an arbitrary set of Julia scripts located in arbitrary directories? In particular, suppose the scripts are not part of package.

- It seems straightforward enough to include references in the `index.md` file to the functions for which one wants to create documentation.
- I would then have guessed that it is simply a matter of telling [`makedocs()`](https://documenter.juliadocs.org/stable/lib/public/#Documenter.makedocs) in the `make.jl` file where to look for function definitions.

However, I have not been able to make this work. Any guidance would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Wen-Wei\_Tseng](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wen-wei_tseng/32/28839_2.png) [@Wen-Wei\_Tseng](https://discourse.julialang.org/u/Wen-Wei_Tseng)\
**Post date:** [December 26, 2023, 6:37am UTC](https://discourse.julialang.org/t/documenter-jl-creating-documentation-for-arbitrary-julia-scripts/108038/2 "2023-12-26T06:37:07Z")

</div>

Literate.jl supports generating Documenter.jl -compatible markdown files (from julia scripts). Its [docs/make.jl](https://github.com/fredrikekre/Literate.jl/blob/master/docs/make.jl) could be a starting point.
