This is an automated email from the ASF dual-hosted git repository.
pingsutw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git
The following commit(s) were added to refs/heads/master by this push:
new c7266b8 SUBMARINE-664. Update Submarine website according to Apache
website guidelines
c7266b8 is described below
commit c7266b8bcf3a90763bf7debb92a01b9777396554
Author: Kevin Su <[email protected]>
AuthorDate: Tue Sep 14 05:33:13 2021 +0800
SUBMARINE-664. Update Submarine website according to Apache website
guidelines
### What is this PR for?
Add links that we are missing
The ASF has a set of guidelines for project websites. There's an automated
tool that generates a report.
https://whimsy.apache.org/site/project/submarine
### What type of PR is it?
[Documentation]
### Todos
No
### What is the Jira issue?
<!-- * Open an issue on Jira
https://issues.apache.org/jira/browse/SUBMARINE/
* Put link here, and add [SUBMARINE-*Jira number*] in PR title, eg.
`SUBMARINE-23. PR title`
-->
https://issues.apache.org/jira/browse/SUBMARINE-664
### How should this be tested?
<!--
* First time? Setup Travis CI as described on
https://submarine.apache.org/contribution/contributions.html#continuous-integration
* Strongly recommended: add automated unit tests for any new or changed
behavior
* Outline any manual steps to test the PR here.
-->
### Screenshots (if appropriate)
Build the website locally
### Questions:
* Do the license files need updating? No
* Are there breaking changes for older versions? No
* Does this need new documentation? No
Author: Kevin Su <[email protected]>
Signed-off-by: Kevin <[email protected]>
Closes #748 from pingsutw/SUBMARINE-664 and squashes the following commits:
4a6a5582 [Kevin Su] Fix typo
c58bcdf6 [Kevin Su] Update Submarine website according to Apache website
guidelines
---
website/docusaurus.config.js | 83 ++++++++++++++++++++++++++------------------
1 file changed, 49 insertions(+), 34 deletions(-)
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index f29696c..822ec0c 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -69,38 +69,51 @@ module.exports = {
label: 'Apache',
position: 'right',
items: [
- {
- label: 'Apache Software Foundation',
- href: 'http://www.apache.org/foundation/how-it-works.html',
- },
- {
- label: 'Apache License',
- href: 'http://www.apache.org/licenses/',
- },
- {
- label: 'Sponsorship',
- href: 'http://www.apache.org/foundation/sponsorship.html',
- },
- {
- label: 'Thanks',
- href: 'http://www.apache.org/foundation/thanks.html',
- },
+ {
+ label: 'Apache Software Foundation',
+ href: 'https://www.apache.org/foundation/how-it-works.html',
+ },
+ {
+ label: 'Events',
+ href: 'https://www.apache.org/events/current-event',
+ },
+ {
+ label: 'Apache License',
+ href: 'https://www.apache.org/licenses/',
+ },
+ {
+ label: 'Thanks',
+ href: 'https://www.apache.org/foundation/thanks.html',
+ },
+ {
+ label: 'Security',
+ href: 'https://www.apache.org/security/',
+ },
+ {
+ label: 'Sponsorship',
+ href: 'https://www.apache.org/foundation/sponsorship.html',
+ },
],
}
],
},
footer: {
- style: 'dark',
- links: [
- {
- title: 'Docs',
- items: [
- {
- label: 'Getting Started',
- to: 'docs/',
- },
+ style: 'dark',
+ logo: {
+ alt: 'Apache Open Source Logo',
+ src: 'https://hadoop.apache.org/asf_logo_wide.png',
+ href: 'https://www.apache.org/',
+ },
+ links: [
{
- label: 'API docs',
+ title: 'Docs',
+ items: [
+ {
+ label: 'Getting Started',
+ to: 'docs/',
+ },
+ {
+ label: 'API docs',
to: 'docs/api/environment',
},
],
@@ -122,17 +135,19 @@ module.exports = {
title: 'More',
items: [
{
- label: 'Blog',
- to: 'https://medium.com/@apache.submarine',
- },
- {
- label: 'GitHub',
- href: 'https://github.com/apache/submarine',
+ label: 'Blog',
+ to: 'https://medium.com/@apache.submarine',
},
+ {
+ label: 'GitHub',
+ href: 'https://github.com/apache/submarine',
+ },
],
},
- ],
- copyright: `Copyright © ${new Date().getFullYear()} Apache Submarine is
Apache2 Licensed software.`,
+ ],
+ copyright: `Apache Submarine, Submarine, Apache, the Apache feather
logo, and the Apache Submarine project logo are
+ either registered trademarks or trademarks of the Apache Software
Foundation in the United States and other
+ countries.<br> Copyright © ${new Date().getFullYear()} Apache
Submarine is Apache2 Licensed software.`,
},
},
presets: [
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]