Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation introduction fixed for 1.0 #28548

Merged
merged 1 commit into from
Aug 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions doc/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ cd(joinpath(@__DIR__, "src")) do
end
end

# Generate a suitable markdown file from NEWS.md and put it in src
str = read(joinpath(@__DIR__, "..", "NEWS.md"), String)
splitted = split(str, "<!--- generated by NEWS-update.jl: -->")
@assert length(splitted) == 2
replaced_links = replace(splitted[1], r"\[\#([0-9]*?)\]" => s"[#\g<1>](https://github.com/JuliaLang/julia/issues/\g<1>)")
write(joinpath(@__DIR__, "src", "NEWS.md"), replaced_links)
# # Generate a suitable markdown file from NEWS.md and put it in src
Copy link
Member Author

Choose a reason for hiding this comment

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

Commenting out this for now since it is completely empty, and it looks horrible.

# str = read(joinpath(@__DIR__, "..", "NEWS.md"), String)
# splitted = split(str, "<!--- generated by NEWS-update.jl: -->")
# @assert length(splitted) == 2
# replaced_links = replace(splitted[1], r"\[\#([0-9]*?)\]" => s"[#\g<1>](https://github.com/JuliaLang/julia/issues/\g<1>)")
# write(joinpath(@__DIR__, "src", "NEWS.md"), replaced_links)

const PAGES = [
"Home" => "index.md",
hide("NEWS.md"),
# hide("NEWS.md"),
"Manual" => [
"manual/getting-started.md",
"manual/variables.md",
Expand Down
10 changes: 7 additions & 3 deletions doc/src/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Julia 0.7 Documentation
# Julia 1.0 Documentation

Welcome to the documentation for Julia 0.7.
Welcome to the documentation for Julia 1.0.

Please read the [release notes](NEWS.md) to see what has changed since the last release.
Please read the [release blog post](https://julialang.org/blog/2018/08/one-point-zero) for a general overview of the language and
many of the changes since Julia v0.6. Note that version 0.7 was released alongside
1.0 to provide an upgrade path for packages and code that predates the 1.0 release.
The only difference between 0.7 and 1.0 is the removal of deprecation warnings.
For a complete list of all the changes since 0.6, see the [release notes for version 0.7](https://docs.julialang.org/en/v0.7.0/NEWS/)

### [Introduction](@id man-introduction)

Expand Down