question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ability to link to source code on GitHub

See original GitHub issue

Similar to the sphinx.ext.linkcode extension:

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pawamoycommented, Jul 22, 2021

Well summarized by @oprypin:

the links would probably need to know about Git commit hashes and such, but mkdocstrings so far has not entered the territory of understanding SCM systems

Not sure we want to enter such a territory. However I believe this could be achieved with a combo of extra plugins and template overriding. mkdocstrings-sourcelink might interest you.

1reaction
oprypincommented, Jul 6, 2021

This is already implemented on master in https://github.com/mkdocstrings/mkdocstrings/pull/287 Thanks for signaling the need for it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a permanent link to a code snippet - GitHub Docs
Linking to code​​ On GitHub.com, navigate to the main page of the repository. Locate the code you'd like to link to: To link...
Read more >
Getting permanent links to files - GitHub Docs
For a permanent link to the specific version of a file that you see, instead of using a branch name in the URL...
Read more >
Add ability to view and link to Markdown source #946 - GitHub
There's no way to view the source of Markdown files inside the GitHub UI. All you can do is click "Raw" to view...
Read more >
Importing source code to GitHub - GitHub Docs
Learn how to add existing source code or repositories to GitHub from the command line using GitHub CLI or Git Commands. Then, share...
Read more >
Adding a file to a repository - GitHub Docs
On GitHub.com, navigate to the main page of the repository. · Above the list of files, using the Add file drop-down, click Upload...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found