Morten Piibeleht

Results 540 comments of Morten Piibeleht

It looks like you have a huge ~doctest~ `@docs` block somewhere, which means that the logic we use to find its linenumbers breaks: https://github.com/JuliaDocs/Documenter.jl/blob/4fe9cf1237293c530633bcf0ef183b48417f23d7/src/utilities/utilities.jl#L63-L64 We probably should switch away from...

Oh, yea, the at-docs blocks in https://github.com/JuliaHealth/NeuroAnalyzer.jl/blob/f2bba13cf8c41f76452c3fa0c5727f7eb1fe5191/docs/src/index.md?plain=1#L681 are really big. At least one of them is apparently more than 35KiB. As a workaround, I think if you just split the...

Since we revived the CI etc., I think we can consider it to be alive and kicking. So closing this 🙂

The test failures > MethodError: Cannot `convert` an object of type Nothing to an object of type String do imply that somewhere we're maybe too aggressively `return`-ing `nothing`s now?

Just thinking out loud here. The methods you're adding, they are getting called here: https://github.com/JuliaDocs/Documenter.jl/blob/4328aec711dd3ee04d1989c796b241f547962fcd/src/html/HTMLWriter.jl#L1683-L1684 It feels like what we want is sometimes _not_ to write any `SearchRecord` here. For...

Just one more note: as I was playing around with this PR, and to actually see what ends up in the search index, I put together a small toy build...

> Documenter.jl wraps code in anonymous modules, right? Yes it does.

This is from the upstream Markdown standard library parser: ``` julia> using Markdown julia> x = md"[a b] ()" a b () julia> x.content 1-element Vector{Any}: Markdown.Paragraph(Any[Markdown.Link(Any["a b"], "")]) ```...

You can set up shared setup code to all docstrings in a module: https://documenter.juliadocs.org/dev/man/doctests/#Module-level-metadata But if this about actually dynamically figuring out what to import, then I don't think we...

I don't think we'd want to `eval` into the package scope, since that will start polluting it, and you'd lose the property that all doctests are always evaluated in a...