docusaurus/packages/docusaurus-plugin-content-docs/src/__tests__
Isaac Philip f9c79cbd58
feat: doc tags (same as blog tags) (#3646)
* [v2] tags to doc, same as tags to blog - [IN PROGRESS]

- Addition of plugin-content-docs

- Addition of DocTagsListPage in `docusaurus-theme-classic`

! Error exists for this commit towards the theme aspect and help required.

Commit towards #3434

* docs: make tags list page work

* temp: disable onBrokenLinks

* theme bootstrap: create DocTagsListPage

* DocTagsPage added and functionality too

- individual doc tag page added to show docs for that specific tag

* Added all Docs Tags Link

* add some shared tag utils

* move tag tests to _dogfooding

* fix type

* fix some tests

* fix blog test

* refactor blog post tags handling

* better yaml tag examples

* better dogfood md files

* refactor and factorize theme tag components

* finish DocTagDocListPage

* Extract DocItemFooter + add inline tag list

* minor fix

* better typings

* fix versions.test.ts tests

* add tests for doc tags

* fix tests

* test toTagDocListProp

* move shared theme code to tagUtils

* Add new theme translation keys

* move common theme code to tagUtils + add tests

* update-code-translations should handle theme-common

* update french translation

* revert add translation

* fix pluralization problem in theme.docs.tagDocListPageTitle

* add theme component configuration options

* add more tags tests

* add documentation for docs tagging

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-08-19 10:31:15 +02:00
..
__fixtures__ feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
__snapshots__ feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
cli.test.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
docFrontMatter.test.ts fix(v2): allow negative sidebar positions (#5074) 2021-06-28 19:59:05 +02:00
docs.test.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
index.test.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
lastUpdate.test.ts fix(v2): read last update from inner git repositories (#5048) 2021-06-24 15:05:22 +02:00
numberPrefix.test.ts feat(v2): docs, make numberPrefixParser configurable, better defaults, minor breaking-changes (#4655) 2021-04-21 12:06:06 +02:00
options.test.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
props.test.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
sidebarItemsGenerator.test.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
sidebars.test.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
slug.test.ts feat(v2): auto-generated sidebars, frontmatter-less sites (#4582) 2021-04-15 16:20:11 +02:00
translations.test.ts feat(v2): redesign mobile UX: inline TOC + doc sidebar in main menu (#4273) 2021-07-09 16:50:38 +02:00
versions.test.ts feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00