* [Buildroot] 2011.11: manual improvements @ 2011-11-15 10:55 Thomas De Schampheleire 2011-11-23 7:23 ` Thomas De Schampheleire 0 siblings, 1 reply; 7+ messages in thread From: Thomas De Schampheleire @ 2011-11-15 10:55 UTC (permalink / raw) To: buildroot Hi, In 2011.11, the new asciidoc manual will be included. There are a few points I'd like to mention regarding this: * The 2011.11-rc1 tarball does not contain a ready-made manual. A user that doesn't know buildroot and searches for the manual, will only find the manual sources in docs/manual. These are readable, but they are not intended for that purpose. I don't think we can expect users to first run 'make manual', and have asciidoc installed. Therefore I think we should provide a ready-made manual in the tarballs. It probably requires a rewrite of the 'release' target, because the current 'git archive' used there will not take along untracked files. One approach is to add the files to the tarball afterwards. * I think it should become more clear that the contents of 'docs/manual' are really the manual sources, not the finished manual. One way to do this would be to move them in a subdirectory 'sources' or rename 'manual' to 'manual-sources'. * Suppose a user does execute 'make manual', then it's unclear what the location of the manual is. I think we should print the location when executing the corresponding make targets, and provide a README or similar in docs/manual to explain this. I would actually like it if the manual were generated in docs/manual directly, instead of in 'output'. Best regards, Thomas ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2011.11: manual improvements 2011-11-15 10:55 [Buildroot] 2011.11: manual improvements Thomas De Schampheleire @ 2011-11-23 7:23 ` Thomas De Schampheleire 2011-11-23 8:23 ` Thomas Petazzoni 0 siblings, 1 reply; 7+ messages in thread From: Thomas De Schampheleire @ 2011-11-23 7:23 UTC (permalink / raw) To: buildroot On Tue, Nov 15, 2011 at 11:55 AM, Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> wrote: > Hi, > > In 2011.11, the new asciidoc manual will be included. > > There are a few points I'd like to mention regarding this: > > * The 2011.11-rc1 tarball does not contain a ready-made manual. A user > that doesn't know buildroot and searches for the manual, will only > find the manual sources in docs/manual. These are readable, but they > are not intended for that purpose. I don't think we can expect users > to first run 'make manual', and have asciidoc installed. > Therefore I think we should provide a ready-made manual in the > tarballs. It probably requires a rewrite of the 'release' target, > because the current 'git archive' used there will not take along > untracked files. One approach is to add the files to the tarball > afterwards. > > * I think it should become more clear that the contents of > 'docs/manual' are really the manual sources, not the finished manual. > One way to do this would be to move them in a subdirectory 'sources' > or rename 'manual' to 'manual-sources'. > > * Suppose a user does execute 'make manual', then it's unclear what > the location of the manual is. I think we should print the location > when executing the corresponding make targets, and provide a README or > similar in docs/manual to explain this. I would actually like it if > the manual were generated in docs/manual directly, instead of in > 'output'. > I haven't seen any comments regarding this. Still, I think it's important to discuss before releasing 2011.11. Best regards, Thomas ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2011.11: manual improvements 2011-11-23 7:23 ` Thomas De Schampheleire @ 2011-11-23 8:23 ` Thomas Petazzoni 2011-11-23 8:37 ` Thomas De Schampheleire 0 siblings, 1 reply; 7+ messages in thread From: Thomas Petazzoni @ 2011-11-23 8:23 UTC (permalink / raw) To: buildroot Le Wed, 23 Nov 2011 08:23:47 +0100, Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit : > > * The 2011.11-rc1 tarball does not contain a ready-made manual. A > > user that doesn't know buildroot and searches for the manual, will > > only find the manual sources in docs/manual. These are readable, > > but they are not intended for that purpose. I don't think we can > > expect users to first run 'make manual', and have asciidoc > > installed. Therefore I think we should provide a ready-made manual > > in the tarballs. It probably requires a rewrite of the 'release' > > target, because the current 'git archive' used there will not take > > along untracked files. One approach is to add the files to the > > tarball afterwards. I agree on the need to have a generated version of the manual in the released tarballs. > > * I think it should become more clear that the contents of > > 'docs/manual' are really the manual sources, not the finished > > manual. One way to do this would be to move them in a subdirectory > > 'sources' or rename 'manual' to 'manual-sources'. Hum, not sure this is so important. I know Peter wanted to move the website sources from docs/* to docs/website/. Many the manual sources can be in docs/manual/src/ and the generated manual available in released tarballs stored in docs/manual/. > > * Suppose a user does execute 'make manual', then it's unclear what > > the location of the manual is. I think we should print the location > > when executing the corresponding make targets, and provide a README > > or similar in docs/manual to explain this. I would actually like it > > if the manual were generated in docs/manual directly, instead of in > > 'output'. That's what I implemented originally, but I was told that it wasn't correct to generate things within the source tree. If we do support out-of-tree build, then it's true that we should support the case where the source tree is kept read-only. I don't feel very strongly about this. > I haven't seen any comments regarding this. Still, I think it's > important to discuss before releasing 2011.11. I don't think any of those problems are show-stoppers for the release. They would be nice to have (especially having generated manuals in the release tarballs), but they can be improved in future releases if not implemented for 2011.11. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2011.11: manual improvements 2011-11-23 8:23 ` Thomas Petazzoni @ 2011-11-23 8:37 ` Thomas De Schampheleire 2011-11-23 8:47 ` Thomas Petazzoni 0 siblings, 1 reply; 7+ messages in thread From: Thomas De Schampheleire @ 2011-11-23 8:37 UTC (permalink / raw) To: buildroot Hi Thomas, On Wed, Nov 23, 2011 at 9:23 AM, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > Le Wed, 23 Nov 2011 08:23:47 +0100, > Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit : > >> > * The 2011.11-rc1 tarball does not contain a ready-made manual. A >> > user that doesn't know buildroot and searches for the manual, will >> > only find the manual sources in docs/manual. These are readable, >> > but they are not intended for that purpose. I don't think we can >> > expect users to first run 'make manual', and have asciidoc >> > installed. Therefore I think we should provide a ready-made manual >> > in the tarballs. It probably requires a rewrite of the 'release' >> > target, because the current 'git archive' used there will not take >> > along untracked files. One approach is to add the files to the >> > tarball afterwards. > > I agree on the need to have a generated version of the manual in the > released tarballs. > >> > * I think it should become more clear that the contents of >> > 'docs/manual' are really the manual sources, not the finished >> > manual. One way to do this would be to move them in a subdirectory >> > 'sources' or rename 'manual' to 'manual-sources'. > > Hum, not sure this is so important. I know Peter wanted to move the > website sources from docs/* to docs/website/. Many the manual sources > can be in docs/manual/src/ and the generated manual available in > released tarballs stored in docs/manual/. That seems like a clear split to me. > >> > * Suppose a user does execute 'make manual', then it's unclear what >> > the location of the manual is. I think we should print the location >> > when executing the corresponding make targets, and provide a README >> > or similar in docs/manual to explain this. I would actually like it >> > if the manual were generated in docs/manual directly, instead of in >> > 'output'. > > That's what I implemented originally, but I was told that it wasn't > correct to generate things within the source tree. If we do support > out-of-tree build, then it's true that we should support the case where > the source tree is kept read-only. I don't feel very strongly about > this. It's true that this would clutter the output of 'git status', unless we add it to the .gitignore files or similar. Alternatively, we could add a symbolic link from docs/manual to output/docs/manual, and put the link under version control. But, this has the downside of having manuals in two places: the official manual distributed with a release tarball and the generated manual in output/docs. > >> I haven't seen any comments regarding this. Still, I think it's >> important to discuss before releasing 2011.11. > > I don't think any of those problems are show-stoppers for the release. > They would be nice to have (especially having generated manuals in the > release tarballs), but they can be improved in future releases if not > implemented for 2011.11. Ok, agreed. Thanks for your input, Thomas ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2011.11: manual improvements 2011-11-23 8:37 ` Thomas De Schampheleire @ 2011-11-23 8:47 ` Thomas Petazzoni 2011-11-23 8:56 ` Thomas De Schampheleire 2011-11-23 9:03 ` Stephan Hoffmann 0 siblings, 2 replies; 7+ messages in thread From: Thomas Petazzoni @ 2011-11-23 8:47 UTC (permalink / raw) To: buildroot Le Wed, 23 Nov 2011 09:37:49 +0100, Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit : > Alternatively, we could add a symbolic link from docs/manual to > output/docs/manual, and put the link under version control. No. The output is not necessarily in output/. With the O= option, you can put it wherever you want (that's the point of out-of-tree build). > But, this has the downside of having manuals in two places: the > official manual distributed with a release tarball and the generated > manual in output/docs. I simply think it's a matter of : * Having generated versions of the manual in the release tarball * Having generated versions of the manual on the Buildroot website. Actually, I think people will more naturally search on the project website for documentation rather than inside the tarball. These days, everybody 'googles something' before running 'man something' :) * Documenting how to generate the manual. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2011.11: manual improvements 2011-11-23 8:47 ` Thomas Petazzoni @ 2011-11-23 8:56 ` Thomas De Schampheleire 2011-11-23 9:03 ` Stephan Hoffmann 1 sibling, 0 replies; 7+ messages in thread From: Thomas De Schampheleire @ 2011-11-23 8:56 UTC (permalink / raw) To: buildroot On Wed, Nov 23, 2011 at 9:47 AM, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > Le Wed, 23 Nov 2011 09:37:49 +0100, > Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit : > >> Alternatively, we could add a symbolic link from docs/manual to >> output/docs/manual, and put the link under version control. > > No. The output is not necessarily in output/. With the O= option, you > can put it wherever you want (that's the point of out-of-tree build). > >> But, this has the downside of having manuals in two places: the >> official manual distributed with a release tarball and the generated >> manual in output/docs. > > I simply think it's a matter of : > > ?* Having generated versions of the manual in the release tarball > > ?* Having generated versions of the manual on the Buildroot website. > ? Actually, I think people will more naturally search on the project > ? website for documentation rather than inside the tarball. These > ? days, everybody 'googles something' before running 'man something' :) > > ?* Documenting how to generate the manual. Ok agreed. If there is a manual distributed with the release tarball, your average user will not need to generate one himself anyway. Only people working directly from the git repo, and developers changing the manual, need to know where to find the generated one. ~Thomas ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2011.11: manual improvements 2011-11-23 8:47 ` Thomas Petazzoni 2011-11-23 8:56 ` Thomas De Schampheleire @ 2011-11-23 9:03 ` Stephan Hoffmann 1 sibling, 0 replies; 7+ messages in thread From: Stephan Hoffmann @ 2011-11-23 9:03 UTC (permalink / raw) To: buildroot Am 23.11.2011 09:47, schrieb Thomas Petazzoni: > * Having generated versions of the manual on the Buildroot website. > Actually, I think people will more naturally search on the project > website for documentation rather than inside the tarball. These > days, everybody 'googles something' before running 'man something' :) > That seems to be true. Maybe people would also like to find the pdf manual on the buildroot website. Kind regards Stephan -- reLinux - Stephan Hoffmann Am Schmidtgrund 124 50765 K?ln Tel. +49.221.95595-19 Fax: -64 www.reLinux.de sho at reLinux.de ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-11-23 9:03 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-11-15 10:55 [Buildroot] 2011.11: manual improvements Thomas De Schampheleire 2011-11-23 7:23 ` Thomas De Schampheleire 2011-11-23 8:23 ` Thomas Petazzoni 2011-11-23 8:37 ` Thomas De Schampheleire 2011-11-23 8:47 ` Thomas Petazzoni 2011-11-23 8:56 ` Thomas De Schampheleire 2011-11-23 9:03 ` Stephan Hoffmann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox