You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ts...@apache.org on 2019/02/01 13:59:13 UTC

[incubator-dubbo-website] branch asf-site updated: Add an article about how to update dubbo information on apache official site (#263)

This is an automated email from the ASF dual-hosted git repository.

tswstarplanet pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new bb9d7d1  Add an article about how to update dubbo information on apache official site (#263)
bb9d7d1 is described below

commit bb9d7d1d5b2d8d875e8d1397f858cca5ed3cce04
Author: Taosheng Wei <ts...@apache.org>
AuthorDate: Fri Feb 1 21:59:09 2019 +0800

    Add an article about how to update dubbo information on apache official site (#263)
    
    * Add an article about how to update dubbo information on apache official site
    
    * Add a article about how to update dubbo information on apache official site.
    
    * Add reference info
    
    * Update develop.js to let the article be displayed in the sidebar
---
 .../committer-guide/apache-dubbo-page_dev.md       | 32 ++++++++++++++++++++++
 .../committer-guide/apache-dubbo-page_dev.md       | 27 ++++++++++++++++++
 site_config/develop.js                             | 14 +++++++---
 3 files changed, 69 insertions(+), 4 deletions(-)

diff --git a/docs/en-us/developers/committer-guide/apache-dubbo-page_dev.md b/docs/en-us/developers/committer-guide/apache-dubbo-page_dev.md
new file mode 100644
index 0000000..bdadc2f
--- /dev/null
+++ b/docs/en-us/developers/committer-guide/apache-dubbo-page_dev.md
@@ -0,0 +1,32 @@
+# Apache Official Dubbo Page Maintenance
+
+Apache has an official website that maintains information about all incubation projects. 
+Each incubation project has an information page under this website. 
+Dubbo's information page address is https://incubator.apache.org/projects/dubbo.html.
+
+When the project has undergone major changes, such as the addition of a new committer, 
+the election of a new PPMC, or a new version of Release, etc., these updates need to be maintained on this page.
+The project address for this official website is 
+https://svn.apache.org/repos/asf/incubator/public/trunk.
+
+Here's how to maintain this page:
+
+1. Install the SVN. If it is a Mac OS X system or a Linux system, it comes with SVN. If it is a Windows system, 
+please install SVN first.
+
+2. Check out the https://svn.apache.org/repos/asf/incubator/public/trunk project with SVN.
+
+3. Modify the content/projects/dubbo.xml file and save it.
+
+4. Install ANT. And execute the ant command in the trunk directory to build.
+
+5. After the build is complete, open the target/site/projects/dubbo.html file with your browser to see if the changes take effect.
+
+6. Use the commit command of SVN to submit the dubbo.xml file to the server, and do not submit the dubbo.html file 
+(because the server will automatically build it at regular intervals).
+This process will ask for the Apache id and password.
+
+References:
+
+1.http://incubator.apache.org/guides/website.html
+2.https://svn.apache.org/repos/asf/incubator/public/trunk/README.txt
\ No newline at end of file
diff --git a/docs/zh-cn/developers/committer-guide/apache-dubbo-page_dev.md b/docs/zh-cn/developers/committer-guide/apache-dubbo-page_dev.md
new file mode 100644
index 0000000..6271f96
--- /dev/null
+++ b/docs/zh-cn/developers/committer-guide/apache-dubbo-page_dev.md
@@ -0,0 +1,27 @@
+# Apache官方Dubbo主页的维护
+
+Apache有一个官方的网站,用来维护所有的孵化项目的信息。每一个孵化项目在这个网站下都有一个信息页。
+Dubbo的信息页地址是https://incubator.apache.org/projects/dubbo.html。
+
+当项目发生比较大的变化,比如新的committer的加入,新的PPMC的当选;或是新版本的Release等,都需要将这些更新信息维护到这个页面。
+这个官方网站的项目地址是https://svn.apache.org/repos/asf/incubator/public/trunk。
+
+维护这个页面的方法如下:
+
+1.安装SVN。若是Mac OS X系统或是Linux系统,则自带了SVN。若是Windows系统,则请首先自行安装SVN。
+
+2.用SVN将https://svn.apache.org/repos/asf/incubator/public/trunk这个项目checkout下来。
+
+3.修改content/projects/dubbo.xml文件,并保存。
+
+4.安装ANT。并在trunk目录下执行ant命令进行构建。
+
+5.构建完成后,用浏览器打开target/site/projects/dubbo.html文件,看修改是否生效。
+
+6.用SVN的commit命令将dubbo.xml文件提交到服务器,并且不要提交dubbo.html文件(因为服务器端会定时自动构建)。
+此过程会要求输入Apache id和密码。
+
+参考:
+
+1.http://incubator.apache.org/guides/website.html
+2.https://svn.apache.org/repos/asf/incubator/public/trunk/README.txt
\ No newline at end of file
diff --git a/site_config/develop.js b/site_config/develop.js
index 13bb213..1216b0c 100644
--- a/site_config/develop.js
+++ b/site_config/develop.js
@@ -57,6 +57,10 @@ export default {
                         link: '/en-us/docs/developers/committer-guide/website-guide_dev.html',
                     },
                     {
+                        title: 'Apache Dubbo Page Maintenance',
+                        link: '/en-us/docs/developers/committer-guide/apache-dubbo-page_dev.html',
+                    },
+                    {
                         title: 'Release Guide',
                         link: '/en-us/docs/developers/committer-guide/release-guide_dev.html',
                     }
@@ -107,13 +111,11 @@ export default {
                         {
                             title: '邮件列表订阅向导',
                             link: '/zh-cn/docs/developers/contributor-guide/mailing-list-subscription-guide_dev.html',
-                        }
-                        ,
+                        },
                         {
                             title: 'CLA签署向导',
                             link: '/zh-cn/docs/developers/contributor-guide/cla-signing-guide_dev.html',
-                        }
-                        ,
+                        },
                         {
                             title: 'Dubbo Extension向导',
                             link: '/zh-cn/docs/developers/contributor-guide/dubbo-extension-guide_dev.html',
@@ -136,6 +138,10 @@ export default {
                             link: '/zh-cn/docs/developers/committer-guide/website-guide_dev.html',
                         },
                         {
+                            title: 'Apache Dubbo主页的维护',
+                            link: '/zh-cn/docs/developers/committer-guide/apache-dubbo-page_dev.html',
+                        },
+                        {
                             title: '版本发布向导',
                             link: '/zh-cn/docs/developers/committer-guide/release-guide_dev.html',
                         }