Skip to content

Commit

Permalink
Documentation introduction fixed for 1.0 (#28548)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Aug 10, 2018
1 parent c227a6c commit 53d2e7c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
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
# 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

0 comments on commit 53d2e7c

Please sign in to comment.