File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -306,8 +306,7 @@ thread_local!(pub static CURRENT_LOCATION_KEY: RefCell<Vec<String>> =
306
306
pub fn run ( mut krate : clean:: Crate ,
307
307
external_html : & ExternalHtml ,
308
308
dst : PathBuf ,
309
- passes : HashSet < String > ,
310
- issue_tracker_base_url : Option < String > ) -> io:: Result < ( ) > {
309
+ passes : HashSet < String > ) -> io:: Result < ( ) > {
311
310
let src_root = match krate. src . parent ( ) {
312
311
Some ( p) => p. to_path_buf ( ) ,
313
312
None => PathBuf :: new ( ) ,
@@ -327,7 +326,7 @@ pub fn run(mut krate: clean::Crate,
327
326
} ,
328
327
include_sources : true ,
329
328
render_redirect_pages : false ,
330
- issue_tracker_base_url : issue_tracker_base_url ,
329
+ issue_tracker_base_url : None ,
331
330
} ;
332
331
333
332
try!( mkdir ( & cx. dst ) ) ;
Original file line number Diff line number Diff line change @@ -179,8 +179,6 @@ pub fn opts() -> Vec<getopts::OptGroup> {
179
179
"FILES" ) ,
180
180
optopt( "" , "markdown-playground-url" ,
181
181
"URL to send code snippets to" , "URL" ) ,
182
- optopt( "" , "issue-tracker-base-url" ,
183
- "base URL for issue tracker" , "URL" ) ,
184
182
optflag( "" , "markdown-no-toc" , "don't include table of contents" )
185
183
)
186
184
}
@@ -287,8 +285,7 @@ pub fn main_args(args: &[String]) -> isize {
287
285
Some ( "html" ) | None => {
288
286
match html:: render:: run ( krate, & external_html,
289
287
output. unwrap_or ( PathBuf :: from ( "doc" ) ) ,
290
- passes. into_iter ( ) . collect ( ) ,
291
- matches. opt_str ( "issue-tracker-base-url" ) ) {
288
+ passes. into_iter ( ) . collect ( ) ) {
292
289
Ok ( ( ) ) => { }
293
290
Err ( e) => panic ! ( "failed to generate documentation: {}" , e) ,
294
291
}
You can’t perform that action at this time.
0 commit comments