-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
๐ธ Open external links in a new window
See: https://github.com/JakubAndrysek/mkdocs-open-in-new-tab ๐ Materialize external links with a right upward arrow INFO: This does NOT work if you are accesing the site via Gitub Pages: https://USERNAME.github.io/trio-docs/ It works when accessing the site via https://docs.diy-trio.org/ or previewing the site locally with `mkdocs serve`. Why? Mkdocs-open-in-new-tab uses an absolute URL '/js/open_in_new_tab.js' This URL won't work when deployed in a sub-folder. โ https://docs.diy-trio.org/js/open_in_new_tab.js โ http://127.0.0.1:8000/js/open_in_new_tab.js โ https://ericbouchut.com/trio-docs/js/open_in_new_tab.js โ https://ebouchut.github.io/trio-docs/js/open_in_new_tab.js
- Loading branch information
Showing
5 changed files
with
14 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
Empty file.
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 |
---|---|---|
|
@@ -57,6 +57,7 @@ theme: | |
- toc.integrate | ||
|
||
plugins: | ||
- open-in-new-tab | ||
- macros: | ||
include_dir: . | ||
- exporter: | ||
|
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
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