Commit graph

66 commits

Author SHA1 Message Date
Yangshun Tay
8375236db4 fix(v2): s/blogMetadatas/blogMetadata 2019-02-24 23:33:08 -08:00
Yangshun Tay
03ac87a1e1 chore(v2): remove console.log 2019-02-24 23:20:47 -08:00
Yangshun Tay
e5b7daef33 feat(v2): create docusaurus-content-blog plugin draft 2019-02-24 23:11:15 -08:00
Yangshun Tay
211e04f409 refactor(v2): shift generated files out of core into website dir 2019-02-24 15:20:58 -08:00
Yangshun Tay
f559b1dc7c refactor(v2): move website dir out of v2 for cleaner separations 2019-02-24 14:13:08 -08:00
Yangshun Tay
63851a6f14 chore(v2): remove prettier from specific projects 2019-02-23 14:28:32 -08:00
Yangshun Tay
7eac4827ad fix(v2): lint 2019-02-23 13:26:45 -08:00
Yangshun Tay
b33de00a32 chore(v2): generic styling improvements 2019-02-23 12:50:31 -08:00
Yangshun Tay
c46a894a01 chore(v2): remove hardcoded references to config filename 2019-02-23 11:59:44 -08:00
Yangshun Tay
7dae4bd0d1
chore: rename siteConfig.js to docusaurus.config.js (#1245)
* chore: rename siteConfig.js to docusaurus.config.js

* Prettier
2019-02-23 11:16:24 -08:00
Paul O’Shannessy
360696f269 Remove more references to code.facebook.com (#1231)
I missed a couple things in #1224 :(
2019-02-12 12:20:44 -08:00
Yangshun Tay
31d0b5fec1 chore: upgrade v2 deps 2019-02-10 02:06:41 +08:00
Endilie Yacop Sucipto
9360739cba
fix: support relative markdown linking (#1138)
* fix: relative markdown reference linking

* prioritize relative linking resolve
2018-12-04 12:26:43 +08:00
Jake Bolam
c4a9b31984 feat: add custom commit message (#1136)
* feat: add custom commit message

Addresses: #1135

* Update publish-gh-pages.js

* add support to v2 as well

* docs: add them

* docs
2018-12-04 12:26:21 +08:00
Endilie Yacop Sucipto
beca1697ff
chore(v2): update webpack dependencies (#1120) 2018-11-21 15:57:54 +08:00
Endilie Yacop Sucipto
b84754dde8
chore(v2): normalize url properly (#1105)
* refactor(v2): normalize url properly

* nits
2018-11-12 00:25:13 +08:00
Endilie Yacop Sucipto
a0d229d808
feat(v2): better UX to avoid flashing screen on first page reload (#1100) 2018-11-08 11:19:37 +08:00
Endilie Yacop Sucipto
fc7ba5b6b1
chore(v2): switch from uglifyjs-webpack-plugin to terser-webpack-plugin (#1099) 2018-11-08 10:58:52 +08:00
Endilie Yacop Sucipto
8695ed89a6
refactor(v2): use react hooks on root app (#1095)
* refactor(v2): use functional component + react hooks for App

* docusaurus/link

* nits

* review
2018-11-08 10:23:07 +08:00
Yangshun Tay
13a21b2374 feat(v2): rewrite docs loading strategy (#1092)
* feat(v2): rewrite docs loading strategy

* Prettify

* Lint

* Allow resolving from library root

* minor changes, refactor

* copyright header
2018-11-07 16:39:47 +08:00
Yangshun Tay
db9e07886c chore(v2): fix copyright header again 2018-10-31 10:49:12 -07:00
endiliey
62b5895ef8 style(v2): better loading screen 2018-10-30 23:17:32 +08:00
Yangshun Tay
6cec7ce982 feat(v2): render Markdown on server-side instead (#1077)
* feat(v2): render Markdown on server-side instead

* move to folder
2018-10-30 22:45:07 +08:00
Yangshun Tay
d479f42ff5 chore(v2): add copyright header to Navbar 2018-10-29 13:40:24 -07:00
Endilie Yacop Sucipto
85336649d3
feat(v2): headerlinks (#1074)
* feat(v2): headerlinks

* fix test

* nits

* remove tictactoe:

* headerIcon

* nits

* remove lang dropdown

* fix failing test

* search box

* algolia search

* use babel-eslint to resolve dynamic import

* nits

* favicon and title

* Update .eslintignore
2018-10-28 16:32:19 +08:00
Yangshun Tay
d4458b394c
chore(v2): lint website dir (#1073)
* chore(v2): lint website dir

* chore(v2): lint website dir

* fix CircleCI config
2018-10-27 12:01:10 -07:00
Yangshun Tay
40f620047a refactor(v2): use React hooks! (#1072) 2018-10-27 15:06:05 +08:00
Endilie Yacop Sucipto
f84332d0a0
feat(v2): webpack prefetch for better UX (#1071)
* feat(v2): webpack prefetch for better UX

* test snapshot update

* nits
2018-10-27 13:48:10 +08:00
Blaine Bublitz
bbf355fdc7 feat: support reference-style linking in documents (#1048)
feat: support reference-style linking in documents
2018-10-27 12:33:44 +08:00
Yangshun Tay
7488de266f chore: add final copyright headers 2018-10-26 18:27:37 -07:00
Yangshun Tay
c7336462ec
feat(v2): support non-css modules when loading styles (#1069) 2018-10-25 21:43:31 -07:00
Yangshun Tay
c9e29c86a5
chore(v2): add Facebook copyright headers (#1067) 2018-10-25 17:03:19 -07:00
Endilie Yacop Sucipto
fd780f19a2
feat(v2): generate sitemap (#1065)
* feat(v2): generate sitemap

* cannot snapshot sitemap because xml generated in different order
2018-10-25 21:47:13 +08:00
Endilie Yacop Sucipto
12fd204840
feat(v2): implement blog (#1062)
* feat(v2): implement blog

* expect flat blog structure

* \n

* blogpage can import many posts
2018-10-25 14:23:29 +08:00
Sviatoslav
a2d3f26722 feat(v2): support external links and linking to docs from other sidebars (#1052)
* feat(sidebar): support external links and linking to docs from other sidebars

* Update styles.css
2018-10-25 00:01:39 -04:00
Endilie Yacop Sucipto
3e901f8706 feat(v2): live reload sidebars.json (#1058) 2018-10-23 07:31:30 -04:00
Endilie Yacop Sucipto
d8e5f315f1 fix(v2): prioritize node_modules resolve (#1057) 2018-10-23 07:15:57 -04:00
Endilie Yacop Sucipto
5d60739f7c fix(v2): map loaded modules to bundles (#1056)
* fix(v2): map loaded modules to bundles

* nits
2018-10-23 03:53:18 -04:00
Yangshun Tay
2ce6ca5854 feat(v2): style appearance 2018-10-23 03:02:09 -04:00
Yangshun Tay
58d60b5650 docs(v2): point to shared docs 2018-10-22 21:17:30 -04:00
Yangshun Tay
11615695d1 feat(v2): implement landing page 2018-10-22 03:03:31 -04:00
Yangshun Tay
ba96992225
feat(v2): style navbar (#1044) 2018-10-16 10:31:28 -07:00
Yangshun Tay
6b4ec3039d feat(v2): fix sidebar item padding 2018-10-15 23:09:58 -07:00
Yangshun Tay
e0d96a4b38 feat(v2): style up sidebar 2018-10-15 23:04:06 -07:00
Vikram Rangaraj
1c333ee22a chore(v2): revert back to babel-plugin-dynamic-import-node (#1037) 2018-10-14 15:22:06 -07:00
Yangshun Tay
ff11d17625
chore: finer-grain per-project Prettier commands (#1032)
* chore: reorganize prettier commands

* Add back prettier:diff
2018-10-14 14:41:57 -07:00
Yangshun Tay
bc7be697ad
feat(v2): skin paginator component (#1033) 2018-10-14 12:29:22 -07:00
Endilie Yacop Sucipto
c277f46a60
chore(v2): temporarily add available urls to footer (#1022)
* chore(v2): temporarily add available urls to footer

* use react-router Link

* nits
2018-10-08 18:10:12 +08:00
Endilie Yacop Sucipto
f62029c30e
feat(v2): enable subcategories (#1021)
* feat(v2): enable subcategories

* nits

* eslint issue https://github.com/prettier/prettier/issues/3734
2018-10-08 17:50:28 +08:00
Fienny Angelina
d052feec40 chore(v2): upgrade to Babel 7 (#1012)
* Upgrade babel in v2 folder

* Use babel-plugin-transform-dynamic-import instead of babel-plugin-dynamic-import-node

* Remove not needed import polyfill by changing the order of import

* Revert "Remove not needed import polyfill by changing the order of import"

This reverts commit 9263aa693a.

* Fix prettier
2018-10-08 14:42:31 +08:00