mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 04:08:40 +00:00
Remove configuration which became unused in 8abb4bb698
This commit is contained in:
parent
b00d6668b7
commit
ef96d573bf
@ -257,9 +257,6 @@ crate struct RenderOptions {
|
|||||||
/// If present, playground URL to use in the "Run" button added to code samples generated from
|
/// If present, playground URL to use in the "Run" button added to code samples generated from
|
||||||
/// standalone Markdown files. If not present, `playground_url` is used.
|
/// standalone Markdown files. If not present, `playground_url` is used.
|
||||||
crate markdown_playground_url: Option<String>,
|
crate markdown_playground_url: Option<String>,
|
||||||
/// If false, the `select` element to have search filtering by crates on rendered docs
|
|
||||||
/// won't be generated.
|
|
||||||
crate generate_search_filter: bool,
|
|
||||||
/// Document items that have lower than `pub` visibility.
|
/// Document items that have lower than `pub` visibility.
|
||||||
crate document_private: bool,
|
crate document_private: bool,
|
||||||
/// Document items that have `doc(hidden)`.
|
/// Document items that have `doc(hidden)`.
|
||||||
@ -638,7 +635,6 @@ impl Options {
|
|||||||
let crate_version = matches.opt_str("crate-version");
|
let crate_version = matches.opt_str("crate-version");
|
||||||
let enable_index_page = matches.opt_present("enable-index-page") || index_page.is_some();
|
let enable_index_page = matches.opt_present("enable-index-page") || index_page.is_some();
|
||||||
let static_root_path = matches.opt_str("static-root-path");
|
let static_root_path = matches.opt_str("static-root-path");
|
||||||
let generate_search_filter = !matches.opt_present("disable-per-crate-search");
|
|
||||||
let test_run_directory = matches.opt_str("test-run-directory").map(PathBuf::from);
|
let test_run_directory = matches.opt_str("test-run-directory").map(PathBuf::from);
|
||||||
let persist_doctests = matches.opt_str("persist-doctests").map(PathBuf::from);
|
let persist_doctests = matches.opt_str("persist-doctests").map(PathBuf::from);
|
||||||
let test_builder = matches.opt_str("test-builder").map(PathBuf::from);
|
let test_builder = matches.opt_str("test-builder").map(PathBuf::from);
|
||||||
@ -724,7 +720,6 @@ impl Options {
|
|||||||
markdown_no_toc,
|
markdown_no_toc,
|
||||||
markdown_css,
|
markdown_css,
|
||||||
markdown_playground_url,
|
markdown_playground_url,
|
||||||
generate_search_filter,
|
|
||||||
document_private,
|
document_private,
|
||||||
document_hidden,
|
document_hidden,
|
||||||
generate_redirect_map,
|
generate_redirect_map,
|
||||||
|
@ -19,9 +19,6 @@ crate struct Layout {
|
|||||||
/// The given user css file which allow to customize the generated
|
/// The given user css file which allow to customize the generated
|
||||||
/// documentation theme.
|
/// documentation theme.
|
||||||
crate css_file_extension: Option<PathBuf>,
|
crate css_file_extension: Option<PathBuf>,
|
||||||
/// If false, the `select` element to have search filtering by crates on rendered docs
|
|
||||||
/// won't be generated.
|
|
||||||
crate generate_search_filter: bool,
|
|
||||||
/// If true, then scrape-examples.js will be included in the output HTML file
|
/// If true, then scrape-examples.js will be included in the output HTML file
|
||||||
crate scrape_examples_extension: bool,
|
crate scrape_examples_extension: bool,
|
||||||
}
|
}
|
||||||
|
@ -387,7 +387,6 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
|
|||||||
extension_css,
|
extension_css,
|
||||||
resource_suffix,
|
resource_suffix,
|
||||||
static_root_path,
|
static_root_path,
|
||||||
generate_search_filter,
|
|
||||||
unstable_features,
|
unstable_features,
|
||||||
generate_redirect_map,
|
generate_redirect_map,
|
||||||
show_type_layout,
|
show_type_layout,
|
||||||
@ -417,7 +416,6 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
|
|||||||
default_settings,
|
default_settings,
|
||||||
krate: krate.name(tcx).to_string(),
|
krate: krate.name(tcx).to_string(),
|
||||||
css_file_extension: extension_css,
|
css_file_extension: extension_css,
|
||||||
generate_search_filter,
|
|
||||||
scrape_examples_extension: !call_locations.is_empty(),
|
scrape_examples_extension: !call_locations.is_empty(),
|
||||||
};
|
};
|
||||||
let mut issue_tracker_base_url = None;
|
let mut issue_tracker_base_url = None;
|
||||||
|
Loading…
Reference in New Issue
Block a user