mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
* [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>
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "@docusaurus/theme-common",
|
|
"version": "2.0.0-beta.4",
|
|
"description": "Common code for Docusaurus themes.",
|
|
"main": "./lib/index.js",
|
|
"types": "./lib/index.d.ts",
|
|
"scripts": {
|
|
"build": "node copyUntypedFiles.js && tsc",
|
|
"watch": "node copyUntypedFiles.js && tsc --watch"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/docusaurus.git",
|
|
"directory": "packages/docusaurus-theme-common"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@docusaurus/core": "2.0.0-beta.4",
|
|
"@docusaurus/plugin-content-blog": "2.0.0-beta.4",
|
|
"@docusaurus/plugin-content-docs": "2.0.0-beta.4",
|
|
"@docusaurus/plugin-content-pages": "2.0.0-beta.4",
|
|
"@docusaurus/types": "2.0.0-beta.4",
|
|
"clsx": "^1.1.1",
|
|
"fs-extra": "^10.0.0",
|
|
"tslib": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@docusaurus/module-type-aliases": "2.0.0-beta.4",
|
|
"lodash": "^4.17.20"
|
|
},
|
|
"peerDependencies": {
|
|
"prism-react-renderer": "^1.2.1",
|
|
"react": "^16.8.4 || ^17.0.0",
|
|
"react-dom": "^16.8.4 || ^17.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.13.0"
|
|
}
|
|
}
|