This repo hosts the source code of Apache XTable™ (Incubating)
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
[!NOTE]
If you make changes to the contents insidedocsdirectory, you can verify the changes locally by visiting https://localhost:3000/docs/setup after runningnpm run serve.
releases inside the website directorydownloads.mdx inside the releases directorydocusaurus.config.js file as follows:plugins array under config key, like[ '@docusaurus/plugin-content-docs', { id: 'releases', path: 'releases', routeBasePath: 'releases', }, ]
items array under navbar key, like{to: 'releases/downloads', label: 'Downloads', position: 'left'}
docs folder.sidebars.js file..mdx file similar to website/blog/onetable-now-oss.mdxwebsite/static/images/<folder-name> folder.mdx fileFor thumbnail images, we recommend using 1200x600px and
.pngformat.
.md file with all the content inline following Markdown syntaxwebsite/static/images/<folder-name> folder and refer to it in the blog[!NOTE]
You may see broken thumbnails for the blogs duringnpm startornpm servebecause the images needs to be rendered from the main repo. This can only be tested after being merged to the main branch.
.mdx file similar to website/releases/release-0.2.0-incubating.mdx.html file located at website/static/index.htmlpython 3 -m http.server and visiting http://localhost:8000/ before pushing the changes..md file with all the content for Community page..md file with all the content for how-to-use catalog sync feature.