Commit graph

3486 commits

Author SHA1 Message Date
Shubham Kumar
658dac7d42
docs(v2): add draft doc (#3346)
* docs(v2): add draft doc

* Update docs/guides-blog.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-27 19:59:58 +02:00
Bogdan Doroschenko
a72ac91e3e
test(v2): add unit test for migration of config file (#3323) 2020-08-27 12:03:51 +02:00
Sam Zhou
d299b99631
feat(v2): Provide docs plugin typing (#3328) 2020-08-27 11:40:14 +02:00
Sébastien Lorber
b86806460c
refactor(v2): announcement bar bad spelling + minor refactors (#3343) 2020-08-27 10:55:45 +02:00
Bogdan Doroschenko
3ccca399f1
test(v2): make blog posts unit test ordering determinate (#3339) 2020-08-27 10:09:43 +02:00
adinaja
8fd5375b26
fix(v1): fenced block detection (#3340) 2020-08-27 10:06:10 +02:00
Nisarag
306d3afc0a
adding team profile card about myself (#3336) 2020-08-26 11:38:12 +08:00
Yangshun Tay
d04a30cc93
docs(v2): update team profile (#3335)
* docs(v2): update team profile

* misc: add Sam intro
2020-08-25 20:42:46 +02:00
Drew Alexander
c7daf32642
docs(v2): add Drew to Fellows section (#3334)
* Add me to Fellows section

* Update team.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-08-25 22:10:18 +08:00
Teik Jun
878ce3132b
docs(v2): add anshul and tj to fellows team (#3333) 2020-08-25 20:54:23 +08:00
Yang Luo
661eac4fe9
docs(v1): showcase user Casbin (#3326)
* Add Casbin to users

* Update users.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-08-23 17:14:51 +08:00
Sam Zhou
b38f562322
chore(v2): Define type for markdown right table of contents (#3306) 2020-08-20 17:57:19 +02:00
Mirzayev Farid
fb49a7fc89
docs(v1): add Global CTO Forum to users (#3316) 2020-08-20 17:54:10 +02:00
Anshul Goyal
ef5f6fb852
fix(v2): fix url-loader not found (#3313) 2020-08-20 15:27:13 +02:00
Jean-Marc Saad
3ea2f8cfde
feat(v2): blog slug frontmatter (#3284) 2020-08-20 14:59:54 +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
Sébastien Lorber
f4ca61be81
fix(v2): brokenLinks should not report links that belong to an existing folder if folder/index.html exists (#3308)
* move pluginIds.test.ts

* improve brokenLinks checker and add tests for filterExistingFileLinks
2020-08-19 18:45:42 +02:00
Jonas Dellinger
c97dd656a9
docs(v2): showcase SpotifyAPI-NET (#3307) 2020-08-19 16:01:46 +02:00
Ben Gubler
a94d14b9c7
fix(v1,v2): add initial-scale=1.0 to all meta name='viewport' (#3290) 2020-08-18 12:59:58 +02:00
Fanny
8c05aa8e94
feat(v2): bootstrap theme, preset, template, CI previews (#2981)
* fix(v2): doc sidebar

* chore(v2): prettier

* fix(v2): docs navbar path

* fix(v2): fix error about activepath

* chore(v2): prettier

* feat(v2): change active color

* feat(v2): Add bootstrap doc

* docs(v2): Update preset

* doc(v2): finish bootstrap documentation

* chore(v2): run lint

* doc(v2): update hook

* fix theme bootstrap layout (far from perfect)

* Try to fix bootstrap theme and deploy it!

* fix netlify error

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-08-17 20:18:37 +02:00
Sam Zhou
5fdf96c552
feat(v2): Provide blog plugin theme typing (#3267)
* feat(v2): Provide blog plugin theme typing

* Update packages/docusaurus-plugin-content-blog/index.d.ts

* Update packages/docusaurus-plugin-content-blog/index.d.ts

* Update packages/docusaurus-plugin-content-blog/index.d.ts

* Update packages/docusaurus-plugin-content-blog/index.d.ts

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-17 18:25:02 +02:00
Orta Therox
33ecc4bb17
chore(v2): tighten up the TypeScript onboarding (#3244)
* Tighten up the TypeScript onboarding

* Extend the API to cover everything used in the classic theme

* Wrap up internal TS support
2020-08-17 18:03:21 +02:00
Sébastien Lorber
a4c8a7f55b
refactor(v2): docs plugin refactor (#3245)
* safe refactorings

* safe refactors

* add code to read versions more generically

* refactor docs plugin

* refactors

* stable docs refactor

* progress on refactor

* stable docs refactor

* stable docs refactor

* stable docs refactor

* attempt to fix admonition :(

* configureWebpack docs: better typing

* more refactors

* rename cli

* refactor docs metadata processing => move to pure function

* stable docs refactor

* stable docs refactor

* named exports

* basic sidebars refactor

* add getElementsAround utils

* refactor sidebar + ordering/navigation logic

* stable retrocompatible refactor

* add proper versions metadata tests

* fix docs metadata tests

* fix docs tests

* fix test due to absolute path

* fix webpack tests

* refactor linkify + add broken markdown links warning

* fix DOM warning due to forwarding legacy prop to div element

* add todo
2020-08-17 17:50:22 +02:00
Sébastien Lorber
d17df954b5
refactor(v2): precompile ETA templates (#3238)
* compile ETA templates ahead of time

* handle PR review
2020-08-17 15:43:17 +02:00
François Chalifour
51f07608fa
fix(v2): keep DocSearch state on remounts (#3297)
* fix(v2): keep DocSearch state on remounts

* fix: memoize `transformSearchClient`
2020-08-17 14:58:02 +02:00
Amy Lei
473d263469
feat(v2): add toc to blog posts (#3274)
* refactor TOC into own component

* make layout consistent across blog pages
2020-08-17 14:47:19 +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
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