Re: Adding a new blog of dubbo website leads to modification lots of the documentation files

2018-12-13 Thread Ian Luo
I see. It is not a big deal, we can stick to the current solution of
aligning 'docsite' version.

-Ian.

On Thu, Dec 13, 2018 at 9:29 AM Huxing Zhang  wrote:

> Hi,
>
> On Wed, Dec 12, 2018 at 5:27 PM Ian Luo  wrote:
> >
> > Shouldn't we leverage CI to build in order to avoid version conflict?
>
> There is no CI yet. I think we should have something to automate the
> process.
> The problem here is third party CI like Travis is not allowed to have
> write access to code.
> I am wondering whether Apache can offer such a tool for us.
>
> >
> > On Wed, Dec 12, 2018 at 1:25 PM Huxing Zhang  wrote:
> >
> > > Updated readme:
> > >
> https://github.com/apache/incubator-dubbo-website/blob/asf-site/README.md
> > > On Wed, Dec 12, 2018 at 11:49 AM Huxing Zhang 
> wrote:
> > > >
> > > > With some help from @purple-force off-list, I figured it out it is
> due
> > > > to the version of docsite.
> > > > Need to upgrade to docsite 1.3.3+ to solve this issue. Lower version
> > > > of docsite will generate a hash for each file.
> > > > In the lastest version this has been fixed.
> > > >
> > > > I will update the README of the website.
> > > >
> > > > On Tue, Dec 11, 2018 at 5:10 PM Huxing Zhang 
> wrote:
> > > > >
> > > > > Hi community,
> > > > >
> > > > > When I want to add a blog post to Dubbo's website, say adding
> > > > > "blog/zh-cn/dubbo-cluster-error-handling.md"
> > > > > and update "site_config/blog.js"
> > > > >
> > > > > When I try to build the static html files, I got quite a lot of
> files
> > > > > got modified:
> > > > >
> > > > > git status | grep -c modified
> > > > > 811
> > > > >
> > > > > I think this change affected too much files, it is better to limit
> the
> > > > > number of files.
> > > > >
> > > > > Any ideas why it is happening?
> > > > >
> > > > > --
> > > > > Best Regards!
> > > > > Huxing
> > > >
> > > >
> > > >
> > > > --
> > > > Best Regards!
> > > > Huxing
> > >
> > >
> > >
> > > --
> > > Best Regards!
> > > Huxing
> > >
>
>
>
> --
> Best Regards!
> Huxing
>


Re: Adding a new blog of dubbo website leads to modification lots of the documentation files

2018-12-12 Thread Huxing Zhang
Hi,

On Wed, Dec 12, 2018 at 5:27 PM Ian Luo  wrote:
>
> Shouldn't we leverage CI to build in order to avoid version conflict?

There is no CI yet. I think we should have something to automate the process.
The problem here is third party CI like Travis is not allowed to have
write access to code.
I am wondering whether Apache can offer such a tool for us.

>
> On Wed, Dec 12, 2018 at 1:25 PM Huxing Zhang  wrote:
>
> > Updated readme:
> > https://github.com/apache/incubator-dubbo-website/blob/asf-site/README.md
> > On Wed, Dec 12, 2018 at 11:49 AM Huxing Zhang  wrote:
> > >
> > > With some help from @purple-force off-list, I figured it out it is due
> > > to the version of docsite.
> > > Need to upgrade to docsite 1.3.3+ to solve this issue. Lower version
> > > of docsite will generate a hash for each file.
> > > In the lastest version this has been fixed.
> > >
> > > I will update the README of the website.
> > >
> > > On Tue, Dec 11, 2018 at 5:10 PM Huxing Zhang  wrote:
> > > >
> > > > Hi community,
> > > >
> > > > When I want to add a blog post to Dubbo's website, say adding
> > > > "blog/zh-cn/dubbo-cluster-error-handling.md"
> > > > and update "site_config/blog.js"
> > > >
> > > > When I try to build the static html files, I got quite a lot of files
> > > > got modified:
> > > >
> > > > git status | grep -c modified
> > > > 811
> > > >
> > > > I think this change affected too much files, it is better to limit the
> > > > number of files.
> > > >
> > > > Any ideas why it is happening?
> > > >
> > > > --
> > > > Best Regards!
> > > > Huxing
> > >
> > >
> > >
> > > --
> > > Best Regards!
> > > Huxing
> >
> >
> >
> > --
> > Best Regards!
> > Huxing
> >



-- 
Best Regards!
Huxing


Re: Adding a new blog of dubbo website leads to modification lots of the documentation files

2018-12-12 Thread Ian Luo
Shouldn't we leverage CI to build in order to avoid version conflict?

On Wed, Dec 12, 2018 at 1:25 PM Huxing Zhang  wrote:

> Updated readme:
> https://github.com/apache/incubator-dubbo-website/blob/asf-site/README.md
> On Wed, Dec 12, 2018 at 11:49 AM Huxing Zhang  wrote:
> >
> > With some help from @purple-force off-list, I figured it out it is due
> > to the version of docsite.
> > Need to upgrade to docsite 1.3.3+ to solve this issue. Lower version
> > of docsite will generate a hash for each file.
> > In the lastest version this has been fixed.
> >
> > I will update the README of the website.
> >
> > On Tue, Dec 11, 2018 at 5:10 PM Huxing Zhang  wrote:
> > >
> > > Hi community,
> > >
> > > When I want to add a blog post to Dubbo's website, say adding
> > > "blog/zh-cn/dubbo-cluster-error-handling.md"
> > > and update "site_config/blog.js"
> > >
> > > When I try to build the static html files, I got quite a lot of files
> > > got modified:
> > >
> > > git status | grep -c modified
> > > 811
> > >
> > > I think this change affected too much files, it is better to limit the
> > > number of files.
> > >
> > > Any ideas why it is happening?
> > >
> > > --
> > > Best Regards!
> > > Huxing
> >
> >
> >
> > --
> > Best Regards!
> > Huxing
>
>
>
> --
> Best Regards!
> Huxing
>


Re: Adding a new blog of dubbo website leads to modification lots of the documentation files

2018-12-11 Thread Huxing Zhang
Updated readme:
https://github.com/apache/incubator-dubbo-website/blob/asf-site/README.md
On Wed, Dec 12, 2018 at 11:49 AM Huxing Zhang  wrote:
>
> With some help from @purple-force off-list, I figured it out it is due
> to the version of docsite.
> Need to upgrade to docsite 1.3.3+ to solve this issue. Lower version
> of docsite will generate a hash for each file.
> In the lastest version this has been fixed.
>
> I will update the README of the website.
>
> On Tue, Dec 11, 2018 at 5:10 PM Huxing Zhang  wrote:
> >
> > Hi community,
> >
> > When I want to add a blog post to Dubbo's website, say adding
> > "blog/zh-cn/dubbo-cluster-error-handling.md"
> > and update "site_config/blog.js"
> >
> > When I try to build the static html files, I got quite a lot of files
> > got modified:
> >
> > git status | grep -c modified
> > 811
> >
> > I think this change affected too much files, it is better to limit the
> > number of files.
> >
> > Any ideas why it is happening?
> >
> > --
> > Best Regards!
> > Huxing
>
>
>
> --
> Best Regards!
> Huxing



-- 
Best Regards!
Huxing


Re: Adding a new blog of dubbo website leads to modification lots of the documentation files

2018-12-11 Thread Huxing Zhang
With some help from @purple-force off-list, I figured it out it is due
to the version of docsite.
Need to upgrade to docsite 1.3.3+ to solve this issue. Lower version
of docsite will generate a hash for each file.
In the lastest version this has been fixed.

I will update the README of the website.

On Tue, Dec 11, 2018 at 5:10 PM Huxing Zhang  wrote:
>
> Hi community,
>
> When I want to add a blog post to Dubbo's website, say adding
> "blog/zh-cn/dubbo-cluster-error-handling.md"
> and update "site_config/blog.js"
>
> When I try to build the static html files, I got quite a lot of files
> got modified:
>
> git status | grep -c modified
> 811
>
> I think this change affected too much files, it is better to limit the
> number of files.
>
> Any ideas why it is happening?
>
> --
> Best Regards!
> Huxing



-- 
Best Regards!
Huxing