Commit graph

125 commits

Author SHA1 Message Date
Yangshun Tay
64fdafbcea fix: replace use of deepmerge with _.merge (#1430) 2019-05-02 22:00:28 +07:00
endiliey
578c53a936 fix(v2): fix deploy to GitHub pages script 2019-05-02 19:49:04 +08:00
Endi
373d17ee72
refactor(v2): simplify code by removing wip i18n & translation (#1431)
* refactor(v2): remove i18n & versioning + cleaner code

* totally remove i18n and versioning from plugin
2019-05-02 17:24:47 +07:00
Zach Badgett
0813920349 refactor: refactor code tab split (#1369)
* refactor: refactor code tab split

* Add split tab unit test

* Fix code tab list bug
2019-05-01 20:57:13 -07:00
James George
5030952a8f feat(v2-cli): Added new environment info command (#1410)
* Adds new info command

Shows up essential debugging information about the environment

* Minor fix

* Remove npmGlobalPackages from envinfo

* Fix up glob pattern

* Minor fix

* Update glob pattern

* fix envinfo glob pattern and params

* prettier

* simplify glob
2019-05-01 21:24:45 +07:00
endiliey
76d210f1f1 v2.0.0-alpha.13 2019-05-01 21:27:50 +08:00
Endi
ff14666450
fix(v2): fix SSR mismatch location for non default baseurl (#1429) 2019-05-01 20:21:39 +07:00
endiliey
ec221f5b7c docs(v2): write abit about plugin api 2019-05-01 19:48:55 +08:00
Endi
a1ee1ab140
chore(v2): use normalizeUrl instead of path.join (#1428)
* chore(v2): use normalizeUrl instead of path.join

* address review
2019-04-30 23:05:27 +07:00
Endi
15f84d401e fix(v2): anchor css not working on blog (#1426)
* fix(v2): anchor css not working on blog

* spacing
2019-04-30 07:53:10 -07:00
endiliey
bc83a81e2d fix(v2): fix blog ordering 2019-04-30 22:39:20 +08:00
endiliey
aee5834c8a fix(v2): deploy script should force push 2019-04-30 22:13:04 +08:00
endiliey
fbe2fb879f fix(v2): plugin-content-blog should have mdx-loader as dependency 2019-04-30 16:42:36 +08:00
endiliey
86c24e9cf5 v2.0.0-alpha.12 2019-04-30 16:19:26 +08:00
Yangshun Tay
cb7dc93a53
feat(v2): create useDocusaurusContext (#1418) 2019-04-29 23:06:25 -07:00
Yangshun Tay
35e6648169
v1.9.0 (#1417)
* v1.9.0

* misc: add links to PR
2019-04-29 15:31:34 -07:00
Yangshun Tay
2fe73edc22
docs: add versioning to tutorial (#1413)
* docs: add versioning to tutorial

* docs: address Endilie's comments
2019-04-29 09:51:42 -07:00
Endi
6f16335fa9 fix(v2): make sure non default baseUrl works on build & dev (#1414)
* fix non default baseUrl not working for client

* fix website build for non defautl baseurl

* optimize

* remove console log
2019-04-29 08:52:16 -07:00
Nisheal John
65bb8ef978 fix: make body background white (#1409)
* Adding background-color as white

* Removed background-color from body of markswatch theme
2019-04-28 20:32:16 -07:00
Yangshun Tay
5d6dc49bcd
docs(v2): add docs skeleton and structure (#1412)
* docs(v2): add docs skeleton and structure

* docs(v2): add on

* docs(v2): move motivation into contributing
2019-04-28 20:20:24 -07:00
Endi
528bd7f280 chore(v2): add tbd v2 docs (#1408)
* docs(v2): docusaurus 2 own docs

* misc(v2): try to get multiple sidebar working

* misc(v2): tweak CSS

* fix(v2): fix conflicting docsMetadata
2019-04-28 09:43:40 -07:00
Endi
96cc3dbc88
fix(v2): don't render docs baseUrl because its empty (#1407) 2019-04-28 23:11:17 +07:00
Yangshun Tay
361986515c
feat(v2): presets (#1401)
* feat(v2): presets

* misc: add newline

* misc: add tests

* misc: fix path
2019-04-27 10:47:56 -07:00
Endilie Yacop Sucipto
808a6d0f5b
chore(v2): make the site slightly more mobile friendly (#1402)
* chore(v2): make the site slightly more mobile friendly

* nits

* remove console.log
2019-04-27 16:13:34 +07:00
endiliey
569985ad80 fix(v2): sidebar not appearing on index.html version 2019-04-27 17:06:44 +08:00
Endilie Yacop Sucipto
b3cf9c62d5
feat(v2): createData plugin API (#1400)
* feat(v2): createModule plugin api

* remove unused stuff

* address review, createModule -> createData

* link.link -> link.url

* remove youtube page

* update yarn.lock
2019-04-27 14:13:53 +07:00
Roland Balogh
195e934858 feat: change icon for navToggle (#1394) 2019-04-26 09:50:41 -07:00
Endilie Yacop Sucipto
16bec1cb47 refactor(v2): use hash to compare generated content (#1397) 2019-04-26 09:25:00 -07:00
James George
2a8d973a6e feat(v2): Warn & output help if unknown docusaurus <command> is provided (#1399) 2019-04-26 22:44:39 +07:00
endiliey
7339bfea35 v2.0.0-alpha.11 2019-04-25 23:02:15 +08:00
Endilie Yacop Sucipto
b7a5cfb463
refactor(v2): code-split NotFound/ wildcard path (#1392)
* refactor(v2): code-split NotFound/ wildcard path

* nits

* typo
2019-04-25 21:58:28 +07:00
Nathaniel Tucker
c1026516e1 fix: prism syntax highlight .tsx properly (#1391) 2019-04-25 20:42:10 +07:00
Endilie Yacop Sucipto
cfbece5488
chore(v2): use null-loader for non css module in server bundle (#1388)
* chore(v2): use null-loader for non css module in server bundle

* take out nprogress.css

* css nits
2019-04-25 20:27:24 +07:00
Yangshun Tay
6d53264652 fix(v2): wait plugin watching approach (#1390)
* fix(v2): wait plugin watching approach

* Update package.json

* rush fix

* Use 2. x branch

* Update WaitPlugin.js

* yarn.lock

* use polling

* switch chokidar w-> wait-on npm package
2019-04-25 20:18:17 +07:00
Endilie Yacop Sucipto
cb8c7125db fix(v2): fix hash-link css (#1387)
* fix(v2): fix hash-link css

* fix(v2): use fswatch instead of timeout polling to wait for client manifest (#1389)

* fix(v2): use chokidar/fswatch instead of polling w timeout to wait client-manifest

* refactor -> less code

* DRY code

* Update styles.css

* fix(v2): toggle hash-link opacity
2019-04-24 10:17:40 -07:00
Endilie Yacop Sucipto
d2181e332d fix(v2): use fswatch instead of timeout polling to wait for client manifest (#1389)
* fix(v2): use chokidar/fswatch instead of polling w timeout to wait client-manifest

* refactor -> less code

* DRY code
2019-04-24 08:26:16 -07:00
Yangshun Tay
6a853ff7d7 v1.8.3 2019-04-23 22:06:37 -07:00
Yangshun Tay
2b9b0af49d v1.8.3 2019-04-23 22:05:08 -07:00
Yangshun Tay
33a341e8c0 v2.0.0-alpha.10 2019-04-23 22:03:49 -07:00
Yangshun Tay
c50463fed4 v2.0.0-alpha.9 2019-04-23 22:02:29 -07:00
Yangshun Tay
f8c2f472c8 v2.0.0-alpha.8 2019-04-23 21:49:43 -07:00
Radosław Miernik
93894e7bdc feat(v2): headings anchors (#1385)
* feat(v2): headings anchors

* misc: make hash link appear on hover

* misc: convert to rem
2019-04-23 21:41:51 -07:00
Yangshun Tay
82ded54b1a misc: fixes 2019-04-23 21:23:18 -07:00
Endilie Yacop Sucipto
10908009e3
feat(v2): 🔥 🔥 better loading UX ️ (#1383)
* feat(v2): render old screen while loading

* replace and remove stuff

* spacing

* add spinner back, just as a fallback

* nits

* Turn off loading spinner on top right

* address review
2019-04-24 01:08:50 +07:00
endiliey
2d24e478a5 fix(v2): fix prism not working 2019-04-24 00:23:01 +08:00
endiliey
311c88cd76 chore(v2): change algolia API key & fix css 2019-04-23 23:16:48 +08:00
Endilie Yacop Sucipto
60c24ef1f9
chore(v2): make site algolia compliant (#1384) 2019-04-23 20:36:41 +07:00
Endilie Yacop Sucipto
745f32b010
feat(v2): support rightToc, emoji, slug for docs (#1382)
* add remark-slug and remark-emoji

* implement right TOC remark plugin

* use rehype-slug ecosystem instead of remark for perf

* first rough implementation for right toc

* nits

* remove unwanted changes

* fix left border styling

* remove depths

* inline snapshot
2019-04-23 15:22:11 +07:00
Radosław Miernik
37897ffc96 fix(v2): prefetch only existing chunks (#1380) 2019-04-22 12:09:46 -07:00
Yangshun Tay
21793a833d
feat: docusaurus-init without example directories (#1378)
* feat: do not copy into examples folder

* Update documentation

* feat: use Undraw illustrations for initialized landing page (#1379)
2019-04-21 22:28:35 -07:00