Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Link doc entries to their definition in p5 source code. #1248
One of the hardest things about fixing a minor bug or typo is figuring out where it's located in a project's source code.
But one of the great things about YUIDoc is that it gives us that information in the
So I thought that it might be nice to unintrusively link to the source code for a p5 API in its documentation. I stress the word unintrusively because I don't want to confuse the beginners who may be learning programming for the first time, and could be thrown off by the extra information.
Other benefits of linking to the source:
Here's what it looks like--the example screenshot below is taken from the documentation for
The first link there is to view the source for
brilliant, love it. we also have this addition to the footer. i'm going to go ahead and merge both and then you or i can take a crack on styling. the css files are actually located in the p5.js-website repo: https://github.com/processing/p5.js-website/blob/master/css/main.css