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.

Edit on GitHub for content articles.

See original GitHub issue

At the top of an article in the content app, we should show an “Edit on GitHub” button. The button when clicked should lead to the GitHub page for that file - something like https://github.com/python-discord/site/blob/main/docs/configuration.md

The button should have a nice logo, maybe an edit pencil or a github icon. Here’s one such mock implementation: image

Improvements on the mock design can be to reduce the visual weight of the button, or finding a way to make it smaller yet accessible.

Anyone who wants to implement this can propose alternative implementations, feel free to do so in #dev-contrib or #dev-dewikification.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Xithriuscommented, Nov 17, 2021

@hedyhli Sorry, didn’t see your comment here. As we discussed in Discord as well a while back, you’re welcome to take this PR.

Thanks!

1reaction
jb3commented, May 17, 2021

Assigned!

Feel free to chat with us in #dev-contrib if you get stuck at any point, we’d be happy to help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Editing files - GitHub Docs
In your repository, browse to the file you want to edit. · In the upper right corner of the file view, click to...
Read more >
The github.dev web-based editor - GitHub Docs
The github.dev editor introduces a lightweight editing experience that runs entirely in your browser. With the github.dev editor, you can navigate files and ......
Read more >
Adding content to your GitHub Pages site using Jekyll
On GitHub, navigate to your site's repository. · Navigate to the publishing source for your site. · Navigate to the _posts directory. ·...
Read more >
Editing wiki content - GitHub Docs
Using the wiki sidebar, navigate to the page you want to change, and then click Edit. On the wiki toolbar, click Image. Wiki...
Read more >
Writing tech articles - github:gist
Create a secret Gist for the article. · Select a file format to write the article in. · Clone the Gist repository to...
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