offline NoAI API documentation?
Moderator: OpenTTD Developers
offline NoAI API documentation?
since my computer is regularly offline (cable across the house, am working on getting wireless)
i was wondering if there was a way to download the whole API documentation
e.g. download the whole of http://noai.openttd.org/docs/trunk
maybe?
i was wondering if there was a way to download the whole API documentation
e.g. download the whole of http://noai.openttd.org/docs/trunk
maybe?
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: offline NoAI API documentation?
As part of pulling the latest changes from trunk, I compile the sources, and build documentation with doxygen at my local machine.
It may not look as pretty as the site, but all info is there.
It may not look as pretty as the site, but all info is there.
Re: offline NoAI API documentation?
Or manually saving all pages.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: offline NoAI API documentation?
i like that idea better than Kogut's (obvious reallyAlberth wrote:As part of pulling the latest changes from trunk, I compile the sources, and build documentation with doxygen at my local machine.
It may not look as pretty as the site, but all info is there.

how would i do this?
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: offline NoAI API documentation?
1. install Doxygen
2. download trunk from svn, hg, or git.
3. run 'doxygen Doxyfile'
the next time, you can just update your working copy ('svn up' or 'hg fetch') instead of doing 2 again.
Edit: You should download the source code of the version that you use for making AIs. For stables, you could download its source code distribution.
2. download trunk from svn, hg, or git.
3. run 'doxygen Doxyfile'
the next time, you can just update your working copy ('svn up' or 'hg fetch') instead of doing 2 again.
Edit: You should download the source code of the version that you use for making AIs. For stables, you could download its source code distribution.
Re: offline NoAI API documentation?
I noticed that the "docs" option on the download page includes reasonable doxygen. But is this the same as what's online for the NoAI documentation? Looks like it includes far more code (ie. the rest of the code base), but it does have the AI functions in there. But maybe this is for the underlying implementation of the API and may be different from what's present in the squirrel interface?
Re: offline NoAI API documentation?
The docs which can be downloaded at http://www.openttd.org/download-trunk ("docs" is an option for the OS selection) contain the whole documentation of OTTD. It also contains the NoAI documentation, though not in an as nice format as the pure NoAI documentation, as it also contains lots of references to not-NoAI stuff. If you want to use that one, go via File List and select stuff from src/ai/api.
If you want to build the documentation yourself, insert a "cd src/ai/api" between step 2 and 3 of Albert. That gives you the pure NoAI documentation, else you will get what you can also download above
If you want to build the documentation yourself, insert a "cd src/ai/api" between step 2 and 3 of Albert. That gives you the pure NoAI documentation, else you will get what you can also download above

⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Re: offline NoAI API documentation?
Is there anywhere available a .PDF version of the NoAI API documentation, that can be downloaded or emailed to me, or do anybody have time (and resources) to create such?
I am trying to work on some AI's but are sitting on an unstable sattelite line, and the company computer with access to internet don't have any print2pdf software.
And why is the documentation on http://www.openttd.org/en/download-trunk only available in .xz format? No .zip?
I am trying to work on some AI's but are sitting on an unstable sattelite line, and the company computer with access to internet don't have any print2pdf software.
And why is the documentation on http://www.openttd.org/en/download-trunk only available in .xz format? No .zip?
Skippern
OpenTTD Mac user
OpenTTD Mac user
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: offline NoAI API documentation?
Bandwidth. xz is considerably smaller than zip. And any decent packing programme can handle them.skippern wrote:And why is the documentation on http://www.openttd.org/en/download-trunk only available in .xz format? No .zip?
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: offline NoAI API documentation?
Arguments good enough for my own computer, but since I have to go past the work computer (and all my bloody pen-drives decided to die on me), I need to upack and read on that. With installation restrictions I cannot ask for any descent packing programs, for the same reason that I cannot do print2pdf (on my personal computer I can do that, but again, staying offline due to network restrictions). There are roughly 1.5 month until I can try downloading anything to my personal computer. So basically without any .zip, .pdf or similar formats for the documentation I am 1.5 months away of getting offline documentation. With unstable internet connection, that means I can be really stuck from time to time, not being able to check out what I am doing wrong, what arguments are required, what the actual syntax is, etc. I find that really frustrating when I am working on a project.planetmaker wrote:Bandwidth. xz is considerably smaller than zip. And any decent packing programme can handle them.skippern wrote:And why is the documentation on http://www.openttd.org/en/download-trunk only available in .xz format? No .zip?
Skippern
OpenTTD Mac user
OpenTTD Mac user
Re: offline NoAI API documentation?
I make my own offline docs from doxygen, here is a copy. Just open "index.html" for the main page.
- Attachments
-
- html.zip
- (696.37 KiB) Downloaded 82 times
Re: offline NoAI API documentation?
Great, thanks R2dical!R2dical wrote:I make my own offline docs from doxygen, here is a copy. Just open "index.html" for the main page.
Skippern
OpenTTD Mac user
OpenTTD Mac user
Who is online
Users browsing this forum: No registered users and 17 guests