Commit graph

26 commits

Author SHA1 Message Date
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
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
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
Frank Li
cfc6030d23 Fix replacement of relative doc links 2017-08-16 16:17:33 -07:00
Frank Li
43ef3c8142 Add comments 2017-08-15 16:55:38 -07:00
Frank Li
074ac07837 Small fix 2017-08-10 16:10:30 -07:00
Frank Li
4646fc98c5 Update color configurations 2017-08-10 16:03:43 -07:00
Frank Li
56b5554799 Merge pull request #26 from JoelMarcey/cname
Write CNAME file if custom domain
2017-08-10 11:37:25 -07:00
Frank Li
c0792044b2 Update CNAME file generation 2017-08-10 11:34:40 -07:00
Frank Li
91fe923cf7 Fix variable declaration 2017-08-09 16:25:18 -07:00
Frank Li
63043c041a Add version header link and change current docs to be version 'next' 2017-08-04 12:41:13 -07:00
Frank Li
67592dcf8a Use versions.json file and move versioned, translated docs into translated_docs 2017-08-03 15:58:56 -07:00
Frank Li
3598dffc58 Add versioning functionality 2017-08-03 10:25:01 -07:00
Frank Li
6d2b6740c1 Clean up API changes 2017-08-02 15:13:10 -07:00
Frank Li
419e0c0ff9 Initial API refactor 2017-07-31 16:19:02 -07:00
Joel Marcey
3c2b585a60 Reversed the parameters 2017-07-28 14:24:50 -07:00
Joel Marcey
582efb496c Write CNAME file if custom domain
Custom domains in GitHub pages require a CNAME file. This file is automatically created for you if you add a custom
domain to the GitHub pages section of the "Settings" area in a GitHub repo.

However, the way we push to GitHub, we remove all files from a `gh-pages` branch before building and pushing the new
content on a rebuild. This includes removing the CNAME file, even if it was autogenerated when changing the setting.

So, just always create a CNAME file if the domain is a custom domain.
2017-07-28 07:40:31 -07:00
Frank Li
ab58eaa9fa Update use of readCategories.js 2017-07-25 16:30:49 -07:00
Frank Li
b359a2500d Update how separate css files are identified 2017-07-21 12:37:16 -07:00
Frank Li
1edd160ceb Allow separate css files that don't get added to Docusaurus's 2017-07-21 12:13:13 -07:00
Frank Li
2585dfa1f9 Skip processing any docs with empty/no front matter instead of throwing error 2017-07-17 12:25:36 -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
fbae29b0ff Run Prettier 2017-07-10 16:38:35 -07:00
Frank Li
30a8ff329a Integrate handling of translation tag into static html building, add default description to translate tags 2017-07-10 14:08:00 -07:00
Joel Marcey
e3139eea2f Initial commit 2017-07-07 10:28:29 -07:00