docusaurus/website/docs
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
..
_partials feat(v2): generalize usage of _ prefix convention to exclude content files/folders (#5173) 2021-07-15 13:21:41 +02:00
api feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396) 2021-08-26 12:21:58 +02:00
assets refactor(v2): async md image transformer + pathname protocol as an escape hatch (#3087) 2020-07-21 17:45:06 +02:00
guides feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396) 2021-08-26 12:21:58 +02:00
i18n refactor: rename Git master branch to main (#5345) 2021-08-17 18:41:53 +02:00
migration feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396) 2021-08-26 12:21:58 +02:00
blog.mdx feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396) 2021-08-26 12:21:58 +02:00
browser-support.md docs(v2): add browsers support documentation (#4758) 2021-05-11 11:03:05 +02:00
cli.md feat(v2): generalize usage of _ prefix convention to exclude content files/folders (#5173) 2021-07-15 13:21:41 +02:00
configuration.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
deployment.mdx docs: specify proper min Node.js version in Travis CI example (#5406) 2021-08-23 00:13:53 +03:00
docusaurus-core.md refactor(core): replace useDocusaurusContext().isClient by useIsBrowser() (#5349) 2021-08-12 19:02:29 +02:00
installation.md feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396) 2021-08-26 12:21:58 +02:00
introduction.md refactor: clean Canny integration + rename 'Feedback' to 'Feature Requests' + improve TS doc page (#5389) 2021-08-20 11:42:13 +02:00
lifecycle-apis.md feat(v2): plugins injectHtmlTags + configureWebpack should receive content loaded (#5037) 2021-06-22 17:36:51 +02:00
playground.mdx feat: docusaurus.new + improved StackBlitz playground (#5235) 2021-07-28 19:27:58 +02:00
presets.md docs: remove docusaurus-preset-name from preset doc (#5372) 2021-08-17 19:38:35 +02:00
search.md docs(v2): mention to install the algolia package in search doc (#4976) 2021-06-15 16:14:03 +02:00
static-assets.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
styling-layout.md docs: update docusaurus-plugin-sass instructions (#5352) 2021-08-13 12:47:13 +02:00
typescript-support.md refactor: clean Canny integration + rename 'Feedback' to 'Feature Requests' + improve TS doc page (#5389) 2021-08-20 11:42:13 +02:00
using-plugins.md docs(v2): fix typo in code block on Using plugins page (#4910) 2021-06-05 17:24:45 +03:00
using-themes.md feat(v2): generalize usage of _ prefix convention to exclude content files/folders (#5173) 2021-07-15 13:21:41 +02:00