zzap / docs-dangit

Other
13 stars 1 forks source link

GitHub links #23

Open adamziel opened 1 year ago

adamziel commented 1 year ago

It would be super helpful to have GitHub links to see the code snippets in context. I know you’re not indexing the Github repo, but perhaps there’s something in the data sources that could be reused?

heiglandreas commented 1 year ago

Hey Adam. Thanks for your intererst in this project.

But I fear I am not quite understanding the problem you are describing. As the code-snippets that are displayed on docs-dang.it are from different documentations (the WordPress-Documentation, the WP-CLI Documentation and the PHP-Documentation, more will follow) I do not see where GitHub comes into this...

ANd all of the code-snippets have a link to the respective documentation page so that you can see the snippets in their respective context - though most of the time that will not be on GitHub but on the respective documentations-page

WHat am I missing?

adamziel commented 1 year ago

Oh I meant that when I'm looking for a specific function, I'd love to be able to go to its definition:

CleanShot 2023-03-24 at 19 47 50@2x