doc(index): link to doc.rs for APIs

We also link more specifically to crates.io.

Some debt was taken on as the build_version is special and
duplicated right now.
This commit is contained in:
Sebastian Thiel
2016-12-24 13:30:39 +01:00
parent fdc0141fbc
commit fad9d3b0ca
6 changed files with 44 additions and 25 deletions

View File

@@ -84,7 +84,7 @@ Configuration:
<%def name="new(c)" buffered="True">\
<%
doc_base_url = cargo.doc_base_url + '/' + os.path.dirname(api_index(cargo.doc_base_url, name,
version, make, check_exists=False))
version, make, cargo, revision, check_exists=False))
url_info = "All documentation details can be found at " + doc_base_url
# list of tuples