Offline documentation for Wesnoth?
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Offline documentation for Wesnoth?
As I don't have permanent internet connexion right now (and am preparing computers for people who may not have it either) I'd like to have the Wesnoth documentation (especially for WML) accessible offline.
I tried to wget the wesnoth.org website but I get 403 Forbidden responses, so is there another way?
Or a ready-made offline documentation that I'm not aware of?
I tried to wget the wesnoth.org website but I get 403 Forbidden responses, so is there another way?
Or a ready-made offline documentation that I'm not aware of?
Re: Offline documentation for Wesnoth?
https://wiki.wesnoth.org/Referencewml and *WML links from there should be enough for casual use.
Re: Offline documentation for Wesnoth?
I would try
wget -k -m https://wiki.wesnoth.org/Referencewml
. Though, it seems the -l
option should be set to sth. lower than the default 5 (at least it downloads a lot)Try out the dark board theme.
Re: Offline documentation for Wesnoth?
Wget normally obeys robots.txt, unless that's overridden. When I tried to download the WML reference a few months ago, I was blocked by the robots.txt.
But it looks like there's a redirect for Wiki-style capitalisation at the moment. The robots.txt redirects to Robots.txt, which doesn't exist.
But it looks like there's a redirect for Wiki-style capitalisation at the moment. The robots.txt redirects to Robots.txt, which doesn't exist.
Re: Offline documentation for Wesnoth?
Shiki, try adding
-A "*WML"
, you may also need to change "Referencewml" to "ReferenceWML" in the arguments.Re: Offline documentation for Wesnoth?
Well, the robots.txt I saw seems reasonable:
It shouldn't prevent the download of most of the website?
Shiki's command worked anyway, it did indeed download a lot but it's not a problem.
Thanks!
Code: Select all
Disallow: /cgi-bin/
Disallow: /collection3/
Disallow: /mw/
Disallow: /wiki/Special:Search
Disallow: /wiki/Special:Random
Disallow: /files/
Disallow: /irclog/
Disallow: /irclogs/
Disallow: /replays/
Shiki's command worked anyway, it did indeed download a lot but it's not a problem.
Thanks!