Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds
doctest=only
option todocs/make.jl
so that you could run only doctests. This could maybe then be run as part of the normal test suite.All doctests are now being tested, even the ones that are not in the manual. This actually revealed a bunch of docstrings that are not in the manual (some probably should) which contain broken doctests (should be fixed anyhow). For the moment they are "disabled", to get the rest of the manual to pass.
On the other hand, the docstrings are no longer tied to a manual page for doctesting purposes. This means that the
@meta
blocks in the manual.md
files no longer have an effect on the docstrings. So instead there is agensym
ed variable in each module that can contain that metadata. Most of these at-meta blocks were justusing STDLIB
for the given standard library, so theDocTestSetup
s are now added automatically in themake.jl
file.Very WIP at the moment, I am curious to see what happens with this on CI. It passes locally. It depends on JuliaDocs/Documenter.jl#774.
disabled-doctest
, probably in a separate PR (Add a few methods to manual & fix doctests #32417)index.md
files.doctest = :only
option in a Documenter release and updatedocs/
manifest.