Skip to contentSkip to conversation

Previous DPDK version API documentation for app developers

DISCUSSION Matthew Hall 3 participants 8 messages Feb 12, 2015 – Feb 17, 2015 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi all,

I ran into a funny situation today with the API documentation.

For stability until I can get my app mostly working, I was using DPDK 1.7.X, so I could concentrate on making the app reliable. But the DPDK website only has the API docs for DPDK 1.8.X / HEAD.

I was wondering if we could have copies of the most recent few versions in the site, and some scripts or steps to regenerate locally so you can get the matching version in the local machine.

This would also help me to do some suppoert things for our community, like making small patches to fix parts of the docs with typos / formatting bugs.

With the steps how to generate them right, I could fix docs bugs in the sources and make sure the docs read right afterward for others.

Thanks,
Matthew.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 11 lines · Matthew Hall

Hi all,

I ran into a funny situation today with the API documentation.

For stability until I can get my app mostly working, I was using DPDK 1.7.X, so I could concentrate on making the app reliable. But the DPDK website only has the API docs for DPDK 1.8.X / HEAD.

I was wondering if we could have copies of the most recent few versions in the site, and some scripts or steps to regenerate locally so you can get the matching version in the local machine.

Same goes for release notes: old versions should be kept around and preferably at the original url, which requires them to be versioned from the start.

- Panu -

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

2015-02-12 11:03, Panu Matilainen:

Quoted 9 lines · Matthew Hall
Quoted 8 lines

Hi all,

I ran into a funny situation today with the API documentation.

For stability until I can get my app mostly working, I was using DPDK 1.7.X, so I could concentrate on making the app reliable. But the DPDK website only has the API docs for DPDK 1.8.X / HEAD.

Quoted 7 lines
Quoted 3 lines

I was wondering if we could have copies of the most recent few versions in the site, and some scripts or steps to regenerate locally so you can get the matching version in the local machine.

Same goes for release notes: old versions should be kept around and preferably at the original url, which requires them to be versioned from the start.

Panu, release notes are part of the git tree since release 1.8.

#5 lore raw
Quoted 14 lines · Thomas Monjalon

2015-02-12 11:03, Panu Matilainen:

Quoted 13 lines · Matthew Hall
Quoted 11 lines

Hi all,

I ran into a funny situation today with the API documentation.

For stability until I can get my app mostly working, I was using DPDK 1.7.X, so I could concentrate on making the app reliable. But the DPDK website only has the API docs for DPDK 1.8.X / HEAD.

I was wondering if we could have copies of the most recent few versions in the site, and some scripts or steps to regenerate locally so you can get the matching version in the local machine.

Quoted 6 lines
Quoted 3 lines

Same goes for release notes: old versions should be kept around and preferably at the original url, which requires them to be versioned from the start.

Panu, release notes are part of the git tree since release 1.8.

Sure, but what you find at http://dpdk.org/browse/dpdk/tree/doc/guides/rel_notes?h=releases&id=v1.8.0 is not very presentable, even if it is readable in the "source" format.

What I mean is ... oh, http://dpdk.org/doc/guides-1.8/ works so it IS already there, only entirely hidden in the sense that nothing at all points to the versioned tree AFAICS.

So never mind then :) except perhaps making the versioned docs (API and all) more visible.

- Panu -

#6 lore raw
In reply to a message not in the archive

Hi Matthew,

2015-02-11 23:06, Matthew Hall:

Quoted 7 lines

Hi all,

I ran into a funny situation today with the API documentation.

For stability until I can get my app mostly working, I was using DPDK 1.7.X, so I could concentrate on making the app reliable. But the DPDK website only has the API docs for DPDK 1.8.X / HEAD.

Yes, previous policy was to publish only the doc of latest release. But starting with 1.8 (first release including guides), we'll keep every versions. Example:

	http://dpdk.org/doc/api
	http://dpdk.org/doc/api-1.8

The web page will be modified to list different versions.

Quoted 3 lines

I was wondering if we could have copies of the most recent few versions in the site, and some scripts or steps to regenerate locally so you can get the matching version in the local machine.

Yes you can: make doc
For doxygen API only: make doc-api-html
For sphinx only: doc-guides-html.

Quoted 5 lines

This would also help me to do some suppoert things for our community, like making small patches to fix parts of the docs with typos / formatting bugs.

With the steps how to generate them right, I could fix docs bugs in the sources and make sure the docs read right afterward for others.

Thanks

#7 lore raw
Quoted 3 lines · Thomas Monjalon

Yes you can: make doc
For doxygen API only: make doc-api-html
For sphinx only: doc-guides-html.

Hi Thomas,

In 1.7 for me at least I found the target was called: doc-htmlapi .

Did the way this stuff works get changed at some point?

Thanks,
Matthew.

A message that is not in the archive (sent off-list or not yet received): ECEEF3EE-01F5-48A4-BC9D-F980FB39B604-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org

#9 lore raw

2015-02-17 00:48, Matthew Hall:

Quoted 10 lines · Thomas Monjalon
Quoted 3 lines

Yes you can: make doc
For doxygen API only: make doc-api-html
For sphinx only: doc-guides-html.

Hi Thomas,

In 1.7 for me at least I found the target was called: doc-htmlapi .

Did the way this stuff works get changed at some point?

Yes, you're right. It has been renamed.
But I think you should better work on improving the HEAD ;)

#10 lore raw
Quoted 2 lines · Thomas Monjalon

Yes, you're right. It has been renamed.
But I think you should better work on improving the HEAD ;)

Yes, I agree. But to get to this point I have to get the core application features to even work in 1.7, before I can switch the app to 1.8. :)

It should not be too much longer I hope. I'm pushing hard on the last feature I want done, but it's server-side-only TCP so it will take a while I think.

Matthew.