Commit graph

1280 commits

Author SHA1 Message Date
Joel Marcey
89f49b02c8 Fix Verdaccio image 2018-09-07 19:10:23 -07:00
endiliey
185f7b1ed1 fix: yarn build error 2018-09-08 00:46:15 +08:00
endiliey
59fa427dbd test: add metadata test 2018-09-08 00:41:17 +08:00
endiliey
68518002d7 fix: docs translation & versioning metadata 2018-09-07 22:28:33 +08:00
endiliey
0cef519e7f test: fix inconsistent test 2018-09-07 21:51:18 +08:00
endiliey
0f38ae3979 feat:docs translation + versioning 💥 2018-09-07 20:41:04 +08:00
endiliey
31d333b82f test: add easy setup for test cases 2018-09-07 20:25:04 +08:00
endiliey
b477863a30 chore: prepare for docs sidebar 2018-09-07 14:00:46 +08:00
endiliey
2141e6ea90 test: loadPages 2018-09-07 13:53:14 +08:00
endiliey
988232edd4 wip: trans & versioning 2018-09-07 13:51:01 +08:00
Eric Nakagawa
ac01fcf881
Merge pull request #936 from wszgxa/add-docker-support
Add docker support
2018-09-06 11:20:11 -07:00
Eric Nakagawa
3094afdce3 Rewrote some of the new Docker copy. 2018-09-06 11:13:13 -07:00
endiliey
d00864d222 feat: add @theme/Markdown to allow user modify their own markdown react component 2018-09-06 21:41:08 +08:00
endiliey
91763b0f76 rename func copyFileToWebsite to copyFileToProjectFolder 2018-09-06 19:28:49 +08:00
endiliey
b00b933ab9 docs nit 2018-09-06 01:59:16 +08:00
endiliey
87bd1bea05 nits & better console.log 2018-09-06 01:51:33 +08:00
endiliey
391a8b5500 refactor: re-implement idx (safe getter) & add test 2018-09-06 00:24:26 +08:00
Ethan Marrs
4bc010bfcc Fix minor documentation wording issue (#945)
* The phrase "It has no inherit meaning" should probably be "It has no inherent meaning".
2018-09-05 17:36:07 +08:00
Endilie Yacop Sucipto
39b77935c4
chore: add documentation issue template 2018-09-05 10:24:58 +08:00
endiliey
1ff6733464 feat: add loadEnv to check if translation / versioning is enabled 2018-09-04 23:43:38 +08:00
Hilu luke
969399c6c5 Enable passing attributes to scripts and links (#937) 2018-09-03 15:46:55 -07:00
endiliey
828d99dc8e refactor: load theme 2018-09-03 23:30:28 +08:00
hiluluke
a1a26d1c2e Add docker support document 2018-09-03 13:21:06 +08:00
hiluluke
6dcd24ec8d Add docker related file to basic example 2018-09-03 13:21:03 +08:00
Tirth Bodawala
2cbfeffd81 Add support for Web App Manifest in siteConfig (#934)
* Add support for Web App Manifest in siteConfig

* Update api-site-config.md

* Update api-site-config.md
2018-09-02 10:25:15 -07:00
endiliey
f1daddb5f9 fix: headernav linking to custom page should check if translation is enabled 2018-09-02 17:11:34 +08:00
Jaril Valenciano
e613725a25 Fix button wrapping behavior on mobile (#921)
* fixed button wrapping behavior

previous+next buttons with long text now stack properly on smaller screens

* truncates function/component names of prev/next buttons

Function/component names are truncated, while regular titles are wrapped

* removed unused styles

* fixed using idx (safe getter) for previous/next titles

passed through prettier and all tests pass
2018-09-01 22:45:32 -07:00
Jaril Valenciano
7987e66bed Add new README.md for new Docusaurus projects (#930)
* added new readme.md

* Update README.md
2018-09-01 13:50:57 -07:00
Yangshun Tay
421d9b03de Add Bowler to users (#933) 2018-08-30 15:09:40 -07:00
Endilie Yacop Sucipto
88904ab37b
fix: headerNav should link to 'blog/', not 'blog' for consistency (#931)
fix: headerNav should link to 'blog/', not 'blog' for consistency
2018-08-30 19:40:53 +08:00
endiliey
10b1a38762 feat: allow user to modify generated webpack config 2018-08-30 03:30:44 +08:00
endiliey
2b5ee3e869 feat: enable custom theme with eject 2018-08-30 01:03:38 +08:00
endiliey
8c6bc6dd38 feat: able to specify host for dev (e.g: 0.0.0.0) 2018-08-30 01:00:54 +08:00
endiliey
9965eec798 feat: throw error if there is wrong field on siteConfig.js 2018-08-30 00:14:31 +08:00
Shubham Bansal
1a572757f1 feat: last updated time in docs (#913)
* Adding last updated time for docs

* Making file path general and other suggested changes

* Checking if time returned is null due to absence of git or some other issue

* Adding option to enable/disable update time feature and test-doc

* Adding simple unit tests for getGitUpdateTime()

* nits & rewrote failing test

* consistent test naming

* Adding optional updateEnableTime in documentation

* package-lock & yarn.lock
2018-08-29 21:15:18 +08:00
nchanged
5542ace288 docs: added FuseBox to users (#927) 2018-08-29 09:20:19 +08:00
Laxman
cfabaedc99 Fix: conflicting strings issue in translations (#917)
* Fix conflicting strings issue in translations

* Preserve structure of `customTranslations`

* Use `deepmerge` to merge whole of `localized-strings`

* Simplify and make deep property access on an object safe

* Fix deep property accessor and rename it to idx
2018-08-29 00:04:02 +08:00
endiliey
ef17da741a chore: nits && lint 2018-08-28 22:44:33 +08:00
Endilie Yacop Sucipto
d18b09954b Fix: transformation of url to cleanUrl / pretty url (#923)
* fix: pretty url should only remove html extension

* cleanUrl of '/index.html' should be '/'
2018-08-27 21:09:50 -07:00
endiliey
9dc4cc2ff4 chore: add another react pages examples 2018-08-26 20:35:16 +08:00
endiliey
ea37e54477 feat: hljs syntax highlighting & nits 2018-08-26 19:43:22 +08:00
Jaril Valenciano
ba76eddc87 Convert Docusaurus banner image into SVG (#915)
* replaced readme header image

Changed from .PNG to .SVG to eliminate blurriness on high-resolution screens

* compressed header .SVG

* Replaced header image in blog post

Blogpost: Introducing Docusaurus
2018-08-25 12:44:28 -07:00
endiliey
0058b20d9e chore: add missing dep & nits :( 2018-08-26 03:19:09 +08:00
endiliey
3530cbe173 test: update test webpack 2018-08-26 03:15:25 +08:00
endiliey
be3d259ac8 chore: better examples 2018-08-26 03:11:28 +08:00
endiliey
d3e12c9455 chore: update docs examples 2018-08-26 03:10:50 +08:00
Endilie Yacop Sucipto
99cc83e88c
chore: update readme 2018-08-24 10:29:44 +08:00
endiliey
23a85d9074 fix: hot reload port should not be hardcoded in case it is used 2018-08-24 00:05:50 +08:00
endiliey
1f2c8a39a9 chore: nits 2018-08-23 23:36:39 +08:00
endiliey
e13e1bffb4 feat: remove/clean your build folder(s) before building 2018-08-23 23:07:42 +08:00