Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Doc links for static variables #86

Open
nrc opened this issue Sep 12, 2017 · 1 comment
Open

Doc links for static variables #86

nrc opened this issue Sep 12, 2017 · 1 comment

Comments

@nrc
Copy link
Member

nrc commented Sep 12, 2017

cc #85

Need to check if these exist, and that they work properly

@nrc nrc added p-high and removed p-high labels Nov 6, 2017
@kzys
Copy link
Contributor

kzys commented Oct 10, 2018

t, v, m and k are the suffixes Rustdoc has. I don't think we need a special handling for static variables.

https://github.com/rust-lang/rust/blob/aea1bd0/src/librustdoc/html/item_type.rs#L202

I double-checked with rust-lang/rust's docs.

% find build/x86_64-apple-darwin/doc/ -name '*.html' | perl -ne 'print "$1\n" if m/\.([a-z])\.html/' | sort | uniq -c
   3 k
  73 m
1294 t
4691 v
% find build/x86_64-apple-darwin/doc -name '*.html' | grep '\.k\.html'
build/x86_64-apple-darwin/doc/std/let.k.html
build/x86_64-apple-darwin/doc/std/struct.k.html
build/x86_64-apple-darwin/doc/std/fn.k.html
%

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants