Skip to content

apache/hugegraph-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

317 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Apache HugeGraph Documentation Website

Ask DeepWiki License Hugo


ไธญๆ–‡ | English

This is the source code repository for the HugeGraph documentation website.

For the HugeGraph database project, visit apache/hugegraph.

Quick Start

Only 3 steps to run the documentation website locally:

Prerequisites: Hugo Extended v0.95+ and Node.js v16+

# 1. Clone repository
git clone https://github.com/apache/hugegraph-doc.git
cd hugegraph-doc

# 2. Install dependencies
npm install

# 3. Start development server (auto-reload)
hugo server

Open http://localhost:1313 to preview.

Troubleshooting: If you see TOCSS: failed to transform "scss/main.scss", install Hugo Extended version, not the standard version.

Repository Structure

hugegraph-doc/
โ”œโ”€โ”€ content/                    # ๐Ÿ“„ Documentation content (Markdown)
โ”‚   โ”œโ”€โ”€ cn/                     # ๐Ÿ‡จ๐Ÿ‡ณ Chinese documentation
โ”‚   โ”‚   โ”œโ”€โ”€ docs/               #    Main documentation
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ quickstart/     #    Quick start guides
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ config/         #    Configuration docs
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ clients/        #    Client docs
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ guides/         #    User guides
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ...
โ”‚   โ”‚   โ”œโ”€โ”€ blog/               #    Blog posts
โ”‚   โ”‚   โ””โ”€โ”€ community/          #    Community pages
โ”‚   โ””โ”€โ”€ en/                     # ๐Ÿ‡บ๐Ÿ‡ธ English documentation (mirrors cn/ structure)
โ”‚
โ”œโ”€โ”€ themes/docsy/               # ๐ŸŽจ Docsy theme (git submodule)
โ”œโ”€โ”€ assets/                     # ๐Ÿ–ผ๏ธ  Custom assets (fonts, images, scss)
โ”œโ”€โ”€ layouts/                    # ๐Ÿ“ Hugo template overrides
โ”œโ”€โ”€ static/                     # ๐Ÿ“ Static files
โ”œโ”€โ”€ config.toml                 # โš™๏ธ  Site configuration
โ””โ”€โ”€ package.json                # ๐Ÿ“ฆ Node.js dependencies

Contributing

Contribution Workflow

  1. Fork this repository
  2. Create a new branch from master
  3. Make your changes
  4. Submit a Pull Request with screenshots

Requirements

Requirement Description
Bilingual Updates Update BOTH content/cn/ and content/en/
PR Screenshots Include before/after screenshots in PR
Markdown Use Markdown with Hugo front matter

Detailed Guide

See contribution.md for:

  • Platform-specific Hugo installation
  • Docsy theme customization
  • Translation tips

Commands

Command Description
hugo server Start dev server (hot reload)
hugo --minify Build production to ./public/
hugo server -p 8080 Custom port

ไธญๆ–‡็‰ˆ

่ฟ™ๆ˜ฏ HugeGraph ๅฎ˜ๆ–นๆ–‡ๆกฃ็ฝ‘็ซ™ ็š„ๆบไปฃ็ ไป“ๅบ“ใ€‚

ๅฆ‚ๆžœไฝ ๆƒณๆŸฅๆ‰พ HugeGraph ๆ•ฐๆฎๅบ“ๆœฌ่บซ๏ผŒ่ฏท่ฎฟ้—ฎ apache/hugegraphใ€‚

ๅฟซ้€Ÿๅผ€ๅง‹

ๅช้œ€ 3 ๆญฅๅณๅฏๅœจๆœฌๅœฐๅฏๅŠจๆ–‡ๆกฃ็ฝ‘็ซ™๏ผš

ๅ‰็ฝฎๆกไปถ๏ผš Hugo Extended v0.95+ ๅ’Œ Node.js v16+

# 1. ๅ…‹้š†ไป“ๅบ“
git clone https://github.com/apache/hugegraph-doc.git
cd hugegraph-doc

# 2. ๅฎ‰่ฃ…ไพ่ต–
npm install

# 3. ๅฏๅŠจๅผ€ๅ‘ๆœๅŠกๅ™จ๏ผˆๆ”ฏๆŒ็ƒญ้‡่ฝฝ๏ผ‰
hugo server

ๆ‰“ๅผ€ http://localhost:1313 ้ข„่งˆ็ฝ‘็ซ™ใ€‚

ๅธธ่ง้—ฎ้ข˜๏ผš ๅฆ‚ๆžœ้‡ๅˆฐ TOCSS: failed to transform "scss/main.scss" ้”™่ฏฏ๏ผŒ ่ฏดๆ˜Žไฝ ้œ€่ฆๅฎ‰่ฃ… Hugo Extended ็‰ˆๆœฌ๏ผŒ่€Œไธๆ˜ฏๆ ‡ๅ‡†็‰ˆๆœฌใ€‚

ไป“ๅบ“็ป“ๆž„

hugegraph-doc/
โ”œโ”€โ”€ content/                    # ๐Ÿ“„ ๆ–‡ๆกฃๅ†…ๅฎน (Markdown)
โ”‚   โ”œโ”€โ”€ cn/                     # ๐Ÿ‡จ๐Ÿ‡ณ ไธญๆ–‡ๆ–‡ๆกฃ
โ”‚   โ”‚   โ”œโ”€โ”€ docs/               #    ไธป่ฆๆ–‡ๆกฃ็›ฎๅฝ•
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ quickstart/     #    ๅฟซ้€Ÿๅผ€ๅง‹ๆŒ‡ๅ—
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ config/         #    ้…็ฝฎๆ–‡ๆกฃ
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ clients/        #    ๅฎขๆˆท็ซฏๆ–‡ๆกฃ
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ guides/         #    ไฝฟ็”จๆŒ‡ๅ—
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ...
โ”‚   โ”‚   โ”œโ”€โ”€ blog/               #    ๅšๅฎขๆ–‡็ซ 
โ”‚   โ”‚   โ””โ”€โ”€ community/          #    ็คพๅŒบ้กต้ข
โ”‚   โ””โ”€โ”€ en/                     # ๐Ÿ‡บ๐Ÿ‡ธ ่‹ฑๆ–‡ๆ–‡ๆกฃ๏ผˆไธŽ cn/ ็ป“ๆž„ไธ€่‡ด๏ผ‰
โ”‚
โ”œโ”€โ”€ themes/docsy/               # ๐ŸŽจ Docsy ไธป้ข˜ (git submodule)
โ”œโ”€โ”€ assets/                     # ๐Ÿ–ผ๏ธ  ่‡ชๅฎšไน‰่ต„ๆบ (fonts, images, scss)
โ”œโ”€โ”€ layouts/                    # ๐Ÿ“ Hugo ๆจกๆฟ่ฆ†็›–
โ”œโ”€โ”€ static/                     # ๐Ÿ“ ้™ๆ€ๆ–‡ไปถ
โ”œโ”€โ”€ config.toml                 # โš™๏ธ  ็ซ™็‚น้…็ฝฎ
โ””โ”€โ”€ package.json                # ๐Ÿ“ฆ Node.js ไพ่ต–

ๅฆ‚ไฝ•่ดก็Œฎ

่ดก็Œฎๆต็จ‹

  1. Fork ๆœฌไป“ๅบ“
  2. ๅŸบไบŽ master ๅˆ›ๅปบๆ–ฐๅˆ†ๆ”ฏ
  3. ไฟฎๆ”นๆ–‡ๆกฃๅ†…ๅฎน
  4. ๆไบค Pull Request๏ผˆ้™„ๆˆชๅ›พ๏ผ‰

้‡่ฆ่ฏดๆ˜Ž

่ฆๆฑ‚ ่ฏดๆ˜Ž
ๅŒ่ฏญๆ›ดๆ–ฐ ไฟฎๆ”นๅ†…ๅฎนๆ—ถ้œ€ๅŒๆ—ถๆ›ดๆ–ฐ content/cn/ ๅ’Œ content/en/
PR ๆˆชๅ›พ ๆไบค PR ๆ—ถ้œ€้™„ไธŠไฟฎๆ”นๅ‰ๅŽๅฏนๆฏ”ๆˆชๅ›พ
Markdown ๆ–‡ๆกฃไฝฟ็”จ Markdown ๆ ผๅผ๏ผŒๅธฆ Hugo front matter

่ฏฆ็ป†ๆŒ‡ๅ—

ๆŸฅ็œ‹ contribution.md ไบ†่งฃ๏ผš

  • ๅ„ๅนณๅฐ Hugo ๅฎ‰่ฃ…ๆ–นๆณ•
  • Docsy ไธป้ข˜ๅฎšๅˆถ
  • ็ฟป่ฏ‘ๆŠ€ๅทง

ๅธธ็”จๅ‘ฝไปค

ๅ‘ฝไปค ่ฏดๆ˜Ž
hugo server ๅฏๅŠจๅผ€ๅ‘ๆœๅŠกๅ™จ๏ผˆ็ƒญ้‡่ฝฝ๏ผ‰
hugo --minify ๆž„ๅปบ็”Ÿไบง็‰ˆๆœฌๅˆฐ ./public/
hugo server -p 8080 ๆŒ‡ๅฎš็ซฏๅฃ

Contact & Community

WeChat QR Code

Contributors

Thanks to all contributors to the HugeGraph documentation!

contributors


License

Apache License 2.0

About

HugeGraph Website and Doc

Topics

Resources

License

Code of conduct

Security policy

Stars

69 stars

Watchers

19 watching

Forks

Packages

 
 
 

Contributors