New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: allow specifying a separate target path #539
Conversation
This reduce the amount of manual tweaking required when regenerating the doc of the gstreamer bindings, as it is output in a different path with a different filename. When the option is not specified, the current behaviour is preserved.
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on sdroege/gstreamer-sys#8 Uses a new girr feature proposed at gtk-rs/gir#539 to make doc regeneration easier.
let doc_target_path: PathBuf = match args.get_str("--doc-target-path") { | ||
"" => { | ||
match toml.lookup("options.doc_target_path") { | ||
Some(p) => config_dir.join(try!(p.as_result_str("options.doc_target_path"))), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure that it need be relative to config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ops, forgot that it really need
@MathieuDuponchelle Thanks. allowing specify file name too is good idea. |
I was too fast with merge: |
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on sdroege/gstreamer-sys#8 Uses a new girr feature proposed at gtk-rs/gir#539 to make doc regeneration easier.
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on sdroege/gstreamer-sys#8 Uses a new girr feature proposed at gtk-rs/gir#539 to make doc regeneration easier.
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on sdroege/gstreamer-sys#8 Uses a new girr feature proposed at gtk-rs/gir#539 to make doc regeneration easier.
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on sdroege/gstreamer-sys#8 Uses a new girr feature proposed at gtk-rs/gir#539 to make doc regeneration easier.
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on sdroege/gstreamer-sys#8 Uses a new girr feature proposed at gtk-rs/gir#539 to make doc regeneration easier.
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on sdroege/gstreamer-sys#8 Uses a new gir feature proposed at gtk-rs/gir#539 to make doc regeneration easier.
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on sdroege/gstreamer-sys#8 Uses a new gir feature proposed at gtk-rs/gir#539 to make doc regeneration easier. Fixes #80
doc: allow specifying a separate target path
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on sdroege/gstreamer-sys#8 Uses a new gir feature proposed at gtk-rs/gir#539 to make doc regeneration easier. Fixes sdroege#80
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on sdroege/gstreamer-sys#8 Uses a new gir feature proposed at gtk-rs/gir#539 to make doc regeneration easier. Fixes sdroege/gstreamer-rs#80
This reduce the amount of manual tweaking required when
regenerating the doc of the gstreamer bindings, as it is
output in a different path with a different filename.
When the option is not specified, the current behaviour
is preserved.