You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add OpenSearch description file for the standard library documentation. This means serving a new XML file and possibly introducing a new <link> in the documentation html.
Motivation
I would like to add the standard library docs as a search engine in my browser. This would allow for quick access to the docs with a custom search prefix in all modern browsers without having to install an extra plugin from the store.
Drawbacks
Extra configuration for the new file route would be needed. For an automatic detection of the search configuration, a <link> should be added to the html. This would differentiate the docs html at https://doc.rust-lang.org/std/index.html from what cargo doc would generate.
Summary
Add OpenSearch description file for the standard library documentation. This means serving a new XML file and possibly introducing a new
<link>
in the documentation html.Motivation
I would like to add the standard library docs as a search engine in my browser. This would allow for quick access to the docs with a custom search prefix in all modern browsers without having to install an extra plugin from the store.
Drawbacks
Extra configuration for the new file route would be needed. For an automatic detection of the search configuration, a
<link>
should be added to the html. This would differentiate the docs html at https://doc.rust-lang.org/std/index.html from whatcargo doc
would generate.Rationale and alternatives
!rust
.cargo doc
for all pieces of Rust documentationMaintenance
I don't know. To me it seems that this doesn't need frequent attention, but I might be totally wrong.
Unresolved Questions
None so far.
In any case, thank you all for your work and time :)
The text was updated successfully, but these errors were encountered: