-
Notifications
You must be signed in to change notification settings - Fork 212
Closed
Labels
A-frontendArea: Web frontendArea: Web frontendE-easyEffort: Should be easy to implement and would make a good first PREffort: Should be easy to implement and would make a good first PR
Description
Crates.io includes the crate license in the dropdown menu, and it's a clickable link
This just links to the /latest page, which does not seem too useful
docs.rs/templates/rustdoc/topbar.html
Lines 53 to 56 in 3597759
<li class="pure-menu-item"> | |
<a href="{{ crate_url|safe }}" class="pure-menu-link"> | |
{{ crate::icons::IconScaleUnbalancedFlip.render_solid(false, false, "") }} {{ krate.license.as_deref().unwrap_or_default() }} | |
</a> |
Either it should not be a link at all, or it should link to the LICENSE file, or the SPDX website. Thoughts?
My preference: link to LICENSE if known, otherwise fall back to SPDX
sffc
Metadata
Metadata
Assignees
Labels
A-frontendArea: Web frontendArea: Web frontendE-easyEffort: Should be easy to implement and would make a good first PREffort: Should be easy to implement and would make a good first PR