Skip to content

Conversation

@fredrikekre
Copy link
Member

@fredrikekre fredrikekre commented Mar 6, 2018

Base.link_pipe(pipe, julia_only_read = reader_supports_async, julia_only_write = writer_supports_async)
else
import Base: link_pipe!
end
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this would be very useful in Compat, so made this local fix here instead.

@mortenpi mortenpi added this to the 0.15.0 milestone Mar 6, 2018
src/Expanders.jl Outdated

function Selectors.runner(::Type{EvalBlocks}, x, page, doc)
sandbox = Module(:EvalBlockSandbox)
eval(sandbox, :(import Compat.Markdown))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, but it silenced a bunch of warnings. I think because previously Markdown was always available by default in all modules since they all have implicit using Base in them.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: importing deprecated binding Base.Markdown into EvalBlockSandbox.
WARNING: Base.Markdown is deprecated, run `using Markdown` instead
  likely near /home/fredrik/.julia/v0.7/Documenter/test/examples/make.jl:91

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we eval things into the module which references Markdown.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The errors come from test/examples/src/man/tutorial.md, lines 67-70. I would just add import Compat.Markdown into the @eval block, instead of always importing the Markdown module.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good catch, should be fixed now.

# Prompt user to add public key to github then remove the public key.
let url = "https://github.com/$user/$repo/settings/keys"
info("add the public key below to $url with read/write access:")
@info("add the public key below to $url with read/write access:")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are in a submodule, so needs an import Compat: @info.

@fredrikekre fredrikekre force-pushed the fe/deprecations branch 2 times, most recently from b1bef6c to 575ea24 Compare March 8, 2018 07:26
@fredrikekre fredrikekre merged commit ff60d90 into master Mar 8, 2018
@fredrikekre fredrikekre deleted the fe/deprecations branch March 8, 2018 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants