Add ability to link to source code on GitHub
See original GitHub issueSimilar to the sphinx.ext.linkcode
extension:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well summarized by @oprypin:
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.
This is already implemented on master in https://github.com/mkdocstrings/mkdocstrings/pull/287 Thanks for signaling the need for it