8000 GitHub - sdvdxl/dubbo-website: Apache Dubbo documents
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sdvdxl/dubbo-website

 
 

Repository files navigation

Dubbo Official Website

CI Status Site Deployment

This project keeps all sources used for building up Dubbo official website which's served at https://dubbo.apache.org.

Prerequisite

Dubbo website is powered by Mkdocs-material.
If your version of Mkdocs is less than 1.1.2, please upgrade to 1.1.2.
Please also make sure you have proper python version installed locally.

Develop instruction

Write docs or blogs

  1. Write docs or blog into standard Markdown files.
  2. Add files into the directory you want to publish.
  3. Update nav menus in mkdocs_en.yml and mkdocs_zh.yml accordingly.

Frequently used target directories are en-us/docs, en-us/blogs, zh-cn/docs and zh-cn/blogs

Build

  1. Install Mkdocs

Check here for details of how to install Mkdocs.

As we have mkdocs-material source codes embedded inside our website, installation of Mkdocs-material is not required.

  1. Build the site

Run mkdocs build --config-file=mkdocs_en.yml or mkdocs build --config-file=mkdocs_zh.yml to build .md files into static files.

Building is only needed when you want to check the effects of your changes locally, you do not need to build before commit, commit the .md source files directly. Check serve command for how to test changes quickly and on the fly.

How to send a PR

  1. Push your changed files and send a PR to master branch.

SEO

Make sure each .md starts with the following texts:

---
title: title
keywords: keywords1,keywords2,keywords3
description: some description
---

Refer to this blog

About

Apache Dubbo documents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 97.7%
  • CSS 2.3%
0