# Cannot replace docstring in projects

**URL:** https://discourse.julialang.org/t/cannot-replace-docstring-in-projects/15805
**Category:** General Usage
**Tags:** question
**Created:** [October 2, 2018, 9:26pm UTC](https://discourse.julialang.org/t/cannot-replace-docstring-in-projects/15805 "2018-10-02T21:26:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Roger-luo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/roger-luo/32/3399_2.png) [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)
#### Post date: [October 2, 2018, 9:26pm UTC](https://discourse.julialang.org/t/cannot-replace-docstring-in-projects/15805/1 "2018-10-02T21:26:45Z")

</div>

I was able to replace `kw_str`’s doc simply by re-declare it. But this does not work for Projects, e.g

```julia
module TestProject

import Base.BaseDocs: @kw_str

"""
aaa
"""
kw""

end # module

```

If you simply run this in REPL, and `?` + enter, the `kw""`'s docstring is replaced.

But not for projects, if simply `] generate TestProject` and write this in module, then start with the  
project by

```julia
julia --project

```

in the project folder, using the module doesn’t change anything

```julia
julia> using TestProject

```

nothing changed. So how can I replace the doc string by using a project? This breaks the behavior of our localization package: [GitHub - JuliaCN/JuliaZH.jl: Julia语言中文文档](https://github.com/JuliaCN/JuliaZH.jl)
