it is a problem, I can't export wiki pages... (as far as I can see, perhaps an admin is able to do it?)
What exactly do you mean exporting to other formats? Do you reffer that the main format of the docs should be flexible to allow this?
And what is exactly the problem you're having here:Quote from: mispunt
it is a problem, I can't export wiki pages... (as far as I can see, perhaps an admin is able to do it?)
@mispunt: What did you mean? I was asking you about the problem you said you had "exporting" the wiki, what was that problem? :smile:There is no button/link called "export" :)
I am not sure if wxWidgets is supporting CHM for linux, but I thought they do.
Personally, I'd author docs in a web format. This makes it rather simple to post them online. Even with just HTML and CSS, you can establish strong structure in the documentation using platform-independent format(s).
Using something like CHM or man pages just seems silly to me these days.
Maybe it would be good idea to write documentation as XML (easy and capable of storing both data and metadata), and then write exporters to different formats... XML->HTML would be trivial, but what about other ones... (like PDF)
...
Btw, here's the link to this XML file (http://www.codeblocks.org/tmp/text.zip). If only we knew what editor he used...
Yiannis.
I found a tool which generates HTML and PDF from XHTML file, it is "commercial opensource" :? and called htmldoc (http://www.htmldoc.org)
But perhaps it is better to wait for Per :)
Quote from: mandrav...
Btw, here's the link to this XML file (http://www.codeblocks.org/tmp/text.zip). If only we knew what editor he used...
Yiannis.
do you have the stylesheet "text2plainhtml.xsl" somewhere ?
maybe you then can edit it with any xhtml editor
The CHM I was talking about, is proposed as an output format, not the source format (it is compiled anyways...).
As we speak, Ive downloaded an XML/XSLT OS editor: Butterfly. Ive also *finally* understood how docbook works, and Ive downloaded both the XSLTs from the DocBok open repository, as well as Xalan-C, for the XSLT processing.
Since Im interested in helping out in the "Code::Blocks documentation project" as well as for my own project at sourceforge, Ill be giving it a shot, and see what I can come out with in the next couple of days, maybe I shall submit a little "test" to you guys and get some feedback.
Using DocBok is great as It provides the flexibility of XML with the power of XSLT transformations (HTML, PDF, CHM with the help of the freely available Microsoft HTML help toolkit, you name it).
And I agree there should be a downloadable HTML tarball with latest, bleeding edge changes, as well as an online HTML with changes as well, and I would aim to provide the code::blocks release with a CHM file. Why not PDF (well, an available PDF can also be made...) and why CHM, well, CHM I think is better for documentation (more tidy, no acrobat reader needed), and besides, ive looked at the samples in wxwidgets, and In fact, IT DOES support CHM for Linux flawlessly, no need for aditional 3rd party shared objects or anything like that, so Its cross-platform, and we have the advantage C::B is made with that toolkit so...
This is meant for the end user docs, now, probably theres another part of C::B that should be taken in account: the sources (maybe starting with the SDK). For this, I think doxygen does a great job. Ive just seen the CHM bundled with irrlicht latest version, and it rocks. Its probably a "customized" version of doxygen output (with the irrlicht logo and everything - I thought doxygen should only output that horrible logo of itself).
While Im aware probably you need to add "special" comment blocks for the sources (just as javadocs, which Ive used in the past - very easy to setup though), IIRC, it can extract information from undocumented sources (like the C::B ones), so it should be fine at least for a start...
Stay tuned...
Cheers
As far as manpages being "silly" I don't understand.. I don't know a linux/unix user that doesn't use a manpage on a daily basis... anyways I would recommend that C::B documentation be transformed into a manpage, however using something such as latex it would be really easy for the linux users out there to transform it into a manpage.. or an info page for that matter.
It is already possible to make SDK Docs (search the forum) doxygen is used for this. The only thing that should be done (in my opinion) is the layout. Also the doxygen-file should be made "multiplatform" and "multi user" so no hardcoded paths.. (Yiannis shall I change this?)
Commited. also the tinyxml diretory is excluded, afterall this is not our own library ;) or are there many changes wich should be documented?QuoteIt is already possible to make SDK Docs (search the forum) doxygen is used for this. *snip* Also the doxygen-file should be made "multiplatform" and "multi user" so no hardcoded paths.. (Yiannis shall I change this?)
Yes, feel free to "play" with it.
or are there many changes wich should be documented?
I agree with you both, we should try docbook.
Why manpages are silly? I think manpages are only usefull for commandline programs, and for libraries (so the sdk documentation could be a man page). Also I don't use manpages very much (I am not working on linux on a daily basis :P Do you know if it is possible to make man/info pages with doxygen (SDK) and DocBook>
Writing Man-Pages - Linux Focus Magazine
As far as manpages being "silly" I don't understand.. I don't know a linux/unix user that doesn't use a manpage on a daily basis...
We'll have DocBook as the main format. Its the one to be maintained (additions, deletions, modifications, typo correction, and so on)
CHMs are good, and I think the "lack of familiarity" is not an issue here. As I said before in this thread, wxwidgets supports CHM "natively" so little or not effort (i.e a simple function call(s)) must be made in order to add support for windows Platform as well for LinuxI think we have to look to the help plugin. perhaps there is already support for CHM in it...
About PDFs, I dont know, I personally preffer CHMs since I dont need any acrobat readers or ghostviews, and the navigation sucks, as well as selecting/copying text.I think we have an endless discussion here, on both side there are no really good arguments, it is pobably the "taste" of the user.
That said, I think it must be clear now that "esoteric" format support means a simple command line call to the XSLT processor or whatever, given the original, maintainable, official DocBook sources...Yeah right :roll: could you give us a good explanation about the whole proccess after you finished the test? 8)
So, stay tuned for the next episode
Yeah right :roll: could you give us a good explanation about the whole proccess after you finished the test? 8)
Now you're the one being silly Very Happy .
[snip]
Ok, lets not get into flame wars here (well, sort of).
[snip]
I agree with this. we probably should use the cvs to store the sources...
The main reason the have PDF format is to make printing the documentation easy.
Kagerato I think we are on the same page here, Just misunderstood. I wouldn't propose that chm's and/or man pages be maintained seperatly.. that would be a horrible idea indeed.
and manpages of the SDK would be helpfull.This is possible, we just have to activate it in the doxygen file.
--edit--
Ik heb al wat gevonden in de svn van LinuxFromScratch :)
--edit--
I've found something in LinuxFromScratch's svn :)
:oops: sorry, it was late, and my mind wasn't clear :oops: please forgive me :PI kind of lost you...
btw, Yiannis, I think the best way to store the files is in the cvs, should we use a seperate module? (I think so..)
I kind of lost you...Yes I am talking about the documentation files.. Sorry if I was so unclear...
Are you talking about documentation files? If so, yes they should be kept in cvs...
Next week I will try to make something to show...hmm. it takes a bit longer :P I am going to reinstall my computer this weekend with windows and OpenBSD (yes I like to change distributions ;))
doc/
common/ <-- all the common stuff like license and stuff.
libs/ <-- all the settings used by all documantation.
quickguide/ <-- name of the documantation
build/ <-- the output directory