steveklabnik / rustdoc

Not a real thing, see https://github.com/rust-lang/rust for rustdoc's actual source code
https://github.com/rust-lang/rust
104 stars 22 forks source link

Sample project doesn't work in latest Ubuntu #229

Open sophiajt opened 6 years ago

sophiajt commented 6 years ago

On a lark, I decided to give rustdoc2 a spin and see where things are. I followed the steps in the docs, but they don't seem to work:

> cargo build --all --release
> cargo run --release --bin rustdoc -- --manifest-path=example/Cargo.toml open
    Finished release [optimized] target(s) in 0.0 secs
     Running `target/release/rustdoc --manifest-path=example/Cargo.toml open`
gio: file:///home/jonathan/Source/rustdoc/example/target/doc/example/index.html: Error when getting information for file “/home/jonathan/Source/rustdoc/example/target/doc/example/index.html”: No such file or directory

Am I doing something wrong?

euclio commented 6 years ago

Hm, that path looks suspicious. You should be able to open example/target/doc/index.html directly as a workaround.

Note there are some unresolved issues with the default frontend, so if you have more trouble you might want to try out my custom frontend here: https://github.com/euclio/rustdoc-static.

sophiajt commented 6 years ago

Looks like it works on macOS but not in the Ubuntu install I have.