-
Notifications
You must be signed in to change notification settings - Fork 28.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-49944][DOCS] Fix broken main.js import and fix image links for…
… streaming documentation ### What changes were proposed in this pull request? We use the `rel_path_to_root` Jekyll variable in front of all paths that require it. ### Why are the changes needed? Currently, our import to `main.js` and AnchorJS are broken in the Spark 4.0.0-2 preview. Also, images aren't appearing for the Structured Streaming doc pages. See the [ASF issue](https://issues.apache.org/jira/browse/SPARK-49944) for more detail. You can see how the pages are broken [here](https://spark.apache.org/docs/4.0.0-preview2/streaming/getting-started.html); here's a screenshot, for example: <img width="1168" alt="image" src="https://github.com/user-attachments/assets/d0dbc970-a5aa-445a-ae21-f4e32973f031"> ### Does this PR introduce _any_ user-facing change? The preview documentation will now have correctly rendered code blocks, and images will appear. ### How was this patch tested? Local testing. Please build the docs site if you would like to verify. It now looks like: <img width="1271" alt="image" src="https://github.com/user-attachments/assets/08b69f58-d6f4-41b0-bcb5-1af80782c133"> ### Was this patch authored or co-authored using generative AI tooling? No. Closes #48438 from neilramaswamy/nr/fix-broken-streaming-links-images. Authored-by: Neil Ramaswamy <neil.ramaswamy@databricks.com> Signed-off-by: Kent Yao <yao@apache.org>
- Loading branch information
1 parent
2c904e4
commit e7cdb5a
Showing
4 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters