This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 11173e75 fix: add ASF menu and footer copyright
11173e75 is described below

commit 11173e755059b42e831115199b7ef32549bf98df
Author: Yang Luo <[email protected]>
AuthorDate: Sat Apr 11 21:31:34 2026 +0800

    fix: add ASF menu and footer copyright
---
 docusaurus.config.js | 42 ++++++++++++++++++++++++++++++++++++++++--
 src/css/custom.css   |  6 ++++++
 2 files changed, 46 insertions(+), 2 deletions(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 9858d048..034f8900 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -4,7 +4,7 @@ const darkCodeTheme = themes.dracula;
 
 /** @type {import("@docusaurus/types").DocusaurusConfig} */
 module.exports = {
-  title: "Apache Casbin",
+  title: "Apache Casbin (Incubating)",
   tagline:
     "An authorization library that supports access control models like ACL, 
RBAC, ABAC, ReBAC, PBAC, OrBAC, BLP, Biba, LBAC, UCON for Golang, Java, C/C++, 
Node.js, Javascript, PHP, Laravel, Python, .NET (C#), Delphi, Rust, Ruby, Swift 
(Objective-C), Lua (OpenResty), Dart (Flutter) and Elixir",
   url: "https://casbin.org";,
@@ -100,6 +100,44 @@ module.exports = {
           label: "Blog",
           position: "left",
         },
+        {
+          label: "ASF",
+          position: "left",
+          items: [
+            {
+              label: "Foundation",
+              href: "https://www.apache.org/";,
+            },
+            {
+              label: "License",
+              href: "https://www.apache.org/licenses/";,
+            },
+            {
+              label: "Events",
+              href: "https://www.apache.org/events/current-event.html";,
+            },
+            {
+              label: "Privacy",
+              href: 
"https://privacy.apache.org/policies/privacy-policy-public.html";,
+            },
+            {
+              label: "Security",
+              href: "https://www.apache.org/security/";,
+            },
+            {
+              label: "Sponsorship",
+              href: "https://www.apache.org/foundation/sponsorship.html";,
+            },
+            {
+              label: "Thanks",
+              href: "https://www.apache.org/foundation/thanks.html";,
+            },
+            {
+              label: "Code of Conduct",
+              href: "https://www.apache.org/foundation/policies/conduct.html";,
+            },
+          ],
+        },
         {
           to: "/help",
           label: "Help",
@@ -269,7 +307,7 @@ var _hmt = _hmt || [];
         src: "img/asf_logo_wide_small.png",
         href: "https://www.apache.org/";,
       },
-      copyright: `Copyright © ${new Date().getFullYear()} The Apache Software 
Foundation. Apache Casbin, Casbin, and the project logo are trademarks of The 
Apache Software Foundation.`,
+      copyright: `<p>Apache Casbin (Incubating) is an effort undergoing 
incubation at The Apache Software Foundation (ASF), sponsored by the Apache 
Incubator. Incubation is required of all newly accepted projects until a 
further review indicates that the infrastructure, communications, and decision 
making process have stabilized in a manner consistent with other successful ASF 
projects. While incubation status is not necessarily a reflection of the 
completeness or stability of the code,  [...]
     },
     prism: {
       theme: lightCodeTheme,
diff --git a/src/css/custom.css b/src/css/custom.css
index adbefb6d..ef1bc28e 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -338,3 +338,9 @@ footer a[href*="twitter.com"]:active img {
 .footer-community-link:hover .footer-community-icon {
   fill: currentColor;
 }
+
+.footer__copyright {
+  font-size: 0.75rem;
+  line-height: 1.6;
+  opacity: 0.8;
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to