-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add link to the pdf version of the documentation to the html pages, fix
- Loading branch information
1 parent
2c71488
commit 21f7a1e
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,18 @@ Markdown.parse(String(take!(io))) | |
``` | ||
Please read the [release notes](NEWS.md) to see what has changed since the last release. | ||
|
||
```@eval | ||
release = isempty(VERSION.prerelease) | ||
file = release ? "julia-$(VERSION).pdf" : | ||
"julia-$(VERSION.major).$(VERSION.minor).$(VERSION.patch)-$(first(VERSION.prerelease)).pdf" | ||
url = "https://raw.githubusercontent.com/JuliaLang/docs.julialang.org/assets/$(file)" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
fredrikekre
Author
Member
|
||
import Markdown | ||
Markdown.parse(""" | ||
!!! note | ||
The documentation is also available in PDF format: [$file]($url). | ||
""") | ||
``` | ||
|
||
### [Introduction](@id man-introduction) | ||
|
||
Scientific computing has traditionally required the highest performance, yet domain experts have | ||
|
currently on https://docs.julialang.org/en/v1/, this link seems to be broken.