# Documenter can't find docs

**URL:** <https://discourse.julialang.org/t/documenter-cant-find-docs/63200>\
**Category:** General Usage\
**Tags:** documenter\
**Created:** [June 19, 2021, 9:53pm UTC](https://discourse.julialang.org/t/documenter-cant-find-docs/63200 "2021-06-19T21:53:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joinijo](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Joinijo](https://discourse.julialang.org/u/Joinijo)\
**Post date:** [June 19, 2021, 9:53pm UTC](https://discourse.julialang.org/t/documenter-cant-find-docs/63200/1 "2021-06-19T21:53:29Z")

</div>

Hi,

I’m trying to build a documentation using documenter and run into a weird error.  
In one of the `.md` files, I have a few @docs blocks. It looks as follows:

````julia
##Functions
```@docs
f
```

##Some more functions
```@docs
g
```

````

(Neither f nor g comes with any args specification in the `.md` file). Now documenter can find the docstring for g, but it cannot find the one for f. The docstring looks as follows:

```julia
"""
    f
does some stuff.
"""

```

f and g don’t both come from the same file, but both from files that are included in `my_module.jl` via `include("file")`.  
The error message reads:

````julia
Warning: no docs found for 'f' in `@docs` block in src\reference.md
```@docs
f
```

````

I am really clueless what is happening here, does anyone have an idea?

Edit: it seems to me as though it’s certain files that documenter doesn’t like. If you have a look at the repo, for example no docstrings from `fw_algorithms.jl` in the `src/` folder are found. It seems like the error has to do with what file the string is from.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [June 20, 2021, 8:14am UTC](https://discourse.julialang.org/t/documenter-cant-find-docs/63200/2 "2021-06-20T08:14:14Z")

</div>

More context would help diagnose the problem, do you have the repo available online?

---

<div class="post-metadata">

**Author:** ![Joinijo](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Joinijo](https://discourse.julialang.org/u/Joinijo)\
**Post date:** [June 20, 2021, 9:33am UTC](https://discourse.julialang.org/t/documenter-cant-find-docs/63200/3 "2021-06-20T09:33:15Z")

</div>

Yes! [j-geuter/FrankWolfe.jl: Julia implementation for various Frank-Wolfe and Conditional Gradient variants (github.com)](https://github.com/j-geuter/FrankWolfe.jl). If you go to `reference.md` in `docs/`, for the entire block

````julia
```@docs
frank_wolfe
lazified_conditional_gradient
away_frank_wolfe
blended_conditional_gradient
```

````

documenter cannot find the docstrings. (You can for example find `blended_conditional_gradient` in `src/blended_cg`.) All other `@docs` blocks in `reference.md` work just fine.

---

<div class="post-metadata">

**Author:** ![Joinijo](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Joinijo](https://discourse.julialang.org/u/Joinijo)\
**Post date:** [June 28, 2021, 2:20pm UTC](https://discourse.julialang.org/t/documenter-cant-find-docs/63200/4 "2021-06-28T14:20:38Z")

</div>

Ok I just realized that on github they are displayed without any problems (which is what is most important). Only locally documenter can’t find them for some reason. Does anyone have an idea why that could be the case?
