commit | 218ea203e839e14acba2e57791e6ddcd232aa9bc | [log] [tgz] |
---|---|---|
author | Shiyan Xu <2701446+xushiyan@users.noreply.github.com> | Wed Apr 24 20:09:11 2024 -0500 |
committer | GitHub <noreply@github.com> | Wed Apr 24 20:09:11 2024 -0500 |
tree | 82e953470f2c6e8042fbcc2d66ae8f3b41a6d556 | |
parent | 6aaf50dbffdbb1d66ff58a736160a84b7b65ca48 [diff] |
[MINOR] Fix link (#11088)
This repo hosts the source code of Apache Hudi Official Website.
Install npm for the first time.
cd website
npm install
cd website
npm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
cd website
npm run build
This command generates static content into the build
directory and can be served using any static contents hosting service.
It is important to test your build locally before deploying to production.
cd website
npm run serve
Build from source
./website/scripts/build-site.sh
The results are moved to directory: content
To better understand how versioning works and see if it suits your needs, you can read on below.
website ├── sidebars.js # sidebar for master (next) version ├── docs # docs directory for master (next) version │ └── hello.md # https://mysite.com/docs/next/hello ├── versions.json # file to indicate what versions are available ├── versioned_docs │ ├── version-0.7.0 │ │ └── hello.md # https://mysite.com/docs/0.7.0/hello │ └── version-0.8.0 │ └── hello.md # https://mysite.com/docs/hello ├── versioned_sidebars │ ├── version-0.7.0-sidebars.json │ └── version-0.8.0-sidebars.json ├── docusaurus.config.js └── package.json
The table below explains how a versioned file maps to its version and the generated URL.
Path | Version | URL |
---|---|---|
versioned_docs/version-0.7.0/hello.md | 0.7.0 | /docs/0.7.0/hello |
versioned_docs/version-0.8.0/hello.md | 0.8.0 (latest) | /docs/hello |
docs/hello.md | next | /docs/next/hello |
docs
directory is ready to be frozen as a version. A version always should be based from master.npm run docusaurus docs:version 0.8.0
When tagging a new version, the document versioning mechanism will:
docs/
folder contents into a new versioned_docs/version-<version>/
folder.versioned_sidebars/version-<version>-sidebars.json
.versions.json
.Latest releases
inside website/src/components/HomepageHeader/index.js
to point to this new release. Previously this was fixed inside website/src/pages/index.js
. going forward this needs to be fixed inside website/src/components/HomepageHeader/index.js
.Master docs
# The new file. docs/new.md # Edit the corresponding sidebar file. sidebar.js
Older docs
# The new file. versioned_docs/version-0.7.0/new.md # Edit the corresponding sidebar file. versioned_sidebars/version-0.7.0-sidebars.json
.md
extension.The [@hello](hello.md#paginate) document is great! See the [Tutorial](../getting-started/tutorial.md) for more info.
Each directory in versioned_docs/
will represent a documentation version.
You can update multiple docs versions at the same time because each directory in versioned_docs/
represents specific routes when published.
Example: When you change any file in versioned_docs/version-0.7.0/
, it will only affect the docs for version 0.7.0
.
Configs can be automatically updated by following these steps documented at ../hudi-utils/README.md
When adding a talk, please follow these guidelines.
:::note “Hoodie: An Open Source Incremental Processing Framework From Uber” - By Vinoth Chandar. Apr 2017, DataEngConf, San Francisco, CA Slides Video :::
When adding a new blog, please follow these guidelines.
title
, authors
, image
, tags
in the metadata of the blog. For example the front matter for a blog should look like below.--- title: "Blog title" author: FirstName LastName category: blog image: /assets/images/blog/<image_file> tags: - how-to - deltastreamer - incremental-processing - apache hudi ---
.md
file. Example for an inline blog - (Build Open Lakehouse using Apache Hudi & dbt)[https://github.com/apache/hudi/blob/asf-site/website/blog/2022-07-11-build-open-lakehouse-using-apache-hudi-and-dbt.md]. If the blog is referring to an external blog you would need to embed the redirect url and save it as a .mdx
file. Take a look at this blog for reference - (Apache Hudi vs Delta Lake vs Apache Iceberg - Lakehouse Feature Compariso)[https://raw.githubusercontent.com/apache/hudi/asf-site/website/blog/2022-08-18-Apache-Hudi-vs-Delta-Lake-vs-Apache-Iceberg-Lakehouse-Feature-Comparison.mdx]upsert
not upserts
or use delete
not deletes
uber
as the tag here. Another example - for https://robinhood.engineering/author-balaji-varadarajan-e3f496815ebf we would use robinhood
as the tag. For blogs directly contributed to hudi repo, we can use apache hudi
as the tag.When adding a new video guide, please follow these guidelines.
title
, last_modified_at
, authors
, image
, navigate
, tags
in the metadata of the video guide. For example the front matter for a video guide should look like below.--- title: "Video guide title" last_modified_at: <Time in this format - 2023-10-13T16:54:38.964863-07:00> authors: - name: FirstName LastName - name: FirstName LastName category: blog image: /assets/images/video_blogs/<image_file> navigate: "<youtube/any other video link>" tags: - guide - hands-on - csv - aws glue - apache hudi ---
<yyyy-mm-dd>-<Video Guide Title>.md
file where date part of the file name represents date published.<yyyy-mm-dd>-<Video Guide Title>.png
If there is no thumbnail or cover image stick to the default image - /assets/images/hudi-video-page-default.png
(OR) another alternative would be to create a simple cover image with the title of the video as the thumbnail.deltastreamer
and hudi streamer
since we renamed deltastreamer.- Please do not use `index` as a tag. Instead, use `indexing`. - Please do not use `-` in tags, since it may affect discoverability. - When referring to a specific type of query like `snapshot query` with query as the suffix use singular. - When referring to write operation types prefer plural. Ex: `inserts` over `insert`. - Avoid class names
Apache Hudi Community