blitz137
f14b6eee39
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
2019-10-27 13:17:30 -07:00
Endi
98679b58f8
perf(v2): reduce memory usage consumption ( #1900 )
2019-10-27 13:10:51 -07:00
Wei Gao
01f4d9a955
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
2019-10-27 13:02:59 -07:00
Endi
84462e218e
fix(v2): align search icon on small width device ( #1893 )
...
* fix(v2): align search icon on small width device
* nits
* nits
2019-10-27 07:11:09 -07:00
Endi
fabaf7772b
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
2019-10-27 07:09:19 -07:00
Pawel Kadluczka
c23f981f67
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
2019-10-27 14:44:53 +07:00
Endi
2bbfbf88d6
docs(v2): update plugins, presets and themes docs ( #1889 )
...
* docs(v2): update plugins, presets and themes docs
* ideal image plugin
* proof reading
* Merge master
2019-10-26 15:10:48 +07:00
endiliey
d4342dcbf3
v2.0.0-alpha.31
2019-10-26 14:12:15 +07:00
endiliey
3cc1330b3e
fix(v2): wrong css class
2019-10-26 13:36:06 +07:00
Endi
9fdda55672
styles(v2): update infima and fix styles ( #1892 )
2019-10-25 22:06:06 -07:00
Alexey Pyltsyn
60a4d1dd60
fix(v2): do not show categories with empty items ( #1891 )
2019-10-25 20:25:49 -07:00
Endi
b3479682eb
feat(v2): display footer in docs page for consistency ( #1883 )
...
* feat(v2): display footer in docs page
* nits
* address review
* nits
2019-10-25 14:14:35 +07:00
Endi
8bcb5dcfce
perf(v2): disable hash for css modules localident in dev ( #1882 )
...
* perf(v2): disable hash for css modules localident in dev
* changelog
2019-10-25 00:01:21 -07:00
Alexey Pyltsyn
ce6a725ff5
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
2019-10-24 21:36:46 +07:00
Endi
22fb8698c5
feat(v2): postcss should only use stage 3 features instead of stage 2 ( #1872 )
2019-10-23 22:25:10 -07:00
Alexey Pyltsyn
0e66c908a9
fix(v2): fix search input blur on desktop ( #1874 )
2019-10-23 22:00:51 -07:00
Alexey Pyltsyn
11f99774e0
fix(v2): remove empty doc sidebar container ( #1870 )
2019-10-22 18:47:45 -07:00
Alexey Pyltsyn
68d5adfc2c
feat(v2): add sticky footer ( #1855 )
...
* feat(v2): add sticky footer
* Update CHANGELOG-2.x.md
* Update CHANGELOG-2.x.md
2019-10-22 17:16:39 -07:00
endiliey
b65c1b2242
v2.0.0-alpha.30
2019-10-22 12:23:55 +07:00
Endi
4c4e6ad773
fix(v2): fix babel transpilation include/exclude logic ( #1868 )
...
* fix(v2): fix babel transpilation include/exclude logic
* nits
* optimize
* docs migration before alpha.30 hotfix
2019-10-22 12:17:00 +07:00
endiliey
b56adb7ca1
v2.0.0-alpha.29
2019-10-21 19:28:36 +07:00
endiliey
7febe9ef94
chore(v2): bump core-js version
2019-10-21 19:26:47 +07:00
Endi
484526443e
fix(v2): fix missing deps and wrong babel config ( #1867 )
...
* fix(v2): fix missing deps and wrong babel config
* nits
2019-10-21 18:40:55 +07:00
Endi
e5bb7c2ab8
feat(v2): new ui progress bar ( #1866 )
2019-10-21 18:32:23 +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
Endi
abdc647b07
feat(v2): polyfill automatically depending on browserslist ( #1857 )
...
* feat(v2): polyfill corejs and ie11 compat
* use corejs/stable
* useBuiltIns => usage instead of entry
* chngelo
* nits
* breaking: withBaseUrl -> useBaseUrl
* nits
* loose mode for faster perf and smaller bundle
2019-10-21 11:09:16 +07:00
Yangshun Tay
ee936f62b5
fix(v2): fix incorrect keywords meta tag ( #1863 )
2019-10-21 10:51:47 +07:00
Yangshun Tay
f2e800ba6a
v1.14.0 ( #1864 )
2019-10-20 12:36:12 -07:00
Yangshun Tay
a690d34af0
feat(v1): allow specifying meta desc in front matter ( #1859 )
...
* feat(v1): allow specifying meta desc in front matter
* misc(v2): sync with v1
2019-10-20 11:17:10 -07:00
Endi
2c1012b9ec
fix(v2): do not show plugin data path ( #1861 )
...
* fix(v2): do not show plugin data path
* test fix
* nits
2019-10-20 10:58:22 -07:00
Alexey Pyltsyn
e408d72d26
feat(v2): add ability disable to open page in browser when start command ( #1856 )
...
* feat(v2): add ability disable to open page in browser when start command
* Replace disable-open-browser with no-open
* Fixes
2019-10-19 11:17:34 +07:00
Alexey Pyltsyn
bb6b02c487
fix(v2): fix link to logo in footer ( #1854 )
...
* fix(v2): fix link to logo
* Update CHANGELOG-2.x.md
* Update CHANGELOG-2.x.md
Co-Authored-By: Endi <endiliey@gmail.com>
2019-10-18 16:27:33 +07:00
Endi
7e60a283f1
fix(v2): swizzle should be able to handle single js file ( #1846 )
...
* fix(v2): swizzle should be able to handle single js file
* nits
2019-10-16 08:56:36 -07:00
Endi
d96b5f99b9
fix(v2): swizzle should receive correct load context ( #1844 )
...
* fix(v2): swizzle should receive correct load context
* new prettier version
* niits
2019-10-16 08:56:09 -07:00
endiliey
f4c0c85669
chore(v2): add license header for clean-webpack-plugin
2019-10-16 13:26:17 +07:00
Endi
b1f6951fbb
feat(v2): allow plugin to extendCli ( #1843 )
...
* feat(v2): allow plugin to extendCli
* rename to externalCommand
2019-10-16 13:16:26 +07:00
Endi
46e8e03be0
refactor(v2): fix and improve typing ( #1842 )
2019-10-15 20:30:10 +07:00
Endi
c630e1aab9
fix(v2): keywords frontmatter should work properly ( #1840 )
...
* fix(v2): keywords frontmatter should work properly
* nits
* nits again
2019-10-15 10:57:08 +07:00
Endi
bdb129252c
perf(v2): fork clean-webpack-plugin to reduce memory ( #1839 )
...
* chore: fork clean-webpack-plugin
* deps
2019-10-14 19:37:50 +07:00
endiliey
0cf5a5bf49
v2.0.0-alpha.27
2019-10-14 18:10:32 +07:00
Endi
94b0451fa4
feat(v2): add 'custom_edit_url' and 'hide_title' markdown header feature ( #1838 )
...
* feat(v2): add 'custom_edit_url' and 'hide_title' markdown header feature
* nits
2019-10-14 17:25:05 +07:00
Endi
1dddb1f5ea
chore(v2): upgrade core dependency ( #1837 )
2019-10-14 15:33:10 +07:00
Yangshun Tay
d848c3bd7b
feat(v2): add tabs component for multi-language code ( #1836 )
...
* feat(v2): add tabs component for multi-language code
* Update website/docs/migrating-from-v1-to-v2.md
Co-Authored-By: Endi <endiliey@gmail.com>
2019-10-13 10:16:04 -07:00
Yangshun Tay
9f6460fde0
misc: facebook/Docusaurus -> facebook/docusaurus
2019-10-12 01:11:34 -07:00
endiliey
d1e426afd8
v2.0.0-alpha.26
2019-10-12 11:53:42 +07:00
Yangshun Tay
87821104f9
fix(v2): address docs nits
2019-10-11 21:42:37 -07:00
Endi
ffd927d1d0
feat(v2): add scripts and stylesheets field to config ( #1831 )
...
* Feat(v2): add scripts and stylesheets field to config
* Update docusaurus.config.js.md
* review
2019-10-12 10:54:07 +08:00
Endi
48db8b8e09
refactor(v2): simplify & faster last updated logic for docs ( #1832 )
...
* refactor(v2): simplify last updated logic for faster dev
* Update packages/docusaurus-plugin-content-docs/src/__tests__/lastUpdate.test.ts
* Update packages/docusaurus-plugin-content-docs/src/__tests__/lastUpdate.test.ts
2019-10-12 10:30:22 +08:00
Endi
fb1ba0861a
styles(v2): add pencil svg beside 'Edit this page' ( #1833 )
2019-10-11 09:42:05 -07:00