Skip to content

Commit 10d08f0

Browse files
committed
rustdoc: Removed command line option issue-tracker-base-url
1 parent d893145 commit 10d08f0

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/librustdoc/html/render.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,7 @@ thread_local!(pub static CURRENT_LOCATION_KEY: RefCell<Vec<String>> =
306306
pub fn run(mut krate: clean::Crate,
307307
external_html: &ExternalHtml,
308308
dst: PathBuf,
309-
passes: HashSet<String>,
310-
issue_tracker_base_url: Option<String>) -> io::Result<()> {
309+
passes: HashSet<String>) -> io::Result<()> {
311310
let src_root = match krate.src.parent() {
312311
Some(p) => p.to_path_buf(),
313312
None => PathBuf::new(),
@@ -327,7 +326,7 @@ pub fn run(mut krate: clean::Crate,
327326
},
328327
include_sources: true,
329328
render_redirect_pages: false,
330-
issue_tracker_base_url: issue_tracker_base_url,
329+
issue_tracker_base_url: None,
331330
};
332331

333332
try!(mkdir(&cx.dst));

src/librustdoc/lib.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ pub fn opts() -> Vec<getopts::OptGroup> {
179179
"FILES"),
180180
optopt("", "markdown-playground-url",
181181
"URL to send code snippets to", "URL"),
182-
optopt("", "issue-tracker-base-url",
183-
"base URL for issue tracker", "URL"),
184182
optflag("", "markdown-no-toc", "don't include table of contents")
185183
)
186184
}
@@ -287,8 +285,7 @@ pub fn main_args(args: &[String]) -> isize {
287285
Some("html") | None => {
288286
match html::render::run(krate, &external_html,
289287
output.unwrap_or(PathBuf::from("doc")),
290-
passes.into_iter().collect(),
291-
matches.opt_str("issue-tracker-base-url")) {
288+
passes.into_iter().collect()) {
292289
Ok(()) => {}
293290
Err(e) => panic!("failed to generate documentation: {}", e),
294291
}

0 commit comments

Comments
 (0)