Hello all,
a few days ago I was looking for a way to quickly check documentation for keywords as I type in a text editor (a.k.a "contextual help", the good old F1). It turns out there's a few tools for that, one of them being "Zeal", but I wasn't able to find a Löve2D package for it (called "docset" in the Zeal world). Googling for love2d offline documentation sent me to the thread in this forum where it's mentioned that we can download the wiki as a single zipfile for offline browsing, which is already something good to have. I thought I could go one step further and create a docset, so if you're using Zeal or an equivalent program, you can make use of it.
https://github.com/ChrisJan00/love2d_docset
Some more explanation:
https://chrisjangames.wordpress.com/201 ... -browsing/
If you don't know about Zeal and you're curious:
http://zealdocs.org/
Löve2D documentation (docset) for offline browsing
Löve2D documentation (docset) for offline browsing
http://berlinminijam.de/ - Jamming together since 2010!
http://chrisjangames.wordpress.com/category/love2d/ - my Löve2D games
http://chrisjangames.wordpress.com/category/love2d/ - my Löve2D games
Re: Löve2D documentation (docset) for offline browsing
So...
- You made me discover Zeal. Thanks you.
- You made a Love2D docset. With my sloooow PC, it's great. Thanks you.
Founder of NeoShadow Studio. Currently working on the project "Sirami".
github / linkpy
github / linkpy
Re: Löve2D documentation (docset) for offline browsing
Will this work with Dash? I don't really know much about Dash or Zeal, but offline documentation and integration with IDEs and text editors seems pretty great, on I want this on my mac.
((_((_CRAYOLA_((_((_> GitHub <_((_((_CRAYOLA_((_(()
Re: Löve2D documentation (docset) for offline browsing
Basically this! Going somewhere soon, this is going to be really convenient.Linkpy wrote:So...
So... In conclusion. Thanks you..
- You made me discover Zeal. Thanks you.
- You made a Love2D docset. Thanks you.
Re: Löve2D documentation (docset) for offline browsing
In theory it works with Dash too. You should be able to open the docset and browse it without problems. I don't have a mac to test, though, hopefully nothing is messed up too badly.bakpakin wrote:Will this work with Dash? I don't really know much about Dash or Zeal, but offline documentation and integration with IDEs and text editors seems pretty great, on I want this on my mac.
http://berlinminijam.de/ - Jamming together since 2010!
http://chrisjangames.wordpress.com/category/love2d/ - my Löve2D games
http://chrisjangames.wordpress.com/category/love2d/ - my Löve2D games
Re: Löve2D documentation (docset) for offline browsing
Confirmed, works in Dash!cjanssen wrote:In theory it works with Dash too. You should be able to open the docset and browse it without problems. I don't have a mac to test, though, hopefully nothing is messed up too badly.bakpakin wrote:Will this work with Dash? I don't really know much about Dash or Zeal, but offline documentation and integration with IDEs and text editors seems pretty great, on I want this on my mac.
((_((_CRAYOLA_((_((_> GitHub <_((_((_CRAYOLA_((_(()
Re: Löve2D documentation (docset) for offline browsing
Looks like I'm having a problem with colons. The moment I enter one, I lose all results:
Am I doing something wrong?
(using Zeal 0.1.1, built Apr 20 2015, in case it matters)
Am I doing something wrong?
(using Zeal 0.1.1, built Apr 20 2015, in case it matters)
- qubodup
- Inner party member
- Posts: 775
- Joined: Sat Jun 21, 2008 9:21 pm
- Location: Berlin, Germany
- Contact:
Re: Löve2D documentation (docset) for offline browsing
I can reproduce this on Linux with zeal-git except when the colon is the first character (then it works).Shviller wrote:Looks like I'm having a problem with colons. The moment I enter one, I lose all results:
(using Zeal 0.1.1, built Apr 20 2015, in case it matters)
There seems to be no report of this exactly, so you might want to add it to https://github.com/zealdocs/zeal/issues ... open+colon
I made a basic video on how to set up:
http://youtu.be/B_onR_0oOZQ
Also there's a Mac OS X Zeal binary available from http://www.mediafire.com/download/537is ... elease.dmg (taken from http://www.hjue.me/post/Compile-Zear-on-Mac-OS-X )
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Re: Löve2D documentation (docset) for offline browsing
Shviller wrote:Looks like I'm having a problem with colons.
Turns out, I was doing something wrong. Specifically, Zeal uses colons to specify a prefix that narrows the search down to specific docsets. So in my case, I want not just `ImageData:`, but rather `lua 5.1,love2d:ImageData:`:Shviller wrote:Am I doing something wrong?
(Please note that these prefixes have to be lowercase)
I chose this prefix so that I don't have to distinguish between Löve and non-Löve Lua, and I chose 5.1 because it seems LuaJIT is closer to 5.1 than to 5.2.
Sadly, the docsets for Lua that the stock feed provides aren't all that good; when you choose a result from them you get the top of the "Lua 5.X Reference Manual" page, instead of the relevant position on that page. So if somebody finds/makes a better docset, that'd be very handy.
Last but not least: thanks, cjanssen! Now the lack of CHM docs for Löve is no longer a problem for all the people still caring about that format, all two of them.
- qubodup
- Inner party member
- Posts: 775
- Joined: Sat Jun 21, 2008 9:21 pm
- Location: Berlin, Germany
- Contact:
Re: Löve2D documentation (docset) for offline browsing
Not sure what you mean, looks fine to me: http://youtu.be/30jWqWo3G9wShviller wrote:Sadly, the docsets for Lua that the stock feed provides aren't all that good; when you choose a result from them you get the top of the "Lua 5.X Reference Manual" page, instead of the relevant position on that page. So if somebody finds/makes a better docset, that'd be very handy.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Who is online
Users browsing this forum: Bing [Bot] and 4 guests