Alexey Pyltsyn
f31dcb6844
fix(v2): limit images height on showcase page ( #3701 )
2020-11-06 11:05:25 +01:00
Bartosz Kaszubowski
3ee700c6db
docs(v2): normalize showcase preview images height ( #3696 )
2020-11-05 19:45:25 +01:00
Bartosz Kaszubowski
8753fc74c3
docs(v2): add React Native website to the showcase ( #3695 )
2020-11-05 15:17:10 +01:00
Nico Domino
d9bfe84cd1
docs(v2): add NextAuth.js to showcase ( #3645 )
...
* Update users.js
* add: nextauthjs showcase image
2020-10-27 17:43:22 +03:00
Alexey Pyltsyn
bfefc46436
refactor(v2): various fixes ( #3587 )
...
* refactor(v2): various fixes
* Test
2020-10-16 10:54:23 +02:00
Fanny
4760e1225b
feat(v2): Extract npm2yarn plugin ( #3469 )
...
* chore(v2): add dependency
* test(v2): Add npm2yarn tests
* feat(v2): Move npm2yarn to a new remark plugin
* remark npm2yarn plugin => ready to release
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-15 19:30:12 +02:00
honlyHuang
d23940c9c3
docs(v2): add taro to users ( #3589 )
2020-10-15 12:58:08 +03:00
Bartosz Kaszubowski
b85e6e0205
feat(v2): allow to define custom CSS class for Tabs component ( #3580 )
...
* feat(v2): allow to define custom CSS class for Tabs component
* Update website/docs/markdown-features.mdx
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-10-14 11:34:44 +02:00
Alexey Pyltsyn
e5d9cdc871
refactor(v2): clarify versions page ( #3577 )
...
* refactor(v2): clarify versions page
* Make Netlify happy
2020-10-12 19:09:53 +02:00
Shubham Zanwar
6ad322e327
docs(v2): add vue-nodegui to users ( #3574 )
2020-10-12 11:53:52 +03:00
Abhishek Tiwari
9c961a6e74
docs(v2): Added Axioms to users ( #3556 )
...
* Added Axioms to users
Added Axioms to users
* Added Axioms to V2 Users list and reverted change on v1 User list
* Update website/src/data/users.js
* Update website/src/data/users.js
* Update users.js
* Update users.js
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-10-09 10:12:35 +02:00
Sébastien Lorber
a3ab9c116f
feat(v2): prevent using remote image urls in showcase ( #3560 )
...
* prevent using remote image urls in showcase
* remove old/duplicate user image self-hosted check
* fix unavailable str.startsWith
* fix external image check due to ideal-image plugin
* fix external image check due to ideal-image plugin
2020-10-08 18:40:41 +02:00
Sébastien Lorber
d444ab75ef
docs(v2): embedding real source code in MDX as a code block ( #3558 )
...
* Example of embedding real source code in MDX as a code block
* Example of embedding real source code in MDX as a code block
2020-10-08 18:39:50 +02:00
John Gracey
5d3765fa91
docs(v2): add "Wisdom" dev docs website to showcase. ( #3555 )
2020-10-08 13:59:59 +02:00
Alexey Pyltsyn
9134b1396b
docs: various fixes and improvements ( #3546 )
2020-10-07 12:39:47 +02:00
Bartosz Kaszubowski
f9944cb2fc
feat(v2): add optional custom wrapper class name for pages based on theme classic Layout ( #3457 )
...
* feat(v2): add optional custom wrapper class name for pages based on theme classic Layout
* feat(v2): add optional custom wrapper class name for markdown pages
* fix TS types
2020-09-23 15:38:17 +03:00
Joel Marcey
ca8f3811b5
misc: default Docusaurus Website UX ( #3455 )
2020-09-16 10:15:45 +08:00
Rutik Wankhade
3638b1651a
docs(v2): minor typo fix ( #3423 )
...
* docs: minor typo fix
Markdown import example in website/src/pages/examples/markdownPageExample.md imports the wrong chapter.
See this comment f234c407f1 (r42067403)
### Have you read the [ Contributing Guidelines on pull requests](https://github.com/facebook/docusaurus/blob/master/CONTRIBUTING.md#pull-requests )?
(Yes)
* Update website/src/pages/examples/markdownPageExample.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-09-08 19:49:33 +02:00
Sébastien Lorber
ae877f2990
feat(v2): docs version configuration: lastVersion, version.{path,label} ( #3357 )
...
* add new docs versioning options
* Add some tests for new versioning options
* Add some docs for version configurations
* try to fix broken link detection after /docs/ root paths have been removed on deploy previews
* improve dev/deploypreview versioning configurations
* disable custom current version path, as it produces broken links
* readVersionDocs should not be order sensitive
* fix versions page according to versioning config
* fix versions page according to versioning config
2020-08-28 18:37:49 +02:00
Sébastien Lorber
c7fc781ce0
fix(v2): linking to asset or external html page -> don't use history.push() ( #3347 )
...
* Rework markdown links to asset require processing + add test page
* implement pathname:// protocol / escape hatch at the Link level
* linking to assets: fix tests + avoid creating an useless nested paragraph
* fix assets linking doc
* attempt to fix windows e2e test
* try to fix windows errors
2020-08-28 12:47:03 +02:00
Sam Zhou
bd9b6618c1
feat(v2): Provide typing to most of the theme-classic components ( #3348 )
...
* feat(v2): Provide typing to most of the theme-classic components
* Expose type to the end users and dogfood it in v2 website
2020-08-28 12:06:37 +02:00
Daniel Wilkowski
0f357606cd
docs(v2): add "T-Regx" website to showcase ( #3310 )
...
* Add "T-Regx" docusaurs website to showcase
* Update users.js
* Update users.js
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-20 14:49:32 +02:00
Jonas Dellinger
c97dd656a9
docs(v2): showcase SpotifyAPI-NET ( #3307 )
2020-08-19 16:01:46 +02:00
Vandré Leal
3ef965bae6
docs(v2): showcase Oxidizer ( #3295 )
2020-08-17 12:36:58 +02:00
Anshul Goyal
12e9ff6232
fix(v2): pass images in static dir to webpack-loader ( #3283 )
...
* pass static images to webpack-loader
* remove console.log
* fix windows path issue
* fix windows path issue
* add missing deps
2020-08-14 21:33:08 +02:00
Manuel Cepeda
e118fcd4e1
fix(v2): website feedback page hydration bug ( #3269 )
2020-08-12 11:43:52 +02:00
Arthur Flam
be210a1bc4
docs(v2): showcase user QA-Board ( #3232 )
...
* docs(v2): showcase user QA-Board
* Update users.js
* Update users.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-08-07 16:12:38 +08:00
Sébastien Lorber
0a33a52301
fix(v2): deprecate docs homePageId in favor of frontmatter "slug: /" ( #3228 )
...
* homePageId => deprecated
* docs prettier
2020-08-06 18:31:50 +02:00
Anshul Goyal
f234c407f1
feat(v2): add support to ignore files in pages plugin ( #3196 )
...
* add support to ignore pages
* fix import problem
* Update website/docs/guides/creating-pages.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
* Revert "fix import problem"
This reverts commit 4457a2e938
.
* revert
* fix slash
* forbid frontmatter
* fix formatting
* Update website/docs/guides/creating-pages.md
* Update website/src/pages/examples/_chapter1.md
* Update website/src/pages/examples/_chapter2.mdx
* Update website/src/pages/examples/markdownPageExample.md
* Update website/src/pages/examples/markdownPageExample.md
* Update website/src/pages/examples/markdownPageExample.md
* Update website/src/pages/examples/markdownPageExample.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-05 21:35:55 +02:00
Sébastien Lorber
7cceee7e38
feat(v2): markdown pages ( #3158 )
...
* markdown pages POC
* add remark admonition, mdx provider, yarn2npm...
* pluginContentPages md/mdx tests
* pluginContentPages md/mdx tests
* add relative file path test link to showcase link problem
* fix Markdown pages issues after merge
* fix broken links found in markdown pages
* fix tests
* factorize common validation in @docusaurus/utils-validation
* add some documentation
* add using plugins doc
* minor md pages fixes
2020-07-31 16:04:56 +02:00
Méril
962ec2c57c
docs(v2): showcase user questdb ( #3163 )
2020-07-30 19:10:56 +08:00
Sébastien Lorber
ee2d1b42f6
docs(v2): add myself to /team page + add TeamProfileCard component ( #3145 )
...
* add myself to /team page + add TeamProfileCard component
* apply col classes from parent to make TeamProfileCard more reusable
2020-07-28 20:18:15 +02:00
Daniel Hochman
08a726e154
docs(v2): add clutch to showcase ( #3094 )
2020-07-24 09:01:59 +08:00
François Chalifour
298522ff66
feat(v2): introduce DocSearch v3 search ( #2815 )
...
* feat(v2): introduce DocSearch v3 search
* chore(deps): update @docsearch/react
* refactor: use arrow functions in callbacks
* fix: display warning when `algolia` config is missing
* feat: add link to search page
* chore: delete unused style file
* feat(website): specify DocSearch primary color
* fix(search): add "all" word
* feat(search): add `generateSearchPageHref` hook
* chore(deps): update @docsearch/react
* fix(website): remove `hitsPerPage` search parameter
* fix(search): use `baseUrl`
* fix(search): rename `generateSearchPageLink`
* fix(search): fix scroll position on mobile
* fix(search): update query on URL change
* fix(search): close DocSearch modal on See More click
* refactor(search): use `useSearchQuery` to update query from URL
* feat(search): support `/` keyboard shortcut
* fix(search): forward Algolia config to DocSearch
* chore(search): update `@docsearch/react`
* fix(search): encode search value to search page
* fix(search): use `withBaseUrl` on links
* feat(search): attach Docusaurus version to user agents
* docs(docsearch): update DocSearch section
* chore(deps): update @docsearch/react
* feat(search): apply search styles to website
* docs(search): update DocSearch doc
* chore(deps): update @docsearch/react
* chore: update lock file
* chore(deps): update algoliasearch
* fix(website): remove special character in CSS
* docs(search): remove special character in CSS
2020-07-23 14:36:38 +02:00
Sébastien Lorber
27f384a67c
refactor(v2): improve navbar menu + generated config should be normalized ( #3088 )
...
* improve navbar menu
* fix errors due to forcePrependBaseUrl being normalized to true
* fix TS errors
2020-07-22 11:56:28 +02:00
Vandré Leal
020a48e7f6
docs(v2): showcase Runlet ( #3076 )
2020-07-19 23:55:47 +08:00
Anshul Goyal
a3849860ae
fix(v2):pass siteConfig as prop to pages ( #3025 )
...
* pass config as prop to pages
* use existing file
* Update packages/docusaurus-plugin-content-pages/src/index.ts
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-07-09 18:57:41 +02:00
Paul Cowgill
233737ec3d
docs(v2): showcase user Tasit ( #3034 )
...
* Add Tasit to users showcase
* Add Tasit docs screenshot
* Update users.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-07-09 08:29:25 +08:00
Jeremy Asuncion
9b3da59886
feat(v2): Plugin for Offline/PWA support ( #2205 )
...
* implement PWA plugin
* added pwa support for docusaurus website
* moved sw registration to client module
* moved compile function to webpack util
* build sw using webpack and render pwa popup
* implement @theme/PwaReloadPopup
* update website sw to use modules
* updated pwa readme
* fix header lint errors
* apply code formatting
* cache files only for mobile, saveData, or installed pwa
* added comments about clearing registrations
* fixed prettier error
* updated pwa README
* fix README JS
* move /blog => /blog/index.html logic to else branch
* add `alwaysPrecache` option
* updated docusaurus-plugin-pwa version
* added pwa to using-plugins.md
* review fixes
* re-disable restricted-globals to use self in service worker
* useless doc
* Update packages/docusaurus-plugin-pwa/README.md
Co-authored-by: Reece Dunham <me@rdil.rocks>
* Update packages/docusaurus-plugin-pwa/README.md
* update a bit pwa doc + minor refactors
* minor refactors + add workbox debug mode
* env PWA_ prefix
* typo
* minor refactor
* fix file output
* add serve:v2:ssl yarn command
* minor pwa fixes
* typo
* add dynamic import comment in SW
* comment
* let the PWA plugin implement its reload popup on his own
* pwa: add Joi options validation
* pwa plugin should have its own webpack/babel custom setup
* PWA:
- debug logs
- better SW params system
- offline mode activation strategies
- docs
* add pwa install gif
* pwa: popup -> reloadPopup + minor refactors
* fix process.env reading + better debug log
* minor fixes
* minor changes
* minor changes
Co-authored-by: slorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2020-07-08 12:32:41 +02:00
Ben Gubler
46f794b2ba
docs(v2): showcase Eta ( #3022 )
2020-07-05 11:43:08 +08:00
Teik Jun
086d1b7135
fix(v2): fix broken links on versions page ( #3017 )
...
* fix(v2): fix broken links on versions page
* fix(v2): fix broken link to remark and rehype
2020-07-01 12:04:53 +02:00
Rian Finnegan
65ce107331
docs(v2): showcase Amphora Data ( #2991 )
...
Co-authored-by: Rian Finnegan <rian@amphoradata.com>
2020-06-25 16:24:07 +02:00
Sam Zhou
5ccd24cc1f
feat(v2): Support swizzling TypeScript components ( #2671 )
...
* feat(v2): Support swizzling TypeScript components
* Add tsc --noEmit to tsc script in theme-classic
Now everything can pass the type checker! (although still a lot of any)
* Add tsconfig and types.d.ts to website
Improve developer experience.
As an example, I converted NotFound to tsx
* Apply type annotation suggestions
* Do not fallback to `getThemePath` if getTypeScriptThemePath is undefined
* Fix tsc
* Add module declaration for @theme-original/*
* Move babel cli to root package.json
2020-06-25 16:07:30 +02:00
Alexey Pyltsyn
afe9ff91a4
chore(v2): replace classnames with clsx ( #2895 )
2020-06-07 13:40:06 +08:00
Alexey Pyltsyn
36cf2eca87
refactor(v2): synchronize yarn/npm command on site ( #2897 )
2020-06-06 16:49:49 +08:00
Sébastien Lorber
953abd8154
feat(v2): allow adding components to react-live scope ( #2826 )
...
* feat(v2): add components to react-live scope (#2807 )
* fix admonition issue + improve react-live scope doc
* fix again admonition :(
* remove forwarding of mdx components to react-live scope (for now)
* remove useless dep
2020-06-04 15:18:42 +03:00
Fanny
4b78fd4f96
fix(v2): Getting Started URL ( #2874 )
2020-06-04 03:34:22 +03:00
Joel Marcey
63e2720dff
Updated banner in solidarity ( #2862 )
2020-06-01 12:42:48 -07:00
Alexey Pyltsyn
ae91234e0f
refactor(v2): add missing main landmark for needed pages ( #2858 )
2020-06-01 19:10:14 +08:00
Alexey Pyltsyn
2105700fb7
refactor(v2): various tweaks to website ( #2816 )
2020-05-27 20:56:59 +08:00