-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc,tools: Replace client-side syntax highlighting for API docs compi…
…le compile-time syntax highlighting 1. The page will load much faster since there is much less JavaScript taking place. 2. Users with slow connections or JavaScript turned off will still see highlighted code. 3. I've changed the allhtml.js code to look for a special comment instead of the script tag for where to put the contents.
- Loading branch information
Showing
7 changed files
with
28 additions
and
31 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 |
---|---|---|
@@ -1,28 +1,9 @@ | ||
# API Reference Document Assets | ||
|
||
## highlight.pack.js | ||
|
||
_Generated by [highlightjs.org/download][] on 2020-06-07._ | ||
|
||
Grammars included in the custom bundle: | ||
|
||
* Bash | ||
* C | ||
* C++ | ||
* CoffeeScript | ||
* HTTP | ||
* JavaScript | ||
* JSON | ||
* Markdown | ||
* Plaintext | ||
* Shell Session | ||
|
||
## hljs.css | ||
|
||
The syntax theme for code snippets in API reference documents. | ||
|
||
## style.css | ||
|
||
The main stylesheet for API reference documents. | ||
|
||
[highlightjs.org/download]: https://highlightjs.org/download/ |
This file was deleted.
Oops, something went wrong.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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