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
shalinikumari50
eb4aa19bef
docs: update README.md with some grammatical corrections ( #3287 )
2020-08-14 21:15:55 +02:00
Sébastien Lorber
340de92096
chore(v2): fix javascript-serialize vulnerability ( #3282 )
...
* try to fix the javascript-serialize vulnerability
* handle CopyWebpackPlugin breaking change
2020-08-14 14:27:16 +02:00
Hani Mohammed
826dc8dc02
docs(v2): fix typo ( #3271 )
...
* docs(v2): fix typo
* @thehanimo docs(v2): fix typo in website/docs
* Update website/docs/deployment.md
* Update website/versioned_docs/version-2.0.0-alpha.61/deployment.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-14 12:11:40 +02:00
Hani Mohammed
7cc44823eb
fix(v2): logic error while deciding deploymentBranch ( #3273 )
2020-08-14 12:07:43 +02:00
Ali Hosseini
0cc78fdd41
fix(v2): allow search page swizzle ( #3280 )
...
* feat: search page moved to theme folder
* feat: docusaurus-theme-search-algolia/src/pages/search removed
* SearchPage added to SwizzleAllowed array
* feat: SearchPage route updated in index of it's package directory
* Update packages/docusaurus-theme-classic/src/index.js
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-14 11:57:34 +02:00
Tolunay Akbulut
cb39560a89
docs(v1): Add Radity to users ( #3277 )
2020-08-14 11:56:15 +02:00
Anshul Goyal
a4cc6b6b2b
fix(v2): allow swizzling of component even if case doesn't match ( #3281 )
...
* add support for case insensitivity for components
* fix formatting
2020-08-14 11:50:09 +02:00
Franklyn Chisom
0d489aeb9e
docs: corrected some few typos in the docusaurus tech docs ( #3276 )
...
* corrected some few typos
* Update blog.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-08-14 11:38:54 +02:00
dependabot[bot]
e919657e93
chore(deps): bump prismjs from 1.20.0 to 1.21.0 ( #3241 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 12:06:42 +02:00
Derek
a735e051a9
chore(v2): upgrade terser-webpack-plugin ( #3265 )
...
* chore: upgrade terser-webpack-plugin
* undo version update
2020-08-12 11:56:49 +02:00
Manuel Cepeda
e118fcd4e1
fix(v2): website feedback page hydration bug ( #3269 )
2020-08-12 11:43:52 +02:00
Govardhan S
98ccb3725d
fix(v2): GTM, send page_view events on navigate ( #3243 )
...
* fix: update pageviews for Google Tag Manager
* fix prettier issues
Co-authored-by: govardhan <govardhan.s@mobinius.com>
2020-08-12 11:08:22 +02:00
Sébastien Lorber
97faf7e6d9
fix(v2): do not index search pages ( #3263 )
2020-08-12 09:48:20 +08:00
Sébastien Lorber
dd3f3f1093
fix(v2): doc path special char (space or other) should lead to a valid slug ( #3262 )
...
* doc path special char (space or other) should lead to a valid slug
* doc path special char (space or other) should lead to a valid slug
* improve doc bad slug message
2020-08-11 17:20:51 +02:00
Bogdan
b75a7150b2
docs(v2): fix migration command ( #3249 )
2020-08-11 17:16:48 +02:00
Sébastien Lorber
cf53584abd
chore(v2): fix slow commits due to lint-staged ( #3259 )
...
* test
* test
* test
* test
2020-08-11 16:51:32 +02:00
Sébastien Lorber
f6926039ec
chore(v2): windows, 3 yarn install attempts, to avoid most timeout failures? ( #3260 )c
2020-08-11 16:51:04 +02:00
Ali Hosseini
ee6dee72b7
fix(v2): navbar dropdown opened with tab, not closing on click outside ( #3240 )
...
* package use-onclickoutside added
* fix:dropdown toggle updated and tab behavior fixed
* fix:variable name and type checker on drop down updated
* fix: optional chaining added to dropdown toggle function
* fix: package.json problem fixed and type of element updated
* fix:type problem fixed
2020-08-11 15:54:33 +02:00
Sourav Dey
ee4a3ece57
docs(v2): Added twitter badge and modified discord Badges ( #3248 )
...
* Update README.md
* Update README.md
2020-08-11 15:31:07 +02:00
Teik Jun
f1c715d4f5
docs(v2): fix migration command for earlier versions ( #3251 )
2020-08-11 15:18:50 +02:00
Teik Jun
fda1590b0d
fix(v2): modify validation schema and tests for rehype/remark + remove duplicate dependency ( #3247 )
...
* chore(v2): remove duplicate dependency
* fix(v2): make changes to validation for rehype and remark plugins
* style(v2): run prettier
2020-08-11 15:17:23 +02:00
Olawanle Joel
9399ad61c9
docs(v2): docs typos ( #3252 )
...
while going through this documentation I discovered few errors, though not conspicuous amazingly I spotted them out.
2020-08-11 13:51:00 +02:00
Sébastien Lorber
e7720d4e95
fix(v2): bad template alt prop ( #3258 )
2020-08-11 13:34:33 +02:00
Jonathan
805adc2c35
docs(v2): clarify theme-original and theme-init ( #3111 )
...
* 3043: Clarify theme-original and theme-init
* Update docs/api-pages.md
Co-authored-by: Drew Alexander <drewalexander986@gmail.com>
Co-authored-by: Drew Alexander <drewalexander986@gmail.com>
2020-08-11 12:29:07 +02:00
leoigel
fd403d3f7c
fix(v1): self-host user images ( #3200 )
...
* img-self-hosted
* name images was improved and validate self-images was included
* Showcase was overwritten
* original filename was rename
* name filename was improved
* website-1.x/core/Showcase.js and website-1.x/data/users.js was changed
* website-1.x/core/Showcase.js
* spelling error fixed
* validate patch images put at to level
* Update website-1.x/core/Showcase.js
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-08 16:26:55 +02:00
Anshul Goyal
181a6174c7
fix(v2): relax URI validation ( #3227 )
...
* relax URI validation
* add regex
* add test
* fix linting error
* fix formatting
* use URL rather than regex
2020-08-07 22:11:19 +02:00
Sébastien Lorber
fe281a8ebe
feat(v2): debug pages + debug layout + ability to debug content ( #3229 )
...
* improve debug plugin:
- add multiple debug pages + debug layout
- ability to debug plugin contentLoaded data
* add missing dependency
* fix broken test
* improve content rendering a bit
* create basic DebugJsonView
* fix ReactJson SSR issues
2020-08-07 11:47:43 +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
Sébastien Lorber
0079f0e8d1
fix(v2): swizzle minor improvements ( #3225 )
...
* improve swizzle messages
* docs should allow to swizzle in --typescript
* minor swizzle cli improvements
2020-08-06 14:47:36 +02:00
Anshul Goyal
ef9314e5a4
feat(v2): update swizzle command to suggest component/theme ( #3021 )
...
* update swizzle command
* change messages
* fix formatting
* add docs
* fix component lisiting
* allow themes to provide a list for safe swizzle components
* support both commanjs and ES exports
* fix debug plugin doesn't swizzle
* add dos
* remove unsed file
* fix docs plugin not swizzle properly
* fix console.log
* use new validate
* fix linting
* use config options for plugin
* rerun test
* fix type
* add a comment
* Update packages/docusaurus/src/commands/swizzle.ts
* Update packages/docusaurus/src/commands/swizzle.ts
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-06 13:53:03 +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
592fc48fd3
fix(v2): update react-loadable-ssr-addon ( #3222 )
...
Signed-off-by: Reece Dunham <me@rdil.rocks>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2020-08-05 19:54:18 +02:00
lebogang Olifant
921e103b8e
docs: format reference links ( #3205 )
2020-08-05 19:40:41 +02:00
Anshul Goyal
25b70b5342
fix(v2): fix svg loader ( #3202 )
...
* fix loader
* Update website/docs/markdown-features.mdx
* Update website/docs/markdown-features.mdx
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-05 19:19:20 +02:00
Drew Alexander
fdf08e787f
docs(v2): Added switch config docs to theme-classic API ( #3194 )
...
* Reduce commented info in API
* Update yarn lock
* Add switch config documentation to theme-classic
* Expand highlighted code block
* Add unicode example to icons
* Punctuation and white space fixes
* Revert changed comment
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
* Remove camel case comment
* Revert api style comment
* Revert "Update yarn lock"
This reverts commit 5b5b3d39a1
.
* Update website/docs/theme-classic.md
* Update website/docs/theme-classic.md
* Update website/docs/theme-classic.md
* Update website/docs/theme-classic.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-05 18:54:41 +02:00
Sébastien Lorber
59f705ee66
feat(v2): blog + docs multi-instance plugins ( #3204 )
...
* stable createData namespacing + second-blog dogfooding
* Docs: support multi-instance + make community docs a separate instance
* tests: add 2nd docs instance to versioned site
* fix docs version cli tests
* fix docs versioning cli
* typo
* team: add link to my site
* better extendCli integration
* fix metadata tests
* tests for versioned site with second docs instance
* move some validation code to utils-validation
* fix missing dependency
* fix bad compiled output due to importing constants in ./client folder
* make docs tests easier to maintain
* refactors
* prevent lodash imports in client bundle
* redirect old community docs to new urls
2020-08-05 18:27:55 +02:00
Sébastien Lorber
e944f35640
chore(v1): release 1.14.6 ( #3218 )
...
* prepare v1 release
* chore(v1): release v1.14.6
2020-08-05 18:26:28 +02:00
Sébastien Lorber
83d160f017
fix(v1): fresh install failing due to <> syntax
...
https://github.com/facebook/docusaurus/issues/3199 (#3213 )
2020-08-05 16:19:24 +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
alex busnelli
0d7314a6f7
docs(v2): removed duplicate text under "Using React" section ( #3201 )
...
* removed duplicate text under "Using React" section
* docs(v2): removed duplicate text under "Using React" section in trunk docs
2020-08-04 07:30:22 +08:00
Sébastien Lorber
03960a8712
chore(v2): lockfile update ( #3197 )
2020-08-03 15:51:39 +02:00
Anshul Goyal
325559933f
feat(v2): add support to import assets using relative link in markdown syntax ( #3096 )
...
* add a rehyper plugin
* fix yarn.lok
* add target
* convert to remark
* add docs
* remove unused package
* remove file-loader
* add test for file-loader
* fix test
2020-08-03 15:19:12 +02:00
ylemkimon
64293bf87f
fix(v2): add missing lodash.flatmap
dependency ( #3191 )
2020-08-03 12:13:32 +02:00
ylemkimon
96631736ee
fix(v2): add missing dependencies to chalk
and lodash
( #3192 )
2020-08-03 12:12:57 +02:00
Sam Zhou
5c3a00727c
fix(v2): Add a missing whitespace before prompt to use npm run serve
( #3188 )
2020-08-02 16:28:39 +08:00
Sébastien Lorber
29f27f6b88
docs(v1): formatting changelog ( #3186 )
2020-08-01 16:57:19 +02:00
Sébastien Lorber
15896a21fe
chore(v1): release v1.14.5 ( #3184 )
2020-08-01 16:03:21 +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