denoland / doc_website

Archived. New version at https://github.com/denoland/docland
https://doc.deno.land/
MIT License
194 stars 42 forks source link

References to class members #218

Open KnorpelSenf opened 3 years ago

KnorpelSenf commented 3 years ago

If a package exports a class Foo, then I can reference it by appending #Foo to the URL. Users opening such a link will automatically be scrolled to the correct position of the docs.

I want to be able to reference a method bar inside Foo and link people there. Classes with a lot of members and long docs are confusing to reference when talking about a specific method.

I don't necessarily need to have a link in the table of contents, it would be okay for me to manually create the anchor.

It is apparent that this makes sense for properties of classes as well as methods and properties of interfaces, too.