mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-25 01:35:18 -06:00
4be742cbd2
There are some tricks here. * the navbar item is a 'desktop' item, that appears in mobile too * this is based on an 'official' workaround detailed here: https://github.com/facebook/docusaurus/issues/7227#issue-1212117180 * the navbar item is null when rendered in the mobile burger nav since it's always visible. * the version is ONLY shown on docs/* pages to show the user that it's only that part of the site that's versioned. I had some feedback that the version indicator in the navbar was too prominent. In outdated versions, we can make this red or something. Signed-off-by: Charlie Egan <charlie@styra.com>
28 lines
685 B
JSON
28 lines
685 B
JSON
{
|
|
"name": "OPA Website",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"dependencies": {
|
|
"@docusaurus/core": "^3.7.0",
|
|
"@docusaurus/plugin-google-gtag": "^3.8.0",
|
|
"@docusaurus/preset-classic": "^3.8.0",
|
|
"@docusaurus/theme-mermaid": "^3.8.0",
|
|
"@easyops-cn/docusaurus-search-local": "^0.49.2",
|
|
"docusaurus-lunr-search": "^3.6.0",
|
|
"md-front-matter": "^1.0.4",
|
|
"raw-loader": "^4.0.2",
|
|
"react-markdown": "^10.1.0",
|
|
"styled-components": "^6.1.18"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.0.0"
|
|
}
|
|
}
|