Sébastien Lorber
1f8fa5e859
fix: add admonitions support to mdx partials loaded through the fallback mdx loader ( #5339 )
2021-08-11 16:33:25 +02:00
Joshua Chen
ee6ebc4877
refactor: better typing + remove unnecessary eslint-disable ( #5335 )
...
* Initial work
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix a few errors
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Restore default value
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update docs
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Use custom route config
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Address a few suggestions
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Revert logo change
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Restore key
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Oops
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Remove use of any
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Remove eslint-disable
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Put type reference back
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Remove
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-08-11 16:07:17 +02:00
Joshua Chen
0c0c14120e
refactor(plugin-blog): style improvements in blogUtils ( #5338 )
...
* Minor refactor
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Revert forEach change
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-08-11 15:40:33 +02:00
Sébastien Lorber
a2ab4d33c8
feat: Markdown page-specific head metadatas ( #5330 )
...
* Markdown page-specific head metadatas
* ensure mdxType attribute is not added to the final markup
* polish doc
* Update packages/docusaurus-theme-classic/src/theme/MDXComponents/index.tsx
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* fix eslint annoying rule error
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-08-11 11:39:01 +02:00
Joshua Chen
6c21061e34
refactor(website): convert website to TypeScript ( #5328 )
...
* Initial work
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor changes
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix error
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* This looks better
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Address suggestions
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Better style
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Better style
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Better context typing
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update edit URL
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor refactor
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-08-11 11:38:33 +02:00
John Reilly
9afc900780
feat: structured data for blog posts ( #5322 )
2021-08-11 11:20:55 +02:00
Pierre-Gilles Leymarie
ec1401ad80
fix: plugin ideal-image should generate filename with a hash even in development ( #5334 )
2021-08-11 11:14:57 +02:00
dependabot[bot]
236c33c6c1
chore: bump url-parse from 1.5.1 to 1.5.3 ( #5336 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 11:09:20 +02:00
Alexey Pyltsyn
09f089b612
chore: upgrade Infima to alpha.30 ( #5256 )
...
* chore: upgrade Infima to alpha.30
* Remove redundant CSS class
* Update index.tsx
2021-08-11 10:56:57 +03:00
Alexey Pyltsyn
0c73afd1b4
fix: remove top margin only from directly first element ( #5240 )
2021-08-11 09:47:05 +03:00
Sam Wall
10ac9a6f2a
docs: add mdx-mermaid to resources ( #5332 )
2021-08-11 09:44:09 +03:00
Sébastien Lorber
49715d7a36
docs: Changelog page should display TOC with releases ( #5331 )
2021-08-10 19:56:41 +02:00
Joshua Chen
4c246493ef
refactor(init): share common files between templates ( #5315 )
...
* Create shared folder & update init logic
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Restore needed links
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Prevent copying symlinks
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Reuse some FB files
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor tweak
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor refactors
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix bootstrap url
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add path alias
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Handle facebook template more gracefully
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* minor refactor: extract getTypeScriptBaseTemplate
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-08-10 16:26:59 +02:00
HaochenQ
58a8b0ea2c
docs: add Haochen to showcase page ( #5329 )
...
* Update users.js
Adding my website built with docusaurus as a showcase.
* Add files via upload
Add an image preview.
2021-08-10 16:23:36 +02:00
Hamza Hamidi
39faf44718
fix: make proper highlighting doc link if no sidebar ( #5317 )
...
* fix: All navbar items without sidebar are active
Close All navbar items without sidebar are active #5310
* Update packages/docusaurus-theme-classic/src/theme/NavbarItem/DocNavbarItem.tsx
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-08-10 15:34:18 +02:00
Alexey Pyltsyn
60599552e4
fix: avoid extra default active class on doc sidebar item ( #5316 )
2021-08-10 15:21:39 +02:00
Sébastien Lorber
1257e99112
docs: try to make plugin/preset config less confusing ( #5313 )
2021-08-10 12:32:44 +02:00
Alexey Pyltsyn
928ba75da4
fix: unbreak highlighting regular navbar links ( #5319 )
2021-08-10 12:30:48 +02:00
Michal Sänger
18151879d2
feat: add Czech translation for docusaurus-theme-classic ( #5314 )
2021-08-08 00:07:32 +03:00
Joshua Chen
28e25992ab
feat: new init template classic-typescript ( #5233 )
...
* Add typescript template
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update template
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Complete CLI
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Remove d.ts file
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Refactor
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Revert lock file changes
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Regenerate lock
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add stylelint ignore
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix tsconfig
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Attempt to use symlink
* More symlinks
* Link all markdown
* Link source files
* Change to relative links
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix blogs
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix link
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Link config
* Documentation
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add option to index
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add option
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix copying
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Provide suffix
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Always have colored output
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Remove return signature
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update generate examples
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update lock
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix tsconfig
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Use latest docusaurus
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update lock
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add type def
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* init: make classic first in list + mark as recommended + minor refactors
* remove types.d.ts
* add "yarn typecheck" script
* Minor tweaks
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Generate example for TS
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add comment
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* No emit when running tsc
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* FIx generate examples
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Remove compiler options
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* This looks better
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Use new tsconfig
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-08-06 19:11:36 +02:00
Sébastien Lorber
6b396055f8
fix: fix changelog page mdx import for i18n ( #5312 )
2021-08-06 19:09:29 +02:00
Sébastien Lorber
cabb768473
feat: blog posts support /YYYY/MM/DD/blog-post/index.md pattern + blog frontmatter can reference relative images ( #5309 )
...
* POC of blog post folder
* add parseBlogFileName with tests + refactor and extract processBlogSourceFile in separate method
* improve blog date pattern doc + link from content plugin guides to API ref docs
* Some FrontMatter fields should be able to reference relative image assets, converted to Webpack require calls and exposed as frontMatterAssets
* remove log
2021-08-06 17:51:59 +02:00
wan-nyan-wan
34e9080232
fix: docusaurus serve logs wrong port if 3000 is taken ( #5311 )
2021-08-06 17:16:34 +02:00
Alexey Pyltsyn
081db7b35c
fix: remove unexpected whitespaces in CSS bundle ( #5308 )
2021-08-06 11:59:59 +02:00
Sébastien Lorber
916b82119b
feat: mdx loader fallback, allow importing mdx docs from anywhere ( #5299 )
...
* move deep filepath test
* split markdownPageExample.md
* re-org dogfooding content
* Add mdx partials fallback synthetic plugin by default
* test commit
* hide changelog title as it's already included in the partial file
* trigger CI
* fix changelog sidebar label
2021-08-06 11:32:22 +02:00
Joshua Chen
780e924a9e
fix: fix constant value import ( #5297 )
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-08-05 14:54:09 +02:00
Sébastien Lorber
81e6578fae
docs: update canary doc ( #5296 )
2021-08-05 14:38:48 +02:00
Sébastien Lorber
b5ecf270d9
fix: fix canary release version name ( #5295 )
2021-08-05 14:19:58 +02:00
Joshua Chen
0a668366c2
refactor: properly type docs version ( #5284 )
...
* Type docs version
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Move non-null assertions
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Test again
2021-08-05 10:52:35 +02:00
Alexey Pyltsyn
bc6c67720a
fix: make successful build if missing favicon ( #5290 )
2021-08-05 10:43:14 +02:00
Sébastien Lorber
33b88ab717
fix: fix canary release versions ( #5285 )
2021-08-04 18:34:06 +02:00
Joshua Chen
c603056f66
docs: refactor API documentation ( #5219 )
...
* Refactor plugin-docs documentation
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Refactor theme-configuration
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Refactor plugin-blog docs
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix link
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* plugin-pages
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor change
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Interchange table columns
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fixes
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor improvements
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix hash link
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Move blog front matter to API
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add more blog documentation
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update blog.md
* Update blog.md
* Update blog.md
* Update website/docs/blog.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-08-04 16:35:17 +02:00
Alexey Pyltsyn
2c0b82e7ab
fix: apply proper class for active doc item on mobiles + avoid duplicated classes ( #5264 )
...
* fix: apply proper class for active doc item on mobiles
* Fixes after review
2021-08-04 15:29:10 +02:00
Marko Saric
2360c592ab
docs: Add Plausible Analytics docs to showcase page ( #5271 )
...
* Add Plausible Analytics docs to showcase page
* add plausible.png
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-08-04 14:18:33 +02:00
Alexey Pyltsyn
fdda2bd7fd
docs: fix broken link to syncing tab choices section ( #5283 )
2021-08-04 10:37:10 +03:00
dependabot[bot]
619c029e33
chore: bump tar from 4.4.13 to 4.4.15 ( #5281 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 4.4.13 to 4.4.15.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.15 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-04 10:17:53 +03:00
Massoud Maboudi
8e9b829d98
refactor: improve Farsi default translations ( #5280 )
2021-08-04 10:09:11 +03:00
Federico Aloi
22d3299b47
fix: improve Spanish translation ( #5275 )
2021-08-03 21:30:37 +03:00
Sébastien Lorber
bb825faf1c
fix: ability to link md files with relative paths when paths contain space ( #5270 )
...
* fix md linkify function when spaces in paths
* fix linkify
2021-08-02 18:02:01 +02:00
Sébastien Lorber
cdc41d5bb6
misc: enable pt-BR + archive older versions ( #5269 )
...
* add pt-BR to main site!
* archive older docs
2021-08-02 16:00:31 +02:00
Joshua Chen
bd46de18f9
fix: fix wrong regex that removes extra letters from swizzled component names ( #5268 )
2021-08-02 11:44:45 +02:00
Alexey Pyltsyn
8a198ef20a
fix: show secondary menu if even there is no main one ( #5262 )
2021-08-02 11:16:32 +02:00
Joshua Chen
650f989dbb
fix: fix various TS errors ( #5261 )
...
* Fix import errors
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Oops
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Mark contentLoaded async
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-08-02 11:02:43 +02:00
Jonny Burger
778def2d8c
docs(v2): update Remotion website picture in showcase ( #5259 )
2021-07-30 20:07:56 +03:00
Dmitry Zhifarsky
ca8803146c
docs(v2): add Dart Code Metrics site to showcase page ( #5260 )
2021-07-30 20:05:42 +03:00
Forresst
d7e483557e
docs: Fix typo 2-resources.md
( #5253 )
...
Fix typo
2021-07-30 11:06:45 +02:00
Tunghsiao Liu
4beb218abe
docs(v2): add docusaurus-prince-pdf to resources ( #5248 )
2021-07-29 18:56:39 +02:00
Sébastien Lorber
36bea24f67
fix: fix crowdin mapping for pt-BR ( #5249 )
2021-07-29 18:48:55 +02:00
Joshua Chen
9e615eff02
refactor: reduce ESLint warnings / better typing ( #5242 )
...
* Fix code block children type
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add return type
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add types
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix return types
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix details type
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix type
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-07-29 17:59:38 +02:00
David Seal
a59378ba87
docs(v2): Add unmand site to showcase page ( #5239 )
2021-07-29 17:36:12 +02:00