Commit graph

22 commits

Author SHA1 Message Date
Héctor Ramos
61c5d2d8e0 Treat latest version as current version (#418)
If the site is versioned, and the latest version is displayed, the URL will not change. We need to let Algolia know this is the case.
2018-01-25 17:28:25 -08:00
Joel Marcey
b0f26db3e1
Do not set html lang attribute if there is no language set (#362)
* Do not set html lang attribute if there is no language set

* Prettier fixes
2017-12-27 15:19:32 -08:00
Forbes Lindesay
bf8006f6ba Include a lang property on html node (#295)
Google Chrome guesses the language if this is not present. Large quantities of source code can confuse it and lead to it selecting completely the wrong language.
2017-12-16 20:05:58 -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
df05fd2bbc Switch Algolia DocSearch to load using https (#252)
* Change docsearch to explicit https
2017-12-04 09:26:44 -08:00
Héctor Ramos
73b9a1128b Switch to GFM-style heading anchors (#164) 2017-10-26 16:12:17 -07:00
Héctor Ramos
fb294ab845 [markdown] Remove client-side syntax highlighting (#189)
* Remove client side highlighting

* Update CSS rules to render plain code blocks with expected left border

* Add back codeColor background color config

* Ensure all pre code blocks use Highlight.js classes
2017-10-26 12:07:02 -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
bcba05ae03 Adds sitemap.xml. Adds 'Help Translate' to translatable strings. Error messages and fn name cleanups. (#136)
* added a note about needing more than one language to be enabled to allow for a drop down

* Removing debug statements

* Add 'Help Translate' to translatable strings, improves error messages around missing translated strings, calls write-translations on some routes

* Adds sitemap.xml to live server and build. Versioning not supported. -- Also did some file name and module cache cleanups.
2017-10-18 12:55:58 -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
14dfcff769 Support algoliaOptions object as value in siteConfig.js (#113) 2017-10-04 19:13:30 -07:00
Héctor Ramos
45f6ef8fd9 Blog enhancements (#80)
* Small CSS adjustments.

* Blog adjustments.

* Add support for Prism in the blog
2017-09-25 12:53:54 -07:00
Frank Li
43ef3c8142 Add comments 2017-08-15 16:55:38 -07:00
Frank Li
6ca90610f4 Update headerLinks API 2017-08-08 13:46:11 -07:00
Frank Li
de2897f108 Allow for extra algoliaOptions for search 2017-08-04 14:44:23 -07:00
Frank Li
3598dffc58 Add versioning functionality 2017-08-03 10:25:01 -07:00
Frank Li
fc4e5b05df Allow exclusion of tagline in page title 2017-07-21 12:24:43 -07:00
Frank Li
099a13a264 Move references to languages and translated strings out of siteConfig.js into new translation.js module 2017-07-11 17:03:27 -07:00
Frank Li
ef5c4f83a2 Update Site.js to use template strings 2017-07-11 14:52:33 -07:00
Frank Li
fbae29b0ff Run Prettier 2017-07-10 16:38:35 -07:00
Frank Li
ed648074f2 Fix and move writeTranslations.js file to write-translations.js, move tagline property of en.json inside localized-strings 2017-07-10 10:53:38 -07:00
Joel Marcey
e3139eea2f Initial commit 2017-07-07 10:28:29 -07:00