Merge pull request #46 from MichaelHatherly/mh/doc-syntax-updates

Updates for Documenter.jl syntax changes
pull/52/head
Matti Pastell 2016-05-31 11:46:12 +03:00
commit d5749ecd7d
4 changed files with 18 additions and 13 deletions

View File

@ -57,7 +57,8 @@ Weave.set_chunk_defaults(Dict{Symbol, Any}(
```
{docs}
set_chunk_defaults(opts)
get_chunk_defaults()
restore_chunk_defaults()
```@docs
set_chunk_defaults(opts)
get_chunk_defaults()
restore_chunk_defaults()
```

View File

@ -1,4 +1,5 @@
# Function index
{index}
```@index
```

View File

@ -19,4 +19,5 @@ and Sweave.
## Contents
{contents}
```@contents
```

View File

@ -18,8 +18,9 @@ Using PyPlot:
weave(Pkg.dir("Weave","examples","julia_sample.mdw"), plotlib="PyPlot", out_path = :pwd)
```
{docs}
weave(source)
```@docs
weave(source)
```
## Weave from shell
@ -37,9 +38,9 @@ usage: weave.jl [--doctype DOCTYPE] [--plotlib PLOTLIB]
Tangling extracts the code from document:
{docs}
tangle(source)
```@docs
tangle(source)
```
## Supported formats
@ -70,8 +71,9 @@ asciidoc: AsciiDoc
tex: Latex with custom code environments
```
{docs}
list_out_formats()
```@docs
list_out_formats()
```
## Document syntax