Commit graph

601 commits

Author SHA1 Message Date
Alexey Pyltsyn
1f00d15c74 chore(v2): fix code style (revert previous changes) 2020-04-05 17:38:12 +03:00
Alexey Pyltsyn
6965a668cd chore(v2): fix code style 2020-04-05 17:30:59 +03: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
Fanny
5e664a1f26
feat(v2): add edit url in post page (#2524)
* Add edit page url in docs

* feat(v2): Create EditPage component

* feat(v2): Improve component

* Add test

* çhore(v2): update description

* çhore(v2): update url

* fix(v2): test

* fix(v2): test

* feat(v2): change the prop of EditPage component

* chore(v2): Remove packages

* feat(v2): Update old tests

* chore(v2): fix package

* fix(v2): fix editUrl

* docs(v2): document editUrl

* --

* --

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-05 17:34:48 +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
Yangshun Tay
3dd83be988
docs(v2): proofread docs (#2527) 2020-04-04 14:05:59 +08:00
Alexey Pyltsyn
3052e4070b
docs(v2): useThemeContext hook (#2521) 2020-04-04 01:26:14 +08:00
Alexey Pyltsyn
2b4dbc322b docs(v2): fix broken link to Sidebar item section 2020-04-03 11:15:28 +03:00
Yangshun Tay
fd4ba13a63 chore(v2): fix 2.0.0-alpha.50 docs 2020-04-03 03:25:28 +08:00
Alexey Pyltsyn
3df3445550
chore(v2): v2.0.0-alpha.50 (#2510) 2020-04-02 21:03:34 +03:00
Alexey Pyltsyn
c207c3ba31 v2.0.0-alpha.50 2020-04-02 21:00:47 +03:00
Alexey Pyltsyn
4956d1ec81 docs(v2): fix formatting 2020-04-02 12:07:50 +03:00
Yangshun Tay
2a2824e976
docs(v2): add link to master docs (#2506) 2020-04-02 14:45:10 +08:00
Yangshun Tay
f51b56460e
fix(v2): tweak colors for announcement bar (#2505)
* fix(v2): tweak colors for announcement bar

* black
2020-04-02 14:41:49 +08:00
Alexey Pyltsyn
0c1d593e00
refactor(v2): improve announcement bar (#2504) 2020-04-02 14:31:53 +08:00
Yangshun Tay
eeebc31ff1
docs(v2): reorganize markdown features page (#2503)
* docs(v2): reorganize markdown features page

* docs(v2): reorganize markdown features page
2020-04-02 14:12:17 +08:00
Yangshun Tay
8018a835e5
docs(v2): misc docs updates (#2500) 2020-04-02 12:29:39 +08:00
Alexey Pyltsyn
1577ab98e9
fix(v2): fix HTML issues nav dropdown and highlight docs item (#2489) 2020-04-02 01:07:51 +08:00
Yangshun Tay
409f169379 v2.0.0-alpha.49 2020-04-01 16:00:14 +08:00
Yangshun Tay
f6d7e42717
chore(v2): v2.0.0-alpha.49 (#2488) 2020-04-01 15:57:42 +08:00
Yangshun Tay
f96c2b61d7
feat(v2): nav dropdown (#2487)
* feat(v2): allow nav dropdown

* docs(v2): document navbar links

* fix bug
2020-04-01 03:10:04 +08:00
Elvis Wolcott
054563befe
feat(v2): support comments for code highlighting (#2456)
* feat: support comments for code highlighting

* docs(v2): demonstrate highlighting with comments

* chore: remove debugging console.log

* fix: disable when language is undefined
2020-04-01 01:44:58 +08:00
Alexey Pyltsyn
0f73a1fad8
feat(v2): add announcement bar (#2330)
* feat(v2): add announcement bar

* Refactor: move to Layout

* Fixes

* Refactor to simplify

* Changes: id, styles, docs
2020-04-01 00:08:55 +08:00
Alexey Pyltsyn
8143af6851
feat(v2): add a way to exclude components from build-time prerendering (#2323)
* feat(v2): add a way to exclude components from SSR within JSX

* Update docusaurus-core.md

* Update and rename ClientOnly.js to BrowserOnly.js

* improve docs

* Improve naming

* Simplify realization

* Fix code style

* Fix docs

* Update docusaurus-core.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-29 23:43:57 +08:00
Alexey Pyltsyn
c299baa80b
fix(v2): various improvements for accessibility (#2480) 2020-03-29 23:35:58 +08:00
Alexey Pyltsyn
fa2e263ce8
feat(v2): add ability to create unminimized bundles (#2474) 2020-03-29 23:32:26 +08:00
Alexey Pyltsyn
92f2c52034
docs(v2): mark that in dev server some features may not work (#2478) 2020-03-29 12:10:50 +08:00
Yangshun Tay
36ea74504e
docs(v2): use codeblock title syntax instead of comments (#2473) 2020-03-29 01:08:50 +08:00
GermaVinsmoke
b8c888b1b1
docs(v2): fix typo in deployment docs (#2472) 2020-03-29 00:15:13 +08:00
Fanny
079e1ce2df
docs(v2): add setup of mdx plugins (#2466)
* Add mdx plugins

* Apply suggestions from code review

Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>

* Update website/docs/markdown-features.mdx

Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>

* Update markdown-features.mdx

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-03-27 02:15:26 +08:00
Kohhee Peace
5e0d11dbaf
feat(v2): add filename in CodeBlock (#2346)
* feat: add filename in CodeBlock

* Fix code to use Regex to find title from markdown and Update style

* Fix reviewed point
- Delete unnecessary template literals
- Delete unnecessary "important!" from css

* Add title in live codeblock

* Just edit code order

* Add demo for code title

* Add docs about code title in markdown-features.mdx

* Make code title height scalable

* Rename codeBlockWrapper to codeBlockContent

* Make copyButton appear when hovering codeTitle

* Fix docs description about code title
2020-03-26 01:05:18 +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
8d31c21fe5 docs(v2): fix misc styling 2020-03-24 09:56:02 +03:00
Ben Gubler
a8a4fe467a
polish(v2): use npm-to-yarn for the npm2yarn remark plugin (#2428)
* Use npm-to-yarn for the Bash npm2yarn Remark plugin

* Update npm-to-yarn version with fix

* Update npm-to-yarn yet another time to fix another -g/--global bug

* Update remark-npm2yarn.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-24 08:53:48 +08:00
Jefferson Licet
08616997da
Adding Motion Layout to showcase users (#2450) 2020-03-23 22:31:05 +03:00
Ramón Lamana
c05cb75cbc
docs(v2): add sass/scss under the styling section (#2423) 2020-03-24 01:13:28 +08:00
Ramón Lamana
e1cd0142b6
docs(v2): add docusaurus-plugin-sass to community plugins (#2446) 2020-03-23 22:17:27 +08:00
Favour Kelvin
cdfab94b53
docs(v2): suggest Surge for quick deployment (#2408)
* docs(v2): suggest Surge for quick deployment

* fixed typos

* removed surge from version docs

* Update getting-started-publishing.md

* Update deployment.md

* Update deployment.md

* Update deployment.md

* Update deployment.md

Co-authored-by: Fakela <favourkelvin17gmail.com>
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-23 11:51:23 +08:00
Alexey Pyltsyn
3052ef14e5
fix(v2): various improvements for accessibility (#2442) 2020-03-23 11:46:57 +08:00
Alexey Pyltsyn
5b08ba7f48
polish(v2): add logo for dark mode (#2439) 2020-03-22 21:33:19 +08:00
Alexey Pyltsyn
18169814c8
fix(v2): fix aspect ratio for Open Graph image (#2435) 2020-03-22 10:05:23 +08:00
ZachJW34
ce45413804
feat(v2): add custom output directory to build (#2417) 2020-03-19 23:52:26 +08:00
Luke Collier
51995fa237
feat(v2): allow targeting deployment branch with environment variable (#2396) 2020-03-18 18:17:29 +08:00
Theodore Chu
99943a6041
docs(v2): include appId key for Algolia (#2413)
* Update Algolia information

appId is needed for self-hosted Docsearch

* Update Algolia Information

https://github.com/facebook/docusaurus/pull/2413

* Update Algolia Information for alpha.40

* Update search.md

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-03-17 12:25:48 +03:00
Paul Armstrong
12b9be18f7
docs(v2): add Build Tracker to showcase (#2416) 2020-03-16 10:37:22 +03:00
Sam Zhou
55a50d37dc
feat(v2): support syncing tab choices (#2366)
* feat(v2): Support syncing tab choices

* Move docs changes to website/docs

* Do not import entire React in TabGroupChoiceContext

* Store only one tab choice according to discussion in PR

* Remove leftover logging code during debugging

* Put storage value in separate const outside the hook-level

* Use an array to keep track of different tab groups

* Revert back to using `groupId`

* Update markdown-features.mdx

* Update markdown-features.mdx

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-15 13:47:52 +08:00
bravo-kernel
da0a61d1f0
docs(v2): add Netlify configuration warning (#2411) 2020-03-15 13:27:45 +08:00
Yangshun Tay
6562a06944
docs(v2): add resources page (#2401)
* docs(v2): add resources

* titleize properly
2020-03-11 21:34:35 +08:00
Favour Kelvin
dddf061f75
docs(v2):update alpha version to current version (#2397)
Co-authored-by: Favour Kelvin <favourkelvin17gmail.com>
2020-03-11 00:52:07 +08:00
Yangshun Tay
c17f57753c docs(v2): delete alpha.39 2020-03-10 16:41:43 +08:00