Skip to content

Commit

Permalink
upgrade to Documenter v0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 committed Mar 29, 2019
1 parent 1816ae1 commit 8f910cb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ notifications:
email: false
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'using Pkg; pkg"add Documenter Images AxisArrays Colors ColorTypes CoordinateTransformations Distances FileIO FixedPointNumbers ImageAxes ImageDraw ImageFeatures ImageFiltering ImageMagick ImageMetadata ImageSegmentation SimpleTraits TestImages Unitful"'
- julia -e 'using Pkg; pkg"add Documenter Images AxisArrays Colors ColorTypes CoordinateTransformations Distances FileIO FixedPointNumbers ImageAxes ImageDraw ImageFeatures ImageFiltering ImageMagick ImageMetadata ImageSegmentation SimpleTraits TestImages Unitful PaddedViews"'
- julia --color=yes -e 'cd(ENV["TRAVIS_BUILD_DIR"]); ENV["DOCUMENTER_DEBUG"] = "true"; include(joinpath("docs", "make.jl"))'
28 changes: 14 additions & 14 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
using Documenter, Images, ImageFiltering, ImageSegmentation, ImageFeatures
using Documenter, Images, ImageFiltering, ImageSegmentation, ImageFeatures, PaddedViews

makedocs(format = :html,
sitename = "JuliaImages",
assets = [joinpath("assets", "style.css"),
makedocs(modules = [Images, ImageCore, Colors, ColorTypes, FixedPointNumbers, ImageAxes,
ImageFeatures, ImageFiltering, ImageMetadata,
ImageSegmentation, ImageTransformations, PaddedViews, ImageMorphology
],
pages = ["Home"=>"index.md",
format = Documenter.HTML(edit_branch = "source",
assets = [joinpath("assets", "style.css")]);
sitename = "JuliaImages",
pages = ["Home" => "index.md",
"install.md",
"Manual" => Any[
"quickstart.md",
Expand All @@ -18,21 +21,18 @@ makedocs(format = :html,
"imagefeatures.md",
"troubleshooting.md",
],
"Demos" => Any[
"demos.md",
"demos/color_separations_svd.md",
"demos/rgb_hsv_thresholding.md",
"Demos" => Any[
"demos.md",
"demos/color_separations_svd.md",
"demos/rgb_hsv_thresholding.md",
],
"function_reference.md",
"api_comparison.md",
],
html_edit_branch = "source")
])

deploydocs(repo = "github.com/JuliaImages/juliaimages.github.io.git",
target = "build",
branch = "master",
latest = "source",
julia = "1.0",
osname = "linux",
devbranch = "source",
deps = nothing,
make = nothing)
4 changes: 2 additions & 2 deletions docs/src/function_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ match_keypoints

#### Gray Level Co-occurence Matrix

```@docs
```julia
glcm
glcm_symmetric
glcm_norm
Expand All @@ -401,7 +401,7 @@ glcm_var_neighbour

#### Local Binary Patterns

```@docs
```julia
lbp
modified_lbp
direction_coded_lbp
Expand Down

0 comments on commit 8f910cb

Please sign in to comment.