docusaurus/packages/docusaurus-plugin-content-docs/src
Joshua Chen 493225a3c6
feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396)
* Complete function

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* A lot of blank lines

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* More lenient validation

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Remove or

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Simpler logic

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Expand docs

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Better docs

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Dogfood

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* More writeup

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Polish

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Polish

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Move mergeAuthorMap to authors.ts

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Unbreak relative assets

* Update docs

* Clarify in docs

* simplify feed authors

* rename authorMap -> authorsMap

* mergeAuthorsMap -> getBlogPostAuthors

* website => 5 blog posts per page

* improve authors map file

* Extract new theme authors components + display in row

* add comment for meta array syntaxes

* blog => getPathsToWatch should watch authorsMap file

* remove useless v1 blog FBID frontmatter

* keep older frontmatter syntax for now

* revert blog frontmatter

* Better console message

* better blog authors frontmatter impl

* add multi authors to beta blog post + fix some authors margins

* fix React key

* Refactor: mdx loader should support a more flexible assets system (poc, not documented yet)

* better display of blog post authors: adapt layout to authors count + add line clamp

* smaller local image

* fix blog feed tests

* fix blog frontmatter tests + improve validation schema

* add more frontmatter tests

* add tests for getAuthorsMapFilePath

* tests for validateAuthorsMapFile

* add tests for readAuthorsMapFile

* test getAuthorsMap

* exhaustive tests for getBlogPostAuthors

* fix remaining tests

* missing blog plugin author tests

* fix windows tests

* improve blog multi-author's doc

* Use new format in init template

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Improve error message

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* update feed snapshot

* blog authors: limit to 2 cols + fix margins for no authors

* minor doc improvements

* better init template blog posts, demonstrating Blog features

* replace the legacy blog author frontmatter in remaining places

* Prefer using clsx

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* cleanup getColClassName

* remove blog author name/title line-clamping

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-08-26 12:21:58 +02:00
..
__tests__ feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396) 2021-08-26 12:21:58 +02:00
client feat(v2): docs version banner configuration option (#5052) 2021-06-24 18:04:16 +02:00
markdown refactor(v2): cleanup console output (#4979) 2021-06-16 11:37:28 +02:00
theme/hooks fix(v2): fix useEffect infinite loop in blogOnly mode (#5097) 2021-06-30 12:50:06 +02:00
cli.ts refactor: better typing + remove unnecessary eslint-disable (#5335) 2021-08-11 16:07:17 +02:00
constants.ts refactor(v2): docs plugin refactor (#3245) 2020-08-17 17:50:22 +02:00
docFrontMatter.ts refactor: better typing + remove unnecessary eslint-disable (#5335) 2021-08-11 16:07:17 +02:00
docs.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
globalData.ts feat(v2): doc navbar item type (#3539) 2020-10-07 14:42:24 +03:00
index.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
lastUpdate.ts fix(v2): read last update from inner git repositories (#5048) 2021-06-24 15:05:22 +02:00
numberPrefix.ts feat(v2): docs, make numberPrefixParser configurable, better defaults, minor breaking-changes (#4655) 2021-04-21 12:06:06 +02:00
options.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
plugin-content-docs.d.ts feat: add metatags support for seo / blogposts #5373 (#5375) 2021-08-20 16:36:18 +02:00
props.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
sidebarItemsGenerator.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
sidebars.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
slug.ts refactor(v2): cleanup console output (#4979) 2021-06-16 11:37:28 +02:00
tags.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
translations.ts feat(v2): core v2 i18n support + Docusaurus site Crowdin integration (#3325) 2020-11-26 12:16:46 +01:00
types.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
versions.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00