docusaurus/lib/server
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
..
generate.js Write CNAME file if custom domain 2017-07-28 07:40:31 -07:00
readCategories.js Update use of readCategories.js 2017-07-25 16:30:49 -07:00
readMetadata.js Skip processing any docs with empty/no front matter instead of throwing error 2017-07-17 12:25:36 -07:00
server.js Update use of readCategories.js 2017-07-25 16:30:49 -07:00
translate-plugin.js Fix translation functionality to properly condense whitespace and parse escaped characters (#17) 2017-07-16 20:34:26 -07:00
translate.js Fix translation functionality to properly condense whitespace and parse escaped characters (#17) 2017-07-16 20:34:26 -07:00
translation.js Move references to languages and translated strings out of siteConfig.js into new translation.js module 2017-07-11 17:03:27 -07:00