Commit Graph

62 Commits

Author SHA1 Message Date
Sébastien Lorber 4f448bd54b
chore(v2): prepare v2.0.0.alpha-62 release (#3359)
* Add alpha 62

* v2.0.0-alpha.62
2020-08-28 19:17:56 +02:00
Teik Jun 8f0c00f3d4
fix(v2): fix theme validation for prism field and add tests (#3210)
* fix(v2): fix theme validation for prism field

* chore(v2): minor changes

* chore(v2): remove unused dependencies
2020-08-05 15:27:32 +02:00
Sébastien Lorber 48b996773c
chore(v2): prepare v2.0.0.alpha-61 release (#3182)
* alpha 61 release

* doc prettier

* v2.0.0-alpha.61
2020-08-01 15:24:46 +02:00
Sébastien Lorber 1083454dbd
chore(v2): prepare v2.0.0.alpha-60 release (#3154)
* alpha 60

* v2.0.0-alpha.60

* update publish guide
2020-07-29 17:45:54 +02:00
Sébastien Lorber 0eb9c207cf
chore(v2): v2.0.0.alpha-59 release (#3114)
* alpha 59 release preparation

* v2.0.0-alpha.59
2020-07-24 16:22:51 +02:00
Teik Jun 0f59cd1599
feat(v2): add option validation for remaining official plugins (#2970)
* feat(v2): add option validation lifecycle method

* chore(v2): add dependencies

* chore(v2): add yup dependency

* feat(v2): add option validation for plugin-content-docs

* chore(v2): add facebook copyright

* refactor(v2): remove unused variable

* chore(v2): add dependencies

* chore(v2): add copyright

* fix(v2): use strict for option validation

* feat(v2): add option validation for plugin-content-pages

* feat(v2): add schema for plugin-google-analytics and plugin-google-gtag

* feat(v2): add option validation for plugin-sitemap

* chore(v2): add dependency for yup

* fix(v2): remove strict to allow normalization

* refactor(v2): refactor validate method

* feat(v2): modify existing tests

* feat(v2): add tests for plugin normalization

* style(v2): use a more descriptive filename for schema

* feat(v2): add normalization tests

* feat(v2): add more tests for option validation

* refactor(v2): remove unused code

* refactor(v2): remove unused code

* refactor(v2): refactor methods and types

* feat(v2): replace Yup with Joi

* fix(v2): fix plugin-content-docs schema

* feat(v2): modify tests for plugin-content-docs

* fix(v2): fix a typo

* refactor(v2): improve tests and refactor code

* feat(v2): support both commonjs and ES modules

* refactor(v2): refactor validateOption method

* style(v2): fix eslint errors and typo in types

* chore(v2): remove unused yup dependency

* style(v2): standardize naming across official plugins

* chore(v2): update test snapshots

* chore(v2): remove obsolete snapshots

* chore(v2): fix a typo and check test

* feat(v2): add validation for new field

* feat(v2): add test for new field
2020-06-26 15:14:59 +02:00
Anshul Goyal 81d855355e
feat(v2): option and config validation life cycle method for official plugins (#2943)
* add validation for blog plugin

* fix wrong default component

* fix test and add yup to package.json

* remove console.log

* add validation for classic theme and code block theme

* add yup to packages

* remove console.log

* fix build

* fix logo required

* replaced yup with joi

* fix test

* remove hapi from docusuars core

* replace joi with @hapi/joi

* fix eslint

* fix remark plugin type

* change remark plugin validation to match documentation

* move schema to it's own file

* allow unknown only on outer theme object

* fix type for schema type

* fix yarn.lock

* support both commonjs and ES modules

* add docs for new lifecycle method
2020-06-24 20:08:16 +02:00
slorber 16ba6e54b6 v2.0.0-alpha.58 2020-06-18 14:02:26 +02:00
Alexey Pyltsyn dd1ef71aac
chore(v2): replace Clipboard with copy-text-to-clipboard (#2900)
* chore(v2): replace Clipboard with copy-text-to-clipboard

* Remove clipboard from yarn.lock
2020-06-07 13:48:28 +08:00
Alexey Pyltsyn afe9ff91a4
chore(v2): replace classnames with clsx (#2895) 2020-06-07 13:40:06 +08:00
Alexey Pyltsyn d8ebe8b2e4 v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
Sam Zhou 33b60c6ba4
fix(v2): Consistently use 10.15.1 as the minimum required node version (#2819) 2020-05-27 23:18:48 +08:00
Alexey Pyltsyn d94a549cfb v2.0.0-alpha.55 2020-05-19 13:55:03 +03:00
Alexey Pyltsyn 753d117025 v2.0.0-alpha.54 2020-04-28 09:49:27 +03:00
Alexey Pyltsyn d90fdb04d5 v2.0.0-alpha.53 2020-04-27 16:38:33 +03:00
Alexey Pyltsyn 7359945f52 v2.0.0-alpha.52 2020-04-27 16:30:15 +03:00
Alexey Pyltsyn c9c5aedcb5 v2.0.0-alpha.51 2020-04-27 14:44:56 +03:00
Alexey Pyltsyn 379d3e0d23
chore(v2): upgrade prism-react-renderer to latest version (#2666) 2020-04-27 00:50:06 +08:00
Alexey Pyltsyn c207c3ba31 v2.0.0-alpha.50 2020-04-02 21:00:47 +03:00
Alexey Pyltsyn 9cff1bb9e4
chore(v2): upgrade deps (#2508) 2020-04-02 19:05:03 +08:00
Yangshun Tay 409f169379 v2.0.0-alpha.49 2020-04-01 16:00:14 +08:00
Alexey Pyltsyn 38bb8c4ced v2.0.0-alpha.48 2020-03-09 01:46:10 +03:00
Alexey Pyltsyn 1dc1f21e91 v2.0.0-alpha.47 2020-03-08 23:40:44 +03:00
Alexey Pyltsyn 9d45993da2 v2.0.0-alpha.46 2020-03-08 23:29:42 +03:00
Alexey Pyltsyn bbb465be02 v2.0.0-alpha.45 2020-03-08 23:07:13 +03:00
Yangshun Tay 1e09feb2db v2.0.0-alpha.44 2020-03-08 23:45:30 +08:00
Yangshun Tay 3056479ed2 v2.0.0-alpha.43 2020-02-18 18:54:39 +08:00
Yangshun Tay 8a96e0bff6 v2.0.0-alpha.42 2020-02-18 18:51:41 +08:00
Yangshun Tay 3ba753922e Revert "v2.0.0-alpha.42"
This reverts commit d48200be7d.
2020-02-18 18:47:36 +08:00
Alexey Pyltsyn d48200be7d v2.0.0-alpha.42 2020-02-18 13:29:02 +03:00
Yangshun Tay d39c301db8 v2.0.0-alpha.41 2020-02-16 23:03:18 +08:00
Yangshun Tay a38125a718
chore: drop support for node <10.9 (#2207)
* drop node <10.9 on 2020

* misc: add nvmrc

Co-authored-by: Endi <endiliey@gmail.com>
2020-01-12 13:24:11 +08:00
endiliey dad50823b6 v2.0.0-alpha.40 2019-12-25 16:41:52 +07:00
endiliey cfc313d7c7 v2.0.0-alpha.39 2019-12-07 13:18:13 +07:00
endiliey 3bb251904b v2.0.0-alpha.38 2019-12-06 14:15:48 +07:00
endiliey 464d8e529a v2.0.0-alpha.37 2019-12-01 20:29:59 +07:00
Endi 421f862701 breaking(v2): required nodejs version >=8.9 -> >=8.10 so we can use es2017 (#2045) 2019-11-24 21:40:57 -08:00
endiliey c413cff212 v2.0.0-alpha.36 2019-11-22 12:41:22 +07:00
endiliey 6204d9a9ec v2.0.0-alpha.35 2019-11-17 16:51:57 +07:00
endiliey f1180d0eb6 v2.0.0-alpha.34 2019-11-11 21:35:03 +07:00
endiliey e6b077410c v2.0.0-alpha.33 2019-11-08 13:27:03 +07:00
endiliey cd9e2f2346 v2.0.0-alpha.32 2019-11-04 12:45:05 +07:00
Alexey Pyltsyn 9c69dfd240 feat(v2): allow line highlighting (#1860)
* feat(v2): allow line highlighting

* Refactor: use parse-numeric-range for parsing

* Add line highlighting for live code blocks

* feat(v2): add sticky footer (#1855)

* feat(v2): add sticky footer

* Update CHANGELOG-2.x.md

* Update CHANGELOG-2.x.md

* fix(v2): remove empty doc sidebar container (#1870)

* docs: showcase user Amphora (#1873)

* Add Amphora Data link to users

Adds Amphora Data to the list of users

* Add Amphora Data logo

* fix case of image path

* Move Image into users directory

* use black amphora image

* fix(v2): fix search input blur on desktop (#1874)

* docs(v2): showcase user mbt-bundle (#1875)

* feat(v2): postcss should only use stage 3 features instead of stage 2 (#1872)

* feat(v2): add ability expand all items in doc sidebar (#1876)

* feat(v2): add ability expand all items in doc sidebar

* Fix tests

* Refactor: use themeConfig

* Improve docs

* Revert unnecessary  changes

* Refactor: better consistency

* Revert extra change

* Refactor: use useDocusaurusContext to get config value

* chore(v2): update changelog

* chore(v2): update showcase and broken link

* perf(v2): disable hash for css modules localident in dev (#1882)

* perf(v2): disable hash for css modules localident in dev

* changelog

* feat(v2): display footer in docs page for consistency (#1883)

* feat(v2): display footer in docs page

* nits

* address review

* nits

* docs(v2): fix format inline code (#1888)

* docs(v2): add docs on useful client api (#1890)

* docs(v2): add docs on useful client api

* Update docusaurus-core.md

* Update website/docs/docusaurus-core.md

* Update website/docs/docusaurus-core.md

* Update website/docs/docusaurus-core.md

* Update website/docs/docusaurus-core.md

* docs(v2): update config docs (#1885)

* fix(v2): do not show categories with empty items (#1891)

* styles(v2): update infima and fix styles (#1892)

* fix(v2): wrong css class

* v2.0.0-alpha.31

* chore(v2): update docs and changelog

* docs(v2): update plugins, presets and themes docs (#1889)

* docs(v2): update plugins, presets and themes docs

* ideal image plugin

* proof reading

* Merge master

* refactor(v2): Convert sitemap plugin to TypeScript (#1894)

* Convert sitemap plugin to TypeScript

Test - enabled the sitemap plugin in the v2 website and verified that
the sitemap is created after running `docusaurus build`.

* Addressing review comments

* perf(v2): significantly reduce bundle size & initial html payload (#1898)

* perf(v2): reduce bundle size significantly with super short chunk name and registry

* changelog

* use hash:8 as id for better long term caching

* even shorter filename. slice contenthash

* fix(v2): align search icon on small width device (#1893)

* fix(v2): align search icon on small width device

* nits

* nits

* refactor(v2): refactor dark toggle into a hook (#1899)

* change(v2): refactor dark toggle into a theme

* follow how themes resolve files

* let theme hook to pick up default theme by itself

* perf(v2): reduce memory usage consumption (#1900)

* misc(v1): use primary color for hovered items in table of contents (#1871)

* fix issue#1752

when element in side nav is hovered over the color changes.

* Update main.css

* fix(v1): mobile safari search input misalignment in header (#1895)

* misc(v2): v1 backward compatibility for USE_SSH env var (#1880)

* misc(v2): address comments

* misc(v2): update CHANGELOG
2019-10-27 15:19:28 -07:00
endiliey d4342dcbf3 v2.0.0-alpha.31 2019-10-26 14:12:15 +07:00
endiliey b65c1b2242 v2.0.0-alpha.30 2019-10-22 12:23:55 +07:00
endiliey b56adb7ca1 v2.0.0-alpha.29 2019-10-21 19:28:36 +07:00
endiliey 87866c1d1d v2.0.0-alpha.28 2019-10-21 12:28:12 +07:00
Endi 1844c2bdd6
chore(v2): upgrade dependencies (#1865)
* chore(v2): upgrade dependencies

* nits
2019-10-21 12:25:30 +07:00
endiliey 0cf5a5bf49 v2.0.0-alpha.27 2019-10-14 18:10:32 +07:00
endiliey d1e426afd8 v2.0.0-alpha.26 2019-10-12 11:53:42 +07:00