Commit graph

40 commits

Author SHA1 Message Date
Endilie Yacop Sucipto
643addb729
feat(v2): enable JSX in markdown using MDX (#1263)
* feat(v2): enable JSX in markdown

* reformat docs

* chore(v2): nits

* remove dummy test

* include .mdx extension

* add syntax highlighting with prismjs
2019-03-08 01:02:47 +08:00
Yangshun Tay
d64581f2b4 misc(v2): misc fixes 2019-03-04 22:39:07 -08:00
endiliey
95b0cb942f fix(v2): blog not showing metadata & missing asset 2019-03-04 16:24:39 +08:00
Yangshun Tay
7475051526 refactor(v2): convert blog page to be added to routes by plugin lifecycle 2019-03-03 22:14:16 -08:00
Yangshun Tay
70d185d862 fix(v2): don't display footer on docs page 2019-03-02 21:03:58 -08:00
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
63851a6f14 chore(v2): remove prettier from specific projects 2019-02-23 14:28:32 -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
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
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
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
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
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
Yangshun Tay
2e9656917c style(v2): basic sidebar component (#1020) 2018-10-07 16:23:41 +08:00
Erik Sultanaliev
aae5c4dc85 fix: highlightjs custom highlighting function(#1016)
* Added line for syntax definition #960

* chore: nits & fix for v2 as well
2018-10-05 15:59:24 +08:00
Yangshun Tay
bdbbfaee91 style(v2): add static footer component (#1019) 2018-10-05 15:27:37 +08:00
Yangshun Tay
e3d57d244b
refactor(v2): extract out into standalone components (#1017) 2018-10-04 14:43:36 -07:00
Endilie Yacop Sucipto
8691a2525c
feat: custom pages (#994) 2018-09-29 00:18:38 +08:00
Yangshun Tay
9d4a5d5359
Prettify all JavaScript files (#964)
* Prettify all JavaScript files

* Make trailingComma all

* Delete v2/.prettierignore

* Remove v2 Prettier commands in package.json
2018-09-17 15:34:55 +08:00
Yangshun Tay
a1de6dab04 chore: fix line endings in v2 2018-09-17 12:50:43 +08:00
endiliey
dcb733a63a v2: nits 2018-09-17 12:09:14 +08:00
endiliey
45736200b0 v2: prepare to move 2018-09-17 11:16:07 +08:00