.
├── README.md
├── babel.config.js
├── blog
├── docs
├── docusaurus.config.js
├── i18n
├── LICENSE
├── sidebars.js
├── src
│ ├── components
│ ├── css
│ ├── pages
│ │ ├── community
│ ├── theme
│ │ ├── Footer
├── static
│ ├── img
│ ├── js
Notable directories Description:
-
Blog
The Blog post files are placed in the
blog
directory. You need to create one new folder for each new post and add the author information to theblog/authors.yml
. -
Document
The latest version of the document is under the
docs
(en) and/i18n/zh/docusaurus-plugin-content-docs/current/
(zh). directory. Media including images, video can be placed indocs/media
folder. You must add the new doc file name tosidebars.js
to make it display on the website. -
Pictures
All images are placed in the
static/images
directory.
This website is built using Docusaurus 2, a modern static website generator. If you don't know Docusaurus, please learn more from Docusaurus website.
You can follow these steps to install and build the Cloudberry Database website in your local environment.
- Clone website source
$ git clone https://github.com/cloudberrydb/cloudberrydb-site.git
- Install dependencies
Before building the website, you need to install dependencies to make sure no errors when building.
$ npm install
- Build and run
$ npm run build
$ npm run serve
This command generates static content into the build
directory and
can be served using any static contents hosting service.
If you are using GitHub pages for hosting, this command is a
convenient way to build the website and push to the gh-pages
branch.
Then you can visit localhost:3000
in the browser.
- (Option)If you want to run the local development environment, please run:
$ npm run 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.
Our documents are still in construction, welcome to help. If you're interested in document contribution, you can submit the pull request here.
Apache License Version 2.0(see LICENSE & NOTICE).