Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 48 additions & 12 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const config = {
position: 'left',
label: 'Project Information',
items: [
/* Temporarily commented out because these two documents are too large and depend on the Ambari project generation.
/* Temporarily commented out because these two documents are too large and depend on the Ambari project generation.
They cannot be treated as static files pushed to git, and they also block the GitHub workflow process.
{
label: 'Old Version Website',
Expand Down Expand Up @@ -157,10 +157,6 @@ const config = {
target: '_blank',
to: '/old/mail-lists.html',
},*/
{
label: "Project License",
href: 'https://www.apache.org/licenses/'
}
],
},
{
Expand All @@ -172,6 +168,46 @@ const config = {
label: 'GitHub',
position: 'right',
},
{
title: 'Legal',
type: 'dropdown',
position: 'left',
label: 'Apache',
items: [
{
label: 'License',
href: 'https://www.apache.org/licenses/',
},
{
label: 'Apache Software Foundation',
href: 'https://www.apache.org/',
},
{
label: 'ApacheCon Events',
href: 'https://www.apachecon.com/',
},
{
label: 'Privacy Policy',
href: 'https://privacy.apache.org/policies/privacy-policy-public.html',
},
{
label: 'Security',
href: 'https://www.apache.org/security/',
},
{
label: 'Trademarks',
href: 'https://www.apache.org/foundation/marks/',
},
{
label: 'Sponsorship',
href: 'https://www.apache.org/foundation/sponsorship.html',
},
{
label: 'Thanks our Sponsors',
href: 'https://www.apache.org/foundation/thanks.html',
},
],
},
],
},
footer: {
Expand All @@ -182,12 +218,12 @@ const config = {
theme: themes.github,
darkTheme: themes.dracula,
additionalLanguages: ['bash', 'diff', 'json'],
},
}
}),
plugins: [
'docusaurus-plugin-less',
require.resolve('./src/plugins/csp-plugin'),
],
};
plugins: [
'docusaurus-plugin-less',
require.resolve('./src/plugins/csp-plugin'),
],
};

export default config;
export default config;
52 changes: 50 additions & 2 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,56 @@ const sidebars = {
"ambari-plugin-contribution/step-by-step"
]
},
"ambari-alerts"
"ambari-alerts",
{
"type": "category",
"label": "Apache",
"collapsible": true,
"collapsed": false,
"items": [
{
"type": "link",
"label": "Foundation",
"href": "https://www.apache.org/"
},
{
"type": "link",
"label": "Events",
"href": "https://www.apachecon.com/"
},
{
"type": "link",
"label": "License",
"href": "https://www.apache.org/licenses/"
},
{
"type": "link",
"label": "Thanks",
"href": "https://www.apache.org/foundation/thanks.html"
},
{
"type": "link",
"label": "Security",
"href": "https://www.apache.org/security/" // if we have specific security.html, it should be here
},
{
"type": "link",
"label": "Sponsorship",
"href": "https://www.apache.org/foundation/sponsorship.html"
},
{
"type": "link",
"label": "Trademarks",
"href": "https://www.apache.org/foundation/marks/"
},
{
"type": "link",
"label": "Privacy",
"href": "https://privacy.apache.org/policies/privacy-policy-public.html"
},
]
}
]
};

module.exports = sidebars;
module.exports = sidebars;
Loading