Christian Oliff
3e2cfc27ff
No need for chromeframe tag ( #328 )
...
Remove the unneeded chromeframe tag, it has long since been retired by Google and was only ever needed for very old IE (would render the page in Chrome within IE).
REF: http://www.chromium.org/developers/how-tos/chrome-frame-getting-started
2017-12-20 10:56:00 -08:00
Ricky Vetter
d79ff9eaf0
add docs for wrapPagesHTML ( #332 )
2017-12-20 10:35:50 -08:00
Joel Marcey
665b2da09f
Prettier fix for ce338fff64
2017-12-20 10:07:57 -08:00
Ricky Vetter
ce338fff64
Merge pull request #275 from rickyvetter/wrapPagesHTML
...
add wrapPagesHTML which renders html snippets in pages inside of a header + footer
2017-12-20 10:05:21 -08:00
Joel Marcey
4d704c1c09
Update package-lock.json
2017-12-20 10:04:34 -08:00
Joel Marcey
db65f4b7fd
Prettier fix for b96fae035f
2017-12-20 10:03:24 -08:00
António Afonso
b96fae035f
Guard against lack of layouts
in siteConfig.js ( #330 )
...
If a document states a `layout` in its header but `layouts` doesn't exist in `siteConfig.js` the doc would not render.
2017-12-20 09:55:10 -08:00
Lachlan Campbell
0a9aa41538
Fix form of its ( #329 )
2017-12-20 07:32:07 -08:00
Thomas Broadley
b5fefcc676
docs: fix typos ( #327 )
2017-12-19 21:39:18 -08:00
Joel Marcey
83e8802d01
Add description for useEnglishUrl
2017-12-19 21:35:24 -08:00
Joel Marcey
a12ebcd401
Don't translate if we do not have a language
...
This will most likely be because we have not enabled translation
2017-12-19 17:58:49 -08:00
Joel Marcey
ff117979c6
Add language to the version part
...
just like we did with the language part
otherwise we get `-version-....` ids with no prefixes
2017-12-19 17:51:03 -08:00
Richard Zhang
a5e963dba1
Issue 305 broken link because of language fixes ( #322 )
...
* without having having to worry about site design.
Let me know if double having is intentional
* distinguish case of no translation and en lang
* prettier recommends
* distinguish case of no translation and en lang
* prettier recommends
* merge with latest origin/master changes
* typo
* link with language fixes
* do not show language dropdown if only one enabled
* check translation outside of LanguageDropDown.render
2017-12-19 17:44:43 -08:00
Joel Marcey
4a3da1f30a
Add a change log
...
via a CHANGELOG.md
2017-12-19 15:53:18 -08:00
Héctor Ramos
eafcf13a4c
Switch rsync for fs-extra ( #321 )
2017-12-19 13:29:41 -08:00
Joel Marcey
54ffbddcd8
Add more details when failing to copy assets upon publish
2017-12-19 12:50:22 -08:00
Héctor Ramos
60bd8bc754
Switch to rsync package ( #320 )
...
* Switch to rsync package
This removes the need to install rsync natively in CI
* Update publish-gh-pages.js
2017-12-19 12:34:12 -08:00
ymz
ddf9827ae6
Fix zh-Hans' Chinese word & Beautify code ( #311 )
...
"中文" means both "zh-Hans" and "zh-Hant"
"简体中文" means "zh-Hans"
"繁體中文" means "zh-Hant"
References:
- [What's New in Globalization and Localization - msdn.microsoft.com](https://msdn.microsoft.com/en-us/library/dd997383(v=vs.100).aspx#new_specific_cultures )
- [zh-cn 与 zh-hans 是什么关系、有什么区别? - zhihu.com](https://www.zhihu.com/question/21980689 )
2017-12-19 12:31:28 -08:00
Joel Marcey
18c9a2ab31
Revert "Fixing Issue 305 - broken links because of language ( #316 )"
...
This reverts commit 7dc6c6c2da
.
2017-12-19 09:23:41 -08:00
Richard Zhang
7dc6c6c2da
Fixing Issue 305 - broken links because of language ( #316 )
...
* without having having to worry about site design.
Let me know if double having is intentional
* distinguish case of no translation and en lang
* prettier recommends
* distinguish case of no translation and en lang
* prettier recommends
* merge with latest origin/master changes
* typo
2017-12-19 09:20:32 -08:00
Joel Marcey
f52e12df84
Add running Jest tests to CONTRIBUTING.md
2017-12-18 14:48:13 -08:00
Joel Marcey
f5db4c3f80
Update package and yarn lock files
2017-12-18 14:44:57 -08:00
Héctor Ramos
9dadb3578c
Add first set of docusaurus-build tests using Jest ( #259 )
...
* 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
* Initial test suite
* Rename test to match original file
* restore test files
* Remove yarn.lock from pull request. Will run it again in a separate commit
2017-12-18 14:40:52 -08:00
azu
8ec4a6bfe5
Add almin to users ( #303 )
2017-12-18 11:56:05 -08:00
Dilpreet Singh
12c54f7819
Fixes documentation link in contributing.md ( #314 )
2017-12-18 11:51:16 -08:00
neilsutcliffe
21cbece838
Fixes to testing guide (for Windows only) ( #304 )
...
* Fixes to testing guide (for Windows only)
* Fixed line ending detection for UNIX and Windows
* Removed incorrect instructions about translations
* Removed redudant heading and turned it into a note.
2017-12-18 11:48:53 -08:00
Héctor Ramos
1db69285e5
Split showcase into FB and non-FB ( #315 )
2017-12-18 11:47:57 -08:00
neilsutcliffe
b374391446
Ensured that any H1 elements in content appear correct size ( #306 )
2017-12-18 10:17:15 -08:00
Joel Marcey
d14dff7480
Prettier formatting fixes
2017-12-18 10:04:27 -08:00
Forbes Lindesay
a49787a56e
Rethrow promise errors ( #296 )
2017-12-18 10:03:02 -08:00
Joel Marcey
9c7836979f
Fixes from prettier
...
Yeah, we should get this running apriori for pull requests :)
2017-12-18 09:29:45 -08:00
António Afonso
829508797e
A bunch of tiny little fixes for issues I found while setting up docusaurus ( #312 )
...
* Do not show users related UI if no users have been specified
* Fixed typo in Docusaurus homepage link
* Allow projects without icons
Not every project has an icon, so avoid showing a broken image in that case.
* Do not show project icon in the footer if there's no footer icon
2017-12-18 09:26:33 -08:00
azu
e865ed88a0
Fix broken or redirected links ( #302 )
2017-12-17 16:44:07 -08:00
Richard Zhang
2f860ecfe7
Issue 245 fix ( #299 )
...
* without having having to worry about site design.
Let me know if double having is intentional
* sitemap display flex with direction as column on mobile
2017-12-17 16:35:39 -08:00
Joel Marcey
ef8ee5bf6c
Run Prettier
2017-12-17 16:10:23 -08:00
Richard Zhang
73c6da0b8f
Index page composition ( #293 )
...
* without having having to worry about site design.
Let me know if double having is intentional
* index page composition
2017-12-17 16:07:11 -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
Kunall Banerjee
c60131fdb4
cleanup startup logs ( #291 )
2017-12-16 16:51:52 -08:00
Joel Marcey
731251172e
Version docs should say run examples versions
2017-12-16 16:33:50 -08:00
Joel Marcey
2bc543852e
Fix documentation link in help.js
...
However, we need to come up with a way to have /docs/ redirect
correctly
2017-12-14 19:31:36 -08:00
Will Monk
deafdbde04
Fix Broken Link To Installation Docs ( #289 )
2017-12-14 12:51:04 -08:00
Joel Marcey
43fcd81d04
Move google verification file to static/
2017-12-14 12:34:54 -08:00
Joel Marcey
5ce5225de1
Add Google site verification file
2017-12-14 12:32:06 -08:00
Richard Zhang
a25431a171
without having having to worry about site design. ( #288 )
...
Let me know if double having is intentional
2017-12-14 12:20:30 -08:00
Darren Richards
621bd29e7a
Fix typo ( #286 )
2017-12-14 11:07:21 -08:00
Joel Marcey
57712d27f5
Use png for og:image
2017-12-14 10:07:20 -08:00
Joel Marcey
7dbdf17b0b
Bump to Docusaurus 1.0.3
2017-12-14 09:54:37 -08:00
Joel Marcey
c888bc52b9
Fix og:image URL to make it absolute
2017-12-14 09:53:37 -08:00
Joel Marcey
67dc79446a
Move docusaurus image to community section in blog post
2017-12-14 09:44:12 -08:00
Joel Marcey
606029b9ff
Fix prettier
2017-12-14 09:38:32 -08:00