Commit Graph

204 Commits

Author SHA1 Message Date
Sam Zhou 78136e77a2
feat(v2): Use pnp-webpack-plugin to support pnp module resolution (#2796) 2020-05-23 11:25:23 +08:00
Alexey Pyltsyn 4f38d78118
chore(v2): upgrade Infima to 0.2.0-alpha.11 (#2773) 2020-05-19 12:40:20 +03:00
Alexey Pyltsyn 8e24454154
feat(v2): allow import SVG images (#2764) 2020-05-18 11:18:02 +08:00
Alexey Pyltsyn 3ad4550854
feat(v2): add search page (#2756) 2020-05-17 15:55:40 +08:00
Fanny 7d8aeacf52
feat(v2): bootstrap layout navbar (#2668)
* feat(v2): add minor adjustements and footer component

* fix(v2): margin and spacing of footer

* feat(v2): add navbar component

* ádd collapse classname

* feat(v2): add dependencies

* feat(v2): remove unused code

* feat(v2): remove unused links

* feat(v2): add reactstrap components :|

* feat(v2): add brand and other nav componnets
2020-05-13 11:24:53 +08:00
Alexey Pyltsyn 93b39e674f
chore(v2): upgrade Infima to 0.2.0-alpha.10 (#2729)
* chore(v2): upgrade Infima to 0.2.0-alpha.10

* Changelog
2020-05-10 21:03:45 +08:00
Taylor Reece dc08f3b416
chore(v2): bump webpack-dev-server to 3.11.0 to address yargs vulnerability (#2728) 2020-05-09 01:05:46 +08:00
Ben Gubler 368eb4279f
refactor(v2): replace EJS with Eta for SSR generation (#2684)
* Replace EJS with Eta for SSR generation

* Format with Prettier

* Remove ejs alias

* Don't autotrim, Terser will minify already

* Don't autoTrim, files are HTML-minified later

* Equivalent of rmWhitespace option for Eta

* Update Eta version and add rmWhitespace

* Format with Prettier
2020-05-05 14:25:26 +08:00
dependabot[bot] 054601a69b
chore(deps): bump acorn from 6.4.0 to 6.4.1 (#2703)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-05-02 03:06:11 +08:00
Yangshun Tay 1d8cc4b10f
chore(v2): upgrade Infima (#2669)
* chore(v2): upgrade Infima

* Make proper classes for active items

* upgrade Infima to v0.2.0-alpha.9

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-04-27 10:50:28 +08:00
Alexey Pyltsyn 379d3e0d23
chore(v2): upgrade prism-react-renderer to latest version (#2666) 2020-04-27 00:50:06 +08:00
Alexey Pyltsyn 8730df7044
chore: upgrade shelljs to 0.8.4 (#2661) 2020-04-26 03:34:48 +08:00
Alexey Pyltsyn 2d0ba85973 chore: update caniuse-lite (yarn.lock) 2020-04-25 19:55:31 +03:00
Fanny 434da1d7ea
feat(v2): bootstrap bootstrap (heh) theme, preset, template (#2557)
* feat(v2): Add bootstrap theme structure

* chore(v2): run prettier

* chore(v2): remove unused dependencies

* feat(v2): add bootstrap preset

* feat(v2): add bootstrap template

* remove unnecessary stuff

* --

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-09 12:58:01 +08:00
Bartosz Kaszubowski 980f1041dc
refactor(v2): import lqip-loader, fix build on Node 13 (#2544) 2020-04-06 02:55:36 +08:00
Yangshun Tay b07507c9cc
chore(v2): upgrade devDependencies (#2538)
* chore(v2): upgrade devDependencies

* chore(v2): upgrade devDependencies

* chore: prettier
2020-04-05 19:07:44 +08:00
Yangshun Tay ff5029893e misc(v2): add Lodash TypeScript typedefs 2020-04-05 18:17:06 +08:00
José Renan 95fdfe7e15
feat(v2): add blog post estimated reading time (#2531)
* feat: add estimated reading time to blog posts

* docs: add showReadingTime on plugin docs

* test: update plugin-content-blog tests to cover readingTime

* Update index.js

* Update using-plugins.md

* Update index.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-05 15:08:42 +08:00
Alexey Pyltsyn c576faac73 chore(v2): rebuild yarn.lock 2020-04-05 09:48:27 +03:00
Alexey Pyltsyn 9cff1bb9e4
chore(v2): upgrade deps (#2508) 2020-04-02 19:05:03 +08:00
Alexey Pyltsyn 686c8ae27d
fix(v2): use lodash instead of array-map-polyfill (#2490) 2020-04-02 01:08:22 +08:00
Yangshun Tay f6d7e42717
chore(v2): v2.0.0-alpha.49 (#2488) 2020-04-01 15:57:42 +08:00
Alexey Pyltsyn 8fe203d529
chore(v2): upgrade MDX to 1.5.8 (#2479) 2020-03-29 23:34:31 +08:00
Alexey Pyltsyn f0941a9ff6
chore(v2): upgrade remark-admonitions for a11y fixes (#2477) 2020-03-29 12:10:26 +08:00
Sébastien Lorber 201c663318
feat(v2): allow nested sidebar category shorthand syntax (#2444)
* feat(v2): allow sidebar category shorthand syntax also for nested elements

* Update sidebars-category-shorthand.js

* Update sidebars-category-shorthand.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-26 00:59:51 +08:00
Alexey Pyltsyn b0933364d4
chore(v2): upgrade react-dev-utils (#2461) 2020-03-25 00:51:00 +08:00
Alexey Pyltsyn daab34bbb0 chore(v2): update yarn.lock 2020-03-24 17:16:40 +03:00
Rémi Doreau b4f4057d97
misc: improve stylelint rule (#2415)
* feat(header-lint): allow for rule configuration

* test(stylelint-copyright): moove implementation to jest

* test(stylelint-copyright): add missing check

* test(jest-setup): add linter
2020-03-21 12:42:10 +08:00
dependabot[bot] d152158240
chore(deps): bump acorn from 5.7.3 to 5.7.4 (#2409)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-14 21:55:30 +08:00
Alexey Pyltsyn 31b0ce6e27
chore(v2): upgrade Infima and remark-admonitions (#2372)
* chore(v2): upgrade Infima and remark-admonitions

* Update algolia.css
2020-03-08 00:10:13 +08:00
Scott Lee ae78c1e6dd
chore(v2): add stylelint (#2361)
* Add stylelint

* Add custom stylelint plugin for copyright

* Add stylelint to FB template
2020-03-06 20:10:26 +08:00
Yangshun Tay 80f45e0dd2
chore(v2): update Infima to 0.2.0-alpha.4 (#2292) 2020-02-18 17:51:15 +08:00
Yangshun Tay da6966d208
feat(v2): add ESLint to Facebook template (#2155) 2019-12-29 16:39:28 +08:00
Endi b791572617 fix(v2): remove style-loader, use minicssextract in both dev & prod for consistency (#2145) 2019-12-25 13:06:00 +08:00
Yangshun Tay 8b26d92a39
chore(v2): upgrade dependencies (#2142) 2019-12-22 11:59:36 +08:00
Endi aa87bc5b7b feat(v2): minify html (#2116)
* wip: minify html with terser

* tweak

* remove empty attr
2019-12-12 04:47:49 -08:00
Yangshun Tay d5919fd962
feat(v2): add color generator for primary colors (#2104) 2019-12-09 02:10:38 -08:00
Endi 7f8aca2ddc
perf(v2): smaller bundlesize by embedding metadata to content (#2088)
* wip embed metadata to content

* embed metadata in blog as well

* refactor

* update test

* yarn lock

* avoid overwriting file everytime we run new nodejs process

* nits
2019-12-06 12:34:21 +07:00
Yangshun Tay 750d1654a5 misc(v2): update yarn.lock 2019-11-30 16:33:26 -08:00
Endi 97491c5cfb
feat(v2): injectHtmlTags API to inject head and/or body html tags (#2057)
* wip: define html tag definition

* feat(v2): implement injectHtmlTags api

* remove useless file

* nits

* documentation

* allow string, use prebodyTags and postBodyTags

* typo

* refactor typing

* chore(v2): bump deps
2019-11-30 11:52:26 +07:00
Endi d6143868a4 fix(v2): toc should not be broken for heading with html inline code (#2067) 2019-11-28 21:33:51 -08:00
Endi 05a2f46a9b
chore(v2): bump deps and run yarn upgrade (#2044) 2019-11-24 23:06:25 +07:00
Endi 9862a6821a feat(v2): allow non sidebar category to be first item of sidebar (#2032)
* feat(v2): allow non sidebar category to be first item of sidebar

* better error messages

* edit the react component

* Update website/docs/sidebar.md

* nits

* add @babel/plugin-transform-runtime
2019-11-23 20:08:19 -08:00
Endi baabe1fdf9 perf(v2): use @babel/runtime plugin to reduce codesize (#2035) 2019-11-23 17:50:11 -08:00
Endi 2d15fadf16
chore(v2): bump deps and remove unused deps (#2029)
* chore(v2): deps bump

* remove unused deps
2019-11-22 17:55:22 +07:00
Endi bd68dce667
fix(v1): markdown content and toc should render the same (#2022)
* fix(v1): autogenerated_toc and sidebar toc should render the same

* revert test docs

* yarn.lock
2019-11-21 12:04:07 +07:00
Endi 088606653d
chore: bump & remove unused deps (#2015) 2019-11-19 16:04:23 +07:00
Endi cf4037ef91
chore(v2): update dependencies (#1985)
* chore(v2): update dependencies

* use forked ideal image deps. omgg
2019-11-13 23:04:13 +07:00
Endi 3be2e86546
chore: bump dev dependencies (#1955)
* chore: bump devdeps

* upd infima url
2019-11-11 17:44:26 +07:00
Endi 58751b4e1a chore(v2): add lerna-changelog (#1952) 2019-11-09 00:58:56 +08:00