deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

Add link to source code of examples in API documentation

Open pbeshai opened this issue 8 years ago • 2 comments

Background

Would be nice if when visiting the API docs there was an easy way to see the source code of the example on the page. For example, look at the ScatterplotLayer documentation. The vis at the top of the screen is pretty nice and interactive, but it's not obvious how to see the source code behind it as an example.

I was curious to see how the hover behavior and autohighlight worked in this case and was unable to find the source to the example to see.

To Do List

  • [ ] Add label and assign to milestone
  • [ ] Coding
  • [ ] Doc update
  • [ ] Whats new update
  • [ ] Test

pbeshai avatar Apr 27 '18 16:04 pbeshai

Hey @jianhuang01, I'm trying to work on this. but not sure about the link to source code. is this link the right one? thanks

ianshan0915 avatar May 03 '18 14:05 ianshan0915

@ianshan0915 Yes, that's the source code for layer demos.

jianhuang01 avatar May 03 '18 19:05 jianhuang01