This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new c87268ff5 [MINOR] fix(docs): Fix the link and slug (#4555)
c87268ff5 is described below
commit c87268ff51d0ca369003637abc56fbd307135164
Author: roryqi <[email protected]>
AuthorDate: Fri Aug 16 14:01:16 2024 +0800
[MINOR] fix(docs): Fix the link and slug (#4555)
### What changes were proposed in this pull request?
Fix the link and slug
### Why are the changes needed?
Fix the link and link, otherwise the website can't show.
### Does this PR introduce _any_ user-facing change?
NO.
### How was this patch tested?
By hand.
---
docs/security/how-to-authenticate.md | 8 ++++----
docs/security/how-to-use-cors.md | 2 +-
docs/security/how-to-use-https.md | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/security/how-to-authenticate.md
b/docs/security/how-to-authenticate.md
index a18421807..9b0b380df 100644
--- a/docs/security/how-to-authenticate.md
+++ b/docs/security/how-to-authenticate.md
@@ -137,15 +137,15 @@ You can follow the steps to set up an OAuth mode
Gravitino server.
3. Open [the JWK URL of the Authorization
server](http://localhost:8177/oauth2/jwks) in the browser and you can get the
JWK.
- 
+ 
4. Convert the JWK to PEM. You can use the [online
tool](https://8gwifi.org/jwkconvertfunctions.jsp#google_vignette) or other
tools.
- 
+ 
5. Copy the public key and remove the character `\n` and you can get the
default signing key of Gravitino server.
-6. You can refer to the [Configurations](gravitino-server-config.md) and
append the configurations to the conf/gravitino.conf.
+6. You can refer to the [Configurations](../gravitino-server-config.md) and
append the configurations to the conf/gravitino.conf.
```text
gravitino.authenticators = oauth
@@ -157,7 +157,7 @@ gravitino.authenticator.oauth.serverUri =
http://localhost:8177
7. Open [the URL of Gravitino server](http://localhost:8090) and login in with
clientId `test`, clientSecret `test`, and scope `test`.
- 
+ 
8. You can also use the curl command to access Gravitino.
diff --git a/docs/security/how-to-use-cors.md b/docs/security/how-to-use-cors.md
index c124a021e..243df71f9 100644
--- a/docs/security/how-to-use-cors.md
+++ b/docs/security/how-to-use-cors.md
@@ -1,6 +1,6 @@
---
title: "How to use CORS"
-slug: /security/how-use-cors
+slug: /security/how-to-use-cors
keyword: security cors
license: "This software is licensed under the Apache License version 2."
---
diff --git a/docs/security/how-to-use-https.md
b/docs/security/how-to-use-https.md
index ddb7a5532..100af836b 100644
--- a/docs/security/how-to-use-https.md
+++ b/docs/security/how-to-use-https.md
@@ -87,7 +87,7 @@ bin/keytool -export -alias localhost -keystore localhost.jks
-file localhost.cr
bin/keytool -import -alias localhost -keystore jre/lib/security/cacerts -file
localhost.crt -storepass changeit -noprompt
```
-5. You can refer to the [Configurations](gravitino-server-config.md) and
append the configuration to the conf/gravitino.conf.
+5. You can refer to the [Configurations](../gravitino-server-config.md) and
append the configuration to the conf/gravitino.conf.
Configuration doesn't support resolving environment variables, so you
should replace `${JAVA_HOME}` with the actual value.
Then, You can start the Gravitino server.