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 4480ed328 fix: use casbin.apache.org as site url with trailing slash
4480ed328 is described below
commit 4480ed32881a2f23e39f2f046f8992ccdfb8b375
Author: Yang Luo <[email protected]>
AuthorDate: Sat Oct 3 16:59:38 2026 +0800
fix: use casbin.apache.org as site url with trailing slash
---
docs/GetStarted.mdx | 4 ++--
docusaurus.config.js | 3 ++-
static/robots.txt | 4 +++-
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/docs/GetStarted.mdx b/docs/GetStarted.mdx
index aa8f604d9..0fc923826 100644
--- a/docs/GetStarted.mdx
+++ b/docs/GetStarted.mdx
@@ -191,9 +191,9 @@ You need two configuration files: `model.conf` and
`policy.csv`. The **model** f
To create an Enforcer, provide a [Model](/docs/supported-models) and an
[Adapter](/docs/adapters).
-Casbin provides a [FileAdapter](adapters#file-adapter-built-in) that you can
use. See [Adapter](adapters) for more information.
+Casbin provides a [FileAdapter](/docs/adapters#file-adapter-built-in) that you
can use. See [Adapter](/docs/adapters) for more information.
-- Example using a Model file with the default
[FileAdapter](adapters#file-adapter-built-in):
+- Example using a Model file with the default
[FileAdapter](/docs/adapters#file-adapter-built-in):
```mdx-code-block
<Tabs groupId="langs">
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 6184b6ccc..4ae86ff36 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -7,8 +7,9 @@ module.exports = {
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",
+ url: "https://casbin.apache.org",
baseUrl: "/",
+ trailingSlash: true,
onBrokenLinks: "throw",
markdown: {
hooks: {
diff --git a/static/robots.txt b/static/robots.txt
index 6f27bb66a..6165eaebc 100644
--- a/static/robots.txt
+++ b/static/robots.txt
@@ -1,2 +1,4 @@
User-agent: *
-Disallow:
\ No newline at end of file
+Disallow:
+
+Sitemap: https://casbin.apache.org/sitemap.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]