Commit graph

265 commits

Author SHA1 Message Date
Endi
174ad279a6
refactor(v2): move headerLinks -> themeConfig & rm dead code (#1442)
* refactor(v2): move headerLinks -> themeConfig & rm dead code

* rm -rf dead code
2019-05-08 15:47:32 +07:00
Yangshun Tay
384fd5708f feat(v2): Algolia search theme (#1440)
* feat(v2): Algolia search plugin

* patch PR #1440 (#1441)

* alternative implementation

* typo

* refactor noop

* rename SearchAlgolia -> SearchBar

* changes.md
2019-05-08 15:21:11 +07:00
Endi
0834784455
feat(v2): easier plugin theme components swizzling (#1436)
* feat(v2): easier plugin theme components override

* add context

* refactor again

* rename eject -> swizzle

* nits
2019-05-07 13:56:43 +07:00
Yangshun Tay
eedd4c481c feat(v2): implement theme component overriding (#1435)
* feat(v2): implement component overriding

* siteDir theme overriding should work for > 1 level directory

* fallback for essential component like Loading

* rename default -> classic
2019-05-06 19:25:04 +07:00
Yangshun Tay
637047af2c refactor(v2): remove page plugin component 2019-05-05 12:33:54 -07: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
endiliey
76d210f1f1 v2.0.0-alpha.13 2019-05-01 21:27:50 +08:00
endiliey
ec221f5b7c docs(v2): write abit about plugin api 2019-05-01 19:48:55 +08:00
endiliey
86c24e9cf5 v2.0.0-alpha.12 2019-04-30 16:19:26 +08: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
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
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
endiliey
7339bfea35 v2.0.0-alpha.11 2019-04-25 23:02:15 +08: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
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
90a1fbc535
fix(v2): flat function & window.docusaurus rename (#1377)
* fix(v2): flat function & window.docusaurus rename

* test nits

* nits space

* test fix
2019-04-21 16:54:14 +07:00
Yangshun Tay
2191fd662c fix(v2): keep up with infima updates 2019-04-20 18:22:04 -07:00
Endilie Yacop Sucipto
1d7538ff4a
feat(v2): prefetching/ preloading API (#1373)
* add prefetch helper function

* prefetchChunks pseudocode in Link

* chunkmap extractor & routeChunkNames

* wip

* wip prefetch

* rough implementation

* prefetch feedback page on home page

* dedupe prefetch&preload

* refactor/ remove unused

* double check client-manifest and chunk-map

* make sure build folder exist

* address review
2019-04-20 16:16:34 +07:00
Yangshun Tay
d00799f633 refactor(v2): use BEM for classes 2019-04-20 00:42:24 -07:00
endiliey
1ce4195f14 v2.0.0-alpha.7 2019-04-16 22:38:11 +08:00
endiliey
d097f73285 v2.0.0-alpha.6 2019-04-14 01:07:24 +08:00
Yangshun Tay
fbfb26e17c fix(v2): avatar class names 2019-04-12 23:00:36 -07:00
Yangshun Tay
b4bfa084f1 v2.0.0-alpha.5 2019-04-10 13:26:45 -07:00
Yangshun Tay
2fe7d4c3b8 v2.0.0-alpha.4 2019-04-10 13:19:10 -07:00
Yangshun Tay
3ce215eb20 v2.0.0-alpha.3 2019-04-10 13:17:26 -07:00
Yangshun Tay
d80e0e5d83 v2.0.0-alpha.2 2019-04-10 13:05:24 -07:00
endiliey
a4fc63fbff v2.0.0-alpha.1 2019-04-11 00:56:40 +08:00
Endilie Yacop Sucipto
a967816616
fix(v2): fix js-loader not transpiling own library (#1356) 2019-04-10 23:41:49 +07:00
endiliey
2a37bbf84a v2.0.0-alpha.0 2019-04-10 22:35:17 +08:00
Yangshun Tay
bb4ffdfe3c
feat(v2): use Infima CSS (#1346)
* feat(v2): use Infima CSS

* misc(v2): fixes

* misc(v2): change CSS to Netlify hosting

* misc(v2): shift search to the right
2019-04-09 00:48:37 -07:00
Yangshun Tay
029aa636a8
refactor(v2): load sidebars from docs plugin (#1328)
* refactor(v2): load sidebars from docs plugin

* fix(v2): update tests

* fix(v2): change to sidebarPath
2019-04-01 19:42:14 -07:00
Yangshun Tay
a70d9b6720
feat(v2): docs plugin initial work (#1327)
* feat(v2): pluginify docs

* feat(v2): implement docs plugin

* fix(v2): fix bugs in docs plugin for translation and versioning
2019-03-31 11:37:35 -07:00
Yangshun Tay
6fd9253328 fix(v2): errornous default include in blog plugin 2019-03-30 15:34:28 -07:00
Yangshun Tay
b31d502684
fix(v2): use docusaurus v2 as peer dependency (#1319) 2019-03-29 06:11:02 -07:00
Endilie Yacop Sucipto
f04eea6b48 chore(v2): modify docusaurus-2 homepage (#1315)
* chore(v2): modify docusaurus-2 homepage

* Update styles.module.css
2019-03-28 08:31:15 -07:00
Endilie Yacop Sucipto
72242dddf4
feat(v2): postBuild() - plugin lifecycle (#1302)
* feat(v2): build() - plugin lifecycle

* rename to postBuild
2019-03-25 14:30:42 +07:00
Endilie Yacop Sucipto
c5d8e2d641 chore(v2): webpack-serve -> webpack-dev-server (#1303)
* chore(v2): webpack-serve -> webpack-dev-server

* Update start.js
2019-03-24 18:28:15 -07:00
Endilie Yacop Sucipto
3a7a253db7
refactor(v2): plugin, utils as separate package (#1298)
* refactor(v2): plugin, utils as separate package

* rename docusaurus-plugin to @docusaurus/plugin

* update snapshot
2019-03-23 15:46:16 +07:00
endiliey
9597a8ce9c fix: deploy website CI 2019-03-23 15:40:39 +08:00
Endilie Yacop Sucipto
1f91d19a8c
chore: move to monorepo (#1297)
* chore: move to monorepo

* lint all js file

* simplify circleCI

* fix failing tests

* fix tests due to folder rename

* fix test since v1 website is renamed
2019-03-23 14:21:36 +07:00
Yangshun Tay
f2927a9fc4
Move Docusaurus 1 files into directory (#966)
* Move Docusaurus 1 into v1 directory

* Update Circle CI commands for new v1 dir

* Remove OC

* Fix tests
2018-09-18 00:58:07 +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
saransh kataria
31bc5225b5 Use dark mode color scheme for footer like button (#959) 2018-09-14 20:32:36 +08:00
Joel Marcey
0bf253b790
Update 2018-09-11-Towards-Docusaurus-2.md 2018-09-12 13:18:15 -07:00
Endilie Yacop Sucipto
9367b3b63b
chore: update blog post
Not a time-space complexity, juat a space complexity. In fact, it builds faster in new version due to not having to find the version fallback
2018-09-12 11:15:49 +08:00
Joel Marcey
7daf64e760 Publish v1.4.0 (#954)
* v1.4.0

* Lock files

* Update CHANGELOG.md

* chore: add missing PR not included in CHANGELOG.md

* chore: fix changelog typo

* chore: fix CHANGELOG

* nits
2018-09-12 10:13:27 +08:00