Browse Source

Merge pull request #1 from smith-and/smith-and-patch-local-default

Fixed Local Default
pull/143/head
Andrew Smith 5 years ago committed by GitHub
parent
commit
4800a17757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/Literate.jl

6
src/Literate.jl

@ -186,9 +186,9 @@ function replace_default(content, sym; @@ -186,9 +186,9 @@ function replace_default(content, sym;
nbviewer_root_url = "https://nbviewer.jupyter.org/urls/$(base_url)"
push!(repls, "@__NBVIEWER_ROOT_URL__" => nbviewer_root_url)
else
push!(repls, "@__REPO_ROOT_URL__" => get(config, "repo_root_url", "<unknown>"))
push!(repls, "@__NBVIEWER_ROOT_URL__" => get(config, "nbviewer_root_url", "<unknown>"))
push!(repls, "@__BINDER_ROOT_URL__" => get(config, "binder_root_url", "<unknown>"))
push!(repls, "@__REPO_ROOT_URL__" => get(config, "repo_root_url", pwd()))
push!(repls, "@__NBVIEWER_ROOT_URL__" => get(config, "nbviewer_root_url", pwd()))
push!(repls, "@__BINDER_ROOT_URL__" => get(config, "binder_root_url", pwd()))
end
# run some Documenter specific things

Loading…
Cancel
Save