Jonny Nabors
afe70d973f
docs(v2): add new community plugin for dotenv support ( #2730 )
...
* Add new community plugin for dotenv support
Adds a link to a new community plugin that introduces support for environment variables managed in `.env` files.
* Update resources.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-05-10 21:01:27 +08:00
Alexey Pyltsyn
df815db031
docs(v2): fix correct route base path for docs-only mode
2020-05-02 23:58:56 +03:00
Marco Moretti
5761835ae8
docs(v2): replace word append with prepend to describe useBaseUrl hook ( #2707 )
...
* [doc] Replace word append with prepand to describe useBaseUrl hook
* [doc] Replace word append with prepend to describe useBaseUrl hook
* [doc] Replace append for all document versions
2020-05-02 03:05:51 +08:00
Alexey Pyltsyn
52b20826fd
docs(v2): add note about IE11
2020-04-30 11:06:19 +03:00
Alexey Pyltsyn
6190bf79a1
docs(v2): add note about IE11
2020-04-30 10:59:58 +03:00
Alexey Pyltsyn
d41f8ca1a9
docs(v2): various improvements
2020-04-28 17:44:06 +03:00
Alexey Pyltsyn
f8f6478c36
docs(v2): fix correct value for blog-only mode
2020-04-28 09:19:46 +03:00
Joe Previte
7caf7de417
docs: add swizzle example ( #2680 )
2020-04-28 10:53:45 +08:00
Alexey Pyltsyn
c0e531e5d9
feat(v2): add ability to specify CSS class for navbar item ( #2660 )
...
* feat(v2): add ability to specify CSS class for navbar item
* Fix linting issues
2020-04-27 02:21:36 +08:00
Alexey Pyltsyn
af89a92628
feat(v2): add fallback to BrowserOnly component ( #2665 )
...
* feat(v2): add fallback to BrowserOnly component
* Update BrowserOnly.tsx
* Update docusaurus-core.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-26 20:39:34 +08:00
Sylvain Pace
1471a6eb3a
docs(v2): add mention that appID is optional ( #2659 )
2020-04-25 19:00:01 +03:00
Alexey Pyltsyn
510bec6532
Revert "feat(v2): add option to toggle sidebar category open by default ( #2613 )" ( #2644 )
...
This reverts commit 1863a3c805
.
2020-04-22 18:50:18 +03:00
Joe Previte
1863a3c805
feat(v2): add option to toggle sidebar category open by default ( #2613 )
...
* feat: update sidebar categ to take collapsed prop
* feat: add extra sidebars collapsed test
* fix: only mutate item.collapsed if necessary
* feat: update docs for SidebarItemCategory
* fix: update snapshots
* fix: update json to match new sidebar schema
* fix: update last snapshot
2020-04-22 20:31:10 +08:00
Tom Brien
852b5e8f13
feat(v2): add CLI option for polling ( #2630 )
...
* Add CLI option to polling
Some environments (specifically docker containers) can have issues with file watching for live reloads. [Webpack Dev Server provides a polling alternative](https://webpack.js.org/configuration/watch/#watchoptionspoll ) option for this
* Update docusaurus.js
* Update cli.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-20 10:49:43 +08:00
Alexey Pyltsyn
14f4ef875a
feat(v2): add ability set dark mode by default ( #2597 )
...
* feat(v2): add ability set dark mode by default
* s/forceDarkMode/defaultDarkMode
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-17 19:19:55 +08:00
Yangshun Tay
2f2e3cd99d
docs(v2): fix doc changes in #2606
2020-04-15 02:38:55 +08:00
Reece Dunham
a7b802f31a
docs(v2): improve grammar ( #2606 )
...
Signed-off-by: Reece Dunham <me@rdil.rocks>
2020-04-14 23:26:55 +08:00
Jay Lees
ad425b2652
docs(v2): remove duplicated package.json in installation directory structure ( #2596 )
2020-04-13 17:33:40 +08:00
Kristóf Poduszló
9c93d53a64
docs(v2): fix a grammatic issue ( #2592 )
2020-04-13 13:57:22 +08:00
Kristóf Poduszló
109aa6c198
docs(v2): fix 1st custom admonition title example ( #2593 )
2020-04-13 03:36:58 +08:00
Alexey Pyltsyn
9c1abcddab
refactor(v2): use nav link component only where needed ( #2585 )
2020-04-12 13:34:50 +08:00
Noah Silvera
a8ab0d661e
docs(v2): mention that plugin-ideal-image
only perform compression on a production build ( #2572 )
...
* Add a note that `plugin-ideal-image` only perform compression on a production build.
In reference to https://github.com/facebook/docusaurus/issues/2571
* Update using-plugins.md
* Update using-plugins.md
* Update using-plugins.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-10 10:48:20 +08:00
Noah Silvera
dcf91ebfe4
docs(v2): fix syntax error for plugin config ( #2570 )
...
* Fix syntax error for plugin config
* Update using-plugins.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-10 10:43:02 +08:00
Alexey Pyltsyn
7092daf435
docs(v2): be more polite ( #2566 )
...
* docs(v2): be more polite
* Update deployment.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-09 15:28:58 +08:00
Alexey Pyltsyn
8d384b0d10
docs(v2): fix spelling of GitHub
2020-04-08 20:15:31 +03:00
Bartosz Kaszubowski
92729af0ab
chore(v2): fix lint, tweak lqip-loader utils comment ( #2563 )
2020-04-09 01:08:58 +08:00
Reece Dunham
aeeb8531da
doc(v2): remove legacy blog metadata ( #2559 )
2020-04-08 22:17:17 +08:00
Reece Dunham
04a420d68f
refactor(v2): enhance CLI experience ( #2556 )
...
Signed-off-by: Reece Dunham <me@rdil.rocks>
2020-04-08 12:57:10 +08:00
fanny
71ac6d5712
doc(v2): update fanny profile
2020-04-07 09:34:13 -03:00
fanny
d9d7abf5c4
feat(v2): Add team photos
2020-04-07 09:21:02 -03:00
Fanny
6a20183a68
docs(v2): command for swizzling all components ( #2549 )
...
* doc(v2): Add swizzle all components doc
* Update using-themes.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-06 02:52:46 +08:00
Yangshun Tay
49a2958c96
docs(v2): fix name typoes in team page
2020-04-06 02:01:33 +08:00
Sam Zhou
1b227f6adb
docs(v2): fix typo in team page ( #2547 )
...
This is probably a copyover from https://reactjs.org/community/team.html
2020-04-06 01:34:31 +08:00
Yangshun Tay
c1ef488115
docs(v2): add community pages ( #2545 )
...
* docs(v2): add community pages
* misc fixes
2020-04-06 01:10:22 +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
Alexey Pyltsyn
4956d1ec81
docs(v2): fix formatting
2020-04-02 12:07:50 +03: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
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
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
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