Modules = [CallTest]
Created
September 27, 2016 05:15
-
-
Save joshbode/a6c6f204eaa320d7a242a85c0b6d9aff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env julia | |
""" | |
Test module for call doc syntax. | |
""" | |
module CallTest | |
""" | |
Wrapper(f) | |
Wrap a function. | |
""" | |
type Wrapper | |
f::Function | |
end | |
""" | |
(wrapper::Wrapper)(args...; kwargs...) | |
Call wrapped function. | |
""" | |
(w::Wrapper)(args...; kwargs...) = w.f(args...; kwargs...) | |
end | |
import Documenter | |
using .CallTest | |
Documenter.makedocs(modules=[CallTest]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment