Skip to content

Commit

Permalink
fix flink paimon document
Browse files Browse the repository at this point in the history
  • Loading branch information
FANNG1 committed Jan 21, 2025
1 parent e56536b commit a69b37b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clients/client-python/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ pythonPlugin {
pythonVersion.set(project.rootProject.extra["pythonVersion"].toString())
}

val gravitinoVersion: String = project.properties["version"] as String

fun deleteCacheDir(targetDir: String) {
project.fileTree(project.projectDir).matching {
include("**/$targetDir/**")
Expand Down Expand Up @@ -122,7 +124,7 @@ fun generatePypiProjectHomePage() {
// relative path of the images in the how-to-use-python-client.md file is incorrect. We need
// to fix the relative path of the images/markdown to the absolute path.
val content = outputFile.readText()
val docsUrl = "https://datastrato.ai/docs/latest"
val docsUrl = "https://gravitino.apache.org/docs/$gravitinoVersion"

// Use regular expression to match the `[](./a/b/c.md?language=python)` or `[](./a/b/c.md#arg1)` link in the content
// Convert `[](./a/b/c.md?language=python)` to `[](https://datastrato.ai/docs/latest/a/b/c/language=python)`
Expand Down

0 comments on commit a69b37b

Please sign in to comment.