Page 8 of 11

Re: Offline LÖVE documentation for download

Posted: Thu May 07, 2015 4:48 pm
by qubodup
There are a few big files in the wiki that should probably be excluded in the script (or possibly deleted for legal or sanity reasons?):

Code: Select all

227147	file.php_id_8398
2506861	love_osx_frameworks_0.10.zip
2691414	love_osx_frameworks_0.9.zip
4938147	love_win_sdk.zip
5261506	love_win_sdk_msvc2010.zip
Screenshots also are annoying (png/jpg files are 33MB, about 20%). We could:
- Make a rule that all game non-documentation screenshots have to start with a codename ("screen-" or "nondoc-") and make the script exclude them.
- Stop documenting games in the wiki and delete all screenshots.

Re: Offline LÖVE documentation for download

Posted: Wed Dec 16, 2015 6:56 pm
by Anononymous
The styles don't seem to be used properly. I found this near the top of index.html:

<link rel="stylesheet" href="" />

The pages look like plain html.

Also do you need javascript in this bundle? I'm blocking it anyway but still.

Re: Offline LÖVE documentation for download

Posted: Sat Dec 19, 2015 7:51 pm
by FlattenedTesseract
Here's a fix for the style thing.
First you need to get the stylesheet. Do that by opening the wiki online, opening your browser devtools (Ctrl+Shift+i on firefox), going to style editor(or smth like that), choosing load.php from the left menu and saving it as style.css in the docs/wiki/ folder.

For this next step you'll need cygwin (for sed and bash) if you are on windows. You need to open a bash console(cygwin for windows) and cd to the docs/wiki/ folder. Then you need to run this for loop:

Code: Select all

for file in *.html; do
    sed -i 's/<link rel="stylesheet" href="" \/>/<link rel="stylesheet" href="style.css" \/>/g' $file
done
or

Code: Select all

for f in *.html; do sed -i 's/<link rel="stylesheet" href="" \/>/<link rel="stylesheet" href="style.css" \/>/g' $f; done
This will take a few minutes, since the wiki contains some games and translations besides the love documentation. It has to change ~7100 files.

After that, when you open index.html (or any other file) you should see it with the style.

Hopefully this helped ;)

Re: Offline LÖVE documentation for download

Posted: Sun Feb 21, 2016 7:49 pm
by murks
Can this be done when generating the offline documentation? Please?

Re: Offline LÖVE documentation for download

Posted: Thu May 26, 2016 4:29 pm
by D0NM
well, now to get an offline Love2d / LÖVE 0.10.0 Reference
you have to open this URL: http://santos.nfshost.com/love.html
and do FILE / SAVE AS... (full page) html

And you get a single file LÖVE 0.10.0 Reference.htm
than could be open with any browser or converted into .PDF later.

Thank you guys!

Re: Offline LÖVE documentation for download

Posted: Fri Aug 12, 2016 5:23 am
by Pixelguru26
Is there any way to access the offline documentation for previous versions of Love? say, 0.9.2?

Re: Offline LÖVE documentation for download

Posted: Fri Aug 12, 2016 7:29 pm
by GreenWing
Pixelguru26 wrote:Is there any way to access the offline documentation for previous versions of Love? say, 0.9.2?
Hi.


Some ancient document is here.

[ 0.1.1 ]
http://love.sourceforge.net/docs-0.1-1/

[ 0.2.0 ]
http://love.sourceforge.net/docs-0.2-0/

[ 0.2.1 ]
http://love.sourceforge.net/docs-0.2-0/

[ 0.3.0 ]
http://love.sourceforge.net/docs-0.3-0/

[ 0.3.1]
Not found.

[ 0.3.2 ]
http://love.sourceforge.net/docs/

[ 0.5.0 ]
http://web.archive.org/web/200911231814 ... umentation

[ dead liked (Doesn't someone have these files?)]
love2d.org/ddocs/
love-0.1-1-docs.zip
love-0.2-0-docs.zip
love-0.2-1-docs.zip
love-0.3-0-docs.zip
love-0.3-1-docs.zip
love-0.3-2-docs.zip
love-0.4-0-docs.zip
love-0.5-0-docs.zip
love-0.6.0-docs.zip
love-0.6.1-docs.zip

Re: Offline LÖVE documentation for download

Posted: Fri Oct 21, 2016 12:01 am
by rungo73
D0NM wrote:well, now to get an offline Love2d / LÖVE 0.10.0 Reference
you have to open this URL: http://santos.nfshost.com/love.html
and do FILE / SAVE AS... (full page) html

And you get a single file LÖVE 0.10.0 Reference.htm
than could be open with any browser or converted into .PDF later.

Thank you guys!
Hi - Want to grab this but this link seems to be down.. anywhere else I can get a ref for 0.10+ for offline?

Re: Offline LÖVE documentation for download

Posted: Fri Oct 21, 2016 6:58 am
by Santos

Re: Offline LÖVE documentation for download

Posted: Wed Oct 26, 2016 8:05 pm
by rungo73
Awesome! Thank you