6
$\begingroup$

Is there a way to Hyperlink to a documentation pages. Since documentation pages are notebooks, does hyperlinking to these with file protocol opens them in the documentation center with all the documentation properties like all edits made on them are discarded?

Is there a documentation protocol that opens documentations center pages directly?

See: Hyperlink to a folder

$\endgroup$
2
  • 8
    $\begingroup$ Evaluating Hyperlink["ClickHere", "paclet:ref/Set"] creates a link to the installed documentation for the Set command. Evaluating Hyperlink["ClickMe", \ "http://reference.wolfram.com/language/ref/Set.html"] creates a link to the online documentation for the Set command. $\endgroup$ Commented Jun 16, 2019 at 5:19
  • 1
    $\begingroup$ @LouisB Thank you it works! if you want credit please provide this as answer and I will accept it. $\endgroup$ Commented Jun 16, 2019 at 5:25

1 Answer 1

5
$\begingroup$

Just want to note that LouisB's comment also works in textboxes: write some text, highlight the part you want to link, press Cmd + Shift + H (on Mac), and write paclet:ref/_ or paclet:tutorial/_. Easy! Thanks Louis!

To complete the answer, let's incorporate @LouisB's commment:

Evaluating

 Hyperlink["ClickHere", "paclet:ref/Set"]

creates a link to the installed documentation for the Set command. Evaluating

Hyperlink["ClickMe", "http://reference.wolfram.com/language/ref/Set.html"]

creates a link to the online documentation for the Set command. – LouisB Jun 16 '19 at 5:19

$\endgroup$
2
  • 2
    $\begingroup$ I added @LouisB's comment, so that your post better answers the question. It is generally considered OK on this site to poach an answer from a stale comment, provided you give the original author credit. When I've done it, I often make the answer "Community Wiki" (CW), so that I don't get any rep points from upvotes. In this case, you've added your own idea, so it's probably ok as is. But if you disagree, you can "roll back" the edit. $\endgroup$ Commented Apr 18, 2020 at 18:50
  • $\begingroup$ Sounds good to me and thanks for the best practice context! $\endgroup$ Commented Apr 18, 2020 at 22:34

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.