docusaurus/packages/docusaurus-plugin-content-docs/src/__tests__
Sébastien Lorber be7b5dca78
feat(v2): editUrl function for advanced use-cases (#4121)
* EditUrl function

* normalize blog/docs regarding the editUrl feature + editUrl function

* editUrl fn => always inject posix style relative paths, make tests more reliable
(see also https://github.com/facebook/docusaurus/issues/4124)

* fix editUrl on windows
2021-01-29 15:35:25 +01:00
..
__fixtures__ feat(v2): new docs edit options: editCurrentVersion + editLocalizedDocs (#3949) 2020-12-28 10:25:47 +01:00
__snapshots__ feat(v2): new docs edit options: editCurrentVersion + editLocalizedDocs (#3949) 2020-12-28 10:25:47 +01:00
cli.test.ts refactor(v2): docs plugin refactor (#3245) 2020-08-17 17:50:22 +02:00
docs.test.ts feat(v2): editUrl function for advanced use-cases (#4121) 2021-01-29 15:35:25 +01:00
index.test.ts chore(v2): fix windows Jest tests (#3959) 2020-12-28 19:50:12 +01:00
lastUpdate.test.ts refactor(v2): docs plugin refactor (#3245) 2020-08-17 17:50:22 +02:00
options.test.ts feat(v2): editUrl function for advanced use-cases (#4121) 2021-01-29 15:35:25 +01:00
sidebars.test.ts feat(v2): add custom props for consumption by swizzled sidebar (#3888) 2020-12-10 19:49:21 +01:00
slug.test.ts fix(v2): doc path special char (space or other) should lead to a valid slug (#3262) 2020-08-11 17:20:51 +02:00
translations.test.ts feat(v2): core v2 i18n support + Docusaurus site Crowdin integration (#3325) 2020-11-26 12:16:46 +01:00
versions.test.ts chore(v2): fix windows Jest tests (#3959) 2020-12-28 19:50:12 +01:00