Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Documenter, and add make target to fix doctests #26515

Merged
merged 2 commits into from
Mar 20, 2018

Conversation

fredrikekre
Copy link
Member

@fredrikekre fredrikekre commented Mar 19, 2018

This upgrades Documenter to v0.15.0 (https://github.com/JuliaDocs/Documenter.jl/releases/tag/v0.15.0).

In particular this release includes JuliaDocs/Documenter.jl#656 which adds a fix flag to makedocs that will update all the outdated doctests. This is something I am pretty excited about -- you would be surprised how fast our docs get outdated! I added a new make target for running the fix in doc/Makefile, so running:

make -C doc doctest-fix

should now update all the doctests to the new output.

This is something we should do before every new release, to make sure docs are up to date. This is also very useful when doing other changes to the code -- instead of manually updating all the docstrings, it should in theory be enough to run make -C doc doctest-fix to update to the new output, see e.g. #20288

@ararslan ararslan added the docsystem The documentation building system label Mar 19, 2018
@fredrikekre fredrikekre merged commit f0c09df into JuliaLang:master Mar 20, 2018
@fredrikekre fredrikekre deleted the fe/doctest-fixup branch March 20, 2018 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docsystem The documentation building system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants