-
-
Notifications
You must be signed in to change notification settings - Fork 82
Docs are out of date #8
Comments
Please put this back on rust-ci.org and update the docs ... 👍 |
The export on rust-ci docs is working again ? |
@GuillaumeGomez where is the issue? On Rust-Gnome or rust-ci-side? For now I downloaded the old docs via wget -r -k -np http://rust-ci.org/jeremyletang/rgtk/doc/rgtk/ But I really want to be up to date (learning Rust and GTK). |
It is on rust-ci. If you want the doc of gtk, just donwload the sources and then: > cargo doc It'll be up to date and you won't need an internet access to read it. ;) |
@GuillaumeGomez thanks for the info, can you link me to the build? I will do the building myself then, I already loaded the source =) |
Well, you can download a zip of gtk sources here. However, I'm not sure gtk build with a beta version of rustc, you'll need the nightly (available on the rust website). To build gtk, just do: > cargo buid |
Oh I mean I will build the docs myself then =) The other build from src is already very well explained in your |
It's not on rust-ci. I'll put rust-gnome on crates.io very soon. You should prefer it over rust-ci. |
Enable Socket only for X11
Are there even docs anymore? I was trying to build the docs locally using
|
@SirVer: I discovered travis-cargo today. I'll try to add it on my personal repositories first before adding it on rust-gnome's. However, it doesn't solve this issue. What do you think about it @gkoz ? |
Looks like it could work but since travis has a pretty old set of libraries, a lot of stuff will be missing. And I don't think any progress has been made on gtk-rs/gdk#49, so the utility of rustdoc is further limited by that. |
@gkoz I'm new here, so please excuse my stupid question... |
About rust-gnome/gdk#49, we can still generate a documentation. Little is better than nothing I guess ? Have you taken a look at travis-cargo ? It could be interesting. |
@Anachron we'd obviously want to document all crates, not only gtk. And gtk will in time face the problems described in that issue too. I mean, you're not going to like that documentation. @GuillaumeGomez I've looked at it briefly and it seems similar to the former approach that had been used in rgtk. Right now I have my hands full with developing a multi-threaded cairo example, hacking on gir and preparing to migrate to the generated sys crates. |
@gkoz: Ok, I'll take a look at it on some personal repositories of mine. The goal of it is to directly push on a github wiki, which is a big lack on rust-gnome's repositories. |
I'm making this a tracking issue for some rustdoc-stripper integration. |
I think I've figured out a way to solve the integration issue.
This way cargo handles the versions and downloads for us and the docs can be updated more frequently than the code if necessary. |
@gkoz: What library part of rustdoc_stripper are you talking about? The public interfaces are already available (and used in gir). So I don't see what you're referring to. |
The implementation. |
Part of #8 `embed-lgpl-docs`: embed documentation comments contained in the gtk-rs-lgpl-docs package into the sources. `purge-lgpl-docs`: remove all LGPL doc comments from the source.
Add analysis and general codegens
The text was updated successfully, but these errors were encountered: