Fix example for `makedocs(root=...)` (#983) (#983)
Fix example for `makedocs(root=...)` (#983) (#983)

`pathof` returns a file name, therefore we must call `dirname` to jump
to the containing directory. Simply using `..` will result in a
file-not-found error.
MichaelHatherly/Lapidary.jl,mortenpi/Documenter.jl,JuliaDocs/Documenter.jl