Skip to content

Edit on GitHub consistent and on all pages #1927

Open
@svekars

Description

@svekars

Various links to GitHub exist in multiple places:

  1. In the top horizontal nav:

edit-on-github-top-nav

  1. On some tutorials pages that have auto generated call to action links, like here
    (https://pytorch.org/tutorials/intermediate/pipeline_tutorial.html):
    edit-on-github

  2. We can add replace the "view source" link in the doc theme (conf.py - hmtl_contenxt) with the Edit on GitHub button (if it actually works):
    Screen Shot 2022-05-23 at 1 33 47 PM (2)
    However, then we can end up having three Edit/View on GitHub links on some pages.

Need to solve this on all docs/tutorials sites:

  • Each page should have a link to editing
  • There should be no duplicate links

cc: @malfet @holly1238

cc @carljparker

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions