[dts] DTS documentation update on dpdk.org
thomas at monjalon.net
Thu Dec 13 14:40:40 CET 2018
The error is because of the mess with branches and tags in DTS.
I cannot manage to understand how branches are used, so I assume
you don't want to update the docs for the old branches.
I have updated the script to take only tags into account, without
updating any oldest version.
I ran it and it works.
But the doc is still showing a version number 17.08.0 because
you never updated the file version.py in DTS.
11/12/2018 12:22, Tu, Lijuan:
> Hi Thomas:
> I removed the previous 18.11, and created the new tag v18.11 using " git tag -am dts-18.11 v18.11"
> And then push to remote: git push origin v18.11,
> Got an error: remote: make: *** [update-dts] Error 1
> I don't know what does it mean, but I didn't find the dts document updated.
> Could you help figure it out?
> Below is the log when I ran "git push origin v18.11"
> Counting objects: 1, done.
> Writing objects: 100% (1/1), 160 bytes | 160.00 KiB/s, done.
> Total 1 (delta 0), reused 0 (delta 0)
> remote: create 18.11
> remote: generating 18.11 documentation...
> remote: HEAD is now at 3831700... tests/nic_single_core_perf: add result into report
> remote: From /srv/git/tools/dts
> remote: 6e3da1b..02c9d57 master -> origin/master
> remote: make: *** [update-dts] Error 1
> To dpdk.org:dts.git
> * [new tag] v18.11 -> v18.11
> > -----Original Message-----
> > From: Thomas Monjalon [mailto:thomas at monjalon.net]
> > Sent: Tuesday, December 11, 2018 5:16 PM
> > To: Tu, Lijuan <lijuan.tu at intel.com>
> > Cc: web at dpdk.org; dts at dpdk.org
> > Subject: Re: DTS documentation update on dpdk.org
> > Hi,
> > 11/12/2018 08:56, Tu, Lijuan:
> > > Hi Thomas,
> > >
> > > Can I ask how it is to trigger the DTS document update on dpdk.org?
> > >
> > > I checked the doc build locally, and there is no build errors, then I make the
> > DTS tag using "git tag -a 18.11".
> > >
> > > I supposed the DTS document will be updated automatically, but actually I
> > find still the old document on web pages.
> > The tag is expected to start with "v":
> > git tag -am dts-18.11 v18.11
> > Please try again with tag v18.11.
> > Note: you can remove previous tag 18.11.
> > My advice: use 18.11 as branch name and v18.11 as tag name.
More information about the dts