Skip to contentSkip to conversation

Missing Xen ARM documentation on the website

DISCUSSION Julien Grall 3 participants 5 messages Jun 16, 2015 – Jun 17, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

It seems that the online documentation [1] doesn't contain the ARM part. It's a directory under docs/misc.

I'm happy to fix it if someone point me to the scripts which generate the online doc.

Regards,

[1] http://xenbits.xen.org/docs/unstable/

Signature · 1 line
Julien Grall
#1 lore raw
Quoted 5 lines · Julien Grall

Hi,

It seems that the online documentation [1] doesn't contain the ARM part. It's a directory under docs/misc.

Quoted 7 lines

I'm happy to fix it if someone point me to the scripts which generate the online doc.

Regards,

[1] http://xenbits.xen.org/docs/unstable/

It looks like you just need to extend the globs in the "Documentation sources" section near the top of docs/Makefile. They currently don't recurse into misc/arm/. Perhaps also a tweak to docs/gen-html-index, but it looks as if it should be able to cope with subdirectories.

It might be worth using $(shell find $XXX) to collect all documents of a specific src type, which would be more resilient to addition of new subdirs in the future. The rest of the makefile should be able to cope.

~Andrew

#2 lore raw

Hi,

Quoted 11 lines · Andrew Cooper
Quoted 10 lines · Julien Grall

Hi,

It seems that the online documentation [1] doesn't contain the ARM part. It's a directory under docs/misc.

I'm happy to fix it if someone point me to the scripts which generate the online doc.

Regards,

Quoted 7 lines
Quoted 2 lines

[1] http://xenbits.xen.org/docs/unstable/

It looks like you just need to extend the globs in the "Documentation sources" section near the top of docs/Makefile. They currently don't recurse into misc/arm/. Perhaps also a tweak to docs/gen-html-index, but it looks as if it should be able to cope with subdirectories.

It looks that gen-html-index needs to be modified. When you have 2 file with the same name, the final result it:

<li><a href="arm/passthrough.txt">passthrough</a></li> <li><a href="arm/device-tree/passthrough.txt">passthrough</a></li>

I guess we want to print the directory name (or something similar) and add another layer of indentation:
Misc
Arm
passthrough
device-tree
passthrough

Quoted 3 lines

It might be worth using $(shell find $XXX) to collect all documents of a specific src type, which would be more resilient to addition of new subdirs in the future. The rest of the makefile should be able to cope.

Good idea.

Regards,

Signature · 1 line
Julien Grall
#3 lore raw
Quoted 28 lines · Julien Grall

Hi,

Quoted 11 lines · Andrew Cooper
Quoted 10 lines · Julien Grall

Hi,

It seems that the online documentation [1] doesn't contain the ARM part. It's a directory under docs/misc.

I'm happy to fix it if someone point me to the scripts which generate the online doc.

Regards,

Quoted 7 lines
Quoted 2 lines

[1] http://xenbits.xen.org/docs/unstable/

It looks like you just need to extend the globs in the "Documentation sources" section near the top of docs/Makefile. They currently don't recurse into misc/arm/. Perhaps also a tweak to docs/gen-html-index, but it looks as if it should be able to cope with subdirectories.

It looks that gen-html-index needs to be modified. When you have 2 file with the same name, the final result it:

<li><a href="arm/passthrough.txt">passthrough</a></li> <li><a href="arm/device-tree/passthrough.txt">passthrough</a></li>

Quoted 7 lines

I guess we want to print the directory name (or something similar) and add another layer of indentation:
Misc
Arm
passthrough
device-tree
passthrough

Probably, yes.

Independently of that you may also want to consider updating docs/INDEX to give things real titles rather than just their filename.

Quoted 9 lines
Quoted 4 lines

It might be worth using $(shell find $XXX) to collect all documents of a specific src type, which would be more resilient to addition of new subdirs in the future. The rest of the makefile should be able to cope.

Good idea.

Regards,

#4 lore raw
Quoted 8 lines · Ian Campbell
Quoted 7 lines

I guess we want to print the directory name (or something similar) and add another layer of indentation:
Misc
Arm
passthrough
device-tree
passthrough

Quoted 4 lines

Probably, yes.

Independently of that you may also want to consider updating docs/INDEX to give things real titles rather than just their filename.

This solution will be simpler for now. I will update docs/INDEX.

Regards,

Signature · 1 line
Julien Grall