docusaurus/lib
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
..
core Update use of readCategories.js 2017-07-25 16:30:49 -07:00
server Write CNAME file if custom domain 2017-07-28 07:40:31 -07:00
static Add syntax highlighting for more languages besides Javascript 2017-07-24 14:53:00 -07:00
build-files.js Update build-files.js to ignore .babelrc file 2017-07-18 11:44:44 -07:00
copy-examples.js Update message when file to copy already exists 2017-07-17 16:36:20 -07:00
publish-gh-pages.js Run Prettier 2017-07-10 16:38:35 -07:00
start-server.js Update start-server.js to ignore .babelrc files 2017-07-18 11:44:19 -07:00
write-translations.js Add optional sidebar_title docs front matter field for sidebar titles distinct from document article titles 2017-07-17 10:57:08 -07:00