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
ae4c577237
Fix to metadata ids
2017-08-14 10:19:01 -07:00
Frank Li
2e33758bef
Clean up cache removal function
2017-08-11 11:39:04 -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
964e9e2108
Update doc metadata to use file name as id fallback and id as title fallback
2017-08-10 14:51:34 -07:00
Frank Li
db7a7394b3
Merge pull request #61 from facebookexperimental/error-messages
...
Add better error messages for most common cases
2017-08-10 13:46:58 -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
18bcc59fd0
Merge branch 'master' of https://github.com/facebookexperimental/Docusaurus
2017-08-09 16:25:25 -07:00
Frank Li
91fe923cf7
Fix variable declaration
2017-08-09 16:25:18 -07:00
Frank Li
88359ea845
Update messages for versioning
2017-08-09 16:17:39 -07:00
Frank Li
cdea25eceb
Merge branch 'master' of https://github.com/facebookexperimental/Docusaurus
2017-08-09 15:50:34 -07:00
Frank Li
374ca9b86c
Change sidebar.json to sidebars.json in versionFallback.js
2017-08-09 15:50:20 -07:00
Frank Li
b256d2f8d9
Initial changes to error messages
2017-08-09 15:43:30 -07:00
Frank Li
d2eaf04ec7
Fix markdown html link replacement
2017-08-08 15:44:51 -07:00
Frank Li
94a3265aab
Fix blog metadata
2017-08-08 14:58:41 -07:00
Frank Li
b94dbff181
Fix versioning bugs
2017-08-08 11:44:30 -07:00
Frank Li
9ddd2f5ea4
Merge branch 'master' into versioning
2017-08-08 11:39:23 -07:00
Frank Li
cf5ee95a48
Minor cleanup
2017-08-08 11:38:07 -07:00
Frank Li
4b96408fa5
Rename sidebar.json to sidebars.json
2017-08-07 17:25:52 -07:00
Frank Li
09ca732402
Allow document not in sidebar.json to be displayed
2017-08-07 15:15:09 -07:00
Frank Li
b4e9a068ab
Update server to provide message with full link
2017-08-07 11:08:37 -07:00
Frank Li
5c3f74ddcc
Fix removal of semver usage
2017-08-04 12:57:43 -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
d3e3d209a4
Add comments for new versioning files
2017-08-03 11:14: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
f3cb4d1860
Merge branch 'master' into sidebar-ordering
2017-07-25 16:34:57 -07:00
Frank Li
ab58eaa9fa
Update use of readCategories.js
2017-07-25 16:30:49 -07:00
Frank Li
abc5e325cd
Use information from "docSidebar.js" file instead of doc front matters for sidebars.
2017-07-24 13:33:58 -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
ee82575df0
Update server routing for static assets
2017-07-19 10:57:07 -07:00
Frank Li
a455ca9745
Update server routing
2017-07-19 10:50:32 -07:00
Frank Li
e3b99f800b
Update server routing for "docs" urls
2017-07-18 16:52:47 -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
523d824651
Fix translation functionality to properly condense whitespace and parse escaped characters ( #17 )
2017-07-16 20:34:26 -07:00
Frank Li
ea4a4f6fe3
Fix hardcoded port number
2017-07-12 14:43:24 -07:00
Frank Li
2d2f324c7d
Add new translate functionality to dev server
2017-07-12 11:38:02 -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
0f6800df10
Allow server port to be chosen and update example
2017-07-11 14:48:57 -07:00
Frank Li
3033688d40
Fix translate module
2017-07-10 16:45:36 -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