Fabrizio Ruggeri
976ae770b5
Allow Google Analytics to use gtag.js ( #601 )
...
* Moved google analytics script to head
The code now uses the new gtag script to track the website on google analytics.
The migration is explained [here](https://developers.google.com/analytics/devguides/collection/gtagjs/migration ).
This will help to solve issues such as #375 .
As indicated at https://support.google.com/analytics/answer/1008080
the analytics code must be placed in the head tag, so it is moved there.
* Add a boolean to use the new gtag library
* Update api-site-config.md
2018-04-29 10:44:11 -07:00
huang.xinghui
aa32ff4a55
Add customize highlight.theme custom path support ( #517 )
...
* add themeUrl option to support custom theme file path
* Update api-site-config.md
2018-04-19 08:04:49 -07:00
Joel Marcey
e738bbd99e
Add twitterImage
to siteConfig options ( #580 )
2018-04-17 21:04:39 -07:00
Harrison Shoff
c6a9848a17
Add key to stylesheet links in Head.js ( #425 )
...
* Add key to config.stylesheets.map in Head.js
* Run prettier on Head.js
2018-01-31 19:59:41 -08:00
Christian Oliff
3e2cfc27ff
No need for chromeframe tag ( #328 )
...
Remove the unneeded chromeframe tag, it has long since been retired by Google and was only ever needed for very old IE (would render the page in Chrome within IE).
REF: http://www.chromium.org/developers/how-tos/chrome-frame-getting-started
2017-12-20 10:56:00 -08:00
Joel Marcey
c888bc52b9
Fix og:image URL to make it absolute
2017-12-14 09:53:37 -08:00
Jan Kassens
b174ee2d2a
Update prettier to 1.9.1 ( #273 )
2017-12-12 12:47:52 -08:00
Héctor Ramos
65421db62e
Add Prettier Formatting ( #258 )
...
* Add Prettier formatting to source files and example files, and check that Prettier formatting is maintained on PRs
* Remove trailing-comma as we are using Node 6 on Circle
* Use latest Node 6 LTS version in Circle
* Remove unused test
2017-12-04 19:21:02 -08:00
Héctor Ramos
bb48bb4f0c
Remove keys warning when loading scripts ( #244 )
2017-11-27 15:14:55 -08:00
Christopher Chedeau
c407cdf96f
Enable stylesheets as a parallel to scripts ( #225 )
...
* Enable stylesheets as a parallel to scripts
Also moves the scripts above the custom stylesheet to follow the comment :)
* Update api-site-config.md
2017-11-13 17:54:24 -08:00
Ricky Vetter
5263976ad3
move main.css below hljs css ( #195 )
2017-10-30 10:55:39 -07:00
Héctor Ramos
ba666cc6ae
Remove sourceCodeButton config key ( #181 )
2017-10-26 12:16:36 -07:00
Héctor Ramos
b832176dc6
[markdown] Switch to Remarkable ( #153 )
...
* Switch to Remarkable
* Clean up references to custom code blocks
* Remove valdiateDOMNesting warning
* Add syntax highlighting
* Add Reason support
* Breaking change: prismColor to codeColor, remove CompLibrary.Prism, expose hljs
* Completely remove Prism and associated CSS rules
* Support loading plugins and scripts
* Remove CSS rules, allowing Highlight.js theme to be used entirely
* Remove unnecessary webplayer script
2017-10-24 09:45:21 -07:00
Eric Nakagawa
a9571ebf4d
Removed copy from redirect page, reduced delay to 0s for js and meta
2017-10-19 13:15:05 -07:00
Eric Nakagawa
a4695a3083
Code cleanups for consistency & adds Docusaurus to meta tags ( #138 )
...
* Add a made with Docusaurus meta tag
* Code cleanups and changes for clarity
* Add back pages string extraction
2017-10-18 14:40:16 -07:00
Eric Nakagawa
967970eaa5
Generates a file that redirects from /docs/file.html to /docs/en/folder.html when languages are enabled (languages.js is present) ( #137 )
2017-10-18 12:56:14 -07:00
Ricky Vetter
768ed88978
Add option to avoid indexing site ( #142 )
2017-10-18 11:35:30 -07:00
Joel Marcey
77535d80f2
The complete move to MIT license ( #115 )
...
- headers in .js files
- update README and LICENSE year
Testing:
grep BSD, Patents, patents turned up nothing
2017-10-05 11:14:49 -07:00
Héctor Ramos
419a11af3e
Extend Marked.js in order to support React Native's code players ( #109 )
...
* Extend Marked.js to support SnackPlayer and the WebPlayer, as used in React Native
2017-10-04 08:56:55 -07:00
Ricky Vetter
9c7d8e55a9
add sourceCodeButton to site config ( #93 )
2017-10-03 15:20:35 -07:00
Eric Nakagawa
dc835770a0
RSS/ATOM Feed added, Prism changes, and global Copyright notice. ( #94 )
...
* Add Reason support to Prism.js
* Add XML/ATOM feed. Generates for both localhost and build script. Adds meta links to feeds to all html files.
* Updated /core/Footer.js to pull from siteConfig
2017-09-27 12:49:09 -07:00
Eric Nakagawa
a86af92e7c
Remove customCssFileName as any css file in /static/css gets appended to end of main.css
2017-09-25 11:35:35 -07:00
Eric Nakagawa
0dce734a1d
Rearrange custom.css line
2017-09-22 11:42:19 -07:00
Eric Nakagawa
9c6fe348d6
Add support for a custom CSS file that is configurable from siteConfig.js
2017-09-22 11:31:29 -07:00
Joel Marcey
c64db63046
Forgot tag closing in noindex
2017-08-16 13:55:14 -07:00
Joel Marcey
1bfd8f8475
Block search engines indexing until launch
2017-08-16 13:54:13 -07:00
Frank Li
43ef3c8142
Add comments
2017-08-15 16:55:38 -07:00
Frank Li
098d585031
Delete unnecessary comments from Head.js
2017-08-10 16:34:54 -07:00
Frank Li
5dd6609db9
Fix Open Graph image option
2017-08-01 15:58:05 -07:00
Frank Li
9e70055452
Add siteConfig option for Open Graph image
2017-08-01 15:56:50 -07:00
Frank Li
fbae29b0ff
Run Prettier
2017-07-10 16:38:35 -07:00
Joel Marcey
e3139eea2f
Initial commit
2017-07-07 10:28:29 -07:00