[all-commits] [llvm/llvm-project] 2771ce: [lldb][Docs] Add edit link to docs pages (#102144)

David Spickett via All-commits all-commits at lists.llvm.org
Thu Aug 8 01:49:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2771ce80f86e75ba38d9f5cb39fb37aa0268f0da
      https://github.com/llvm/llvm-project/commit/2771ce80f86e75ba38d9f5cb39fb37aa0268f0da
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    A lldb/docs/_templates/components/edit-this-page.html
    M lldb/docs/conf.py

  Log Message:
  -----------
  [lldb][Docs] Add edit link to docs pages (#102144)

That aren't the generated `python_api/` pages.

This button is a pencil icon at the top right of the page and takes you
to a GitHub page where you can edit the content, assuming you have a
fork already. If not it tells you how to make one.

This is hardcoded to the llvm-project URL and main branch. So folks will
need a downstream patch if they want to change that.

For the upstream repo, main is right because even if a release branch
was open for PRs, it would only be for cherry picks from main.

The icon isn't as obvious as the "edit on GitHub" icons seen elsewhere
but it's built in, and we could change it later if we wanted to.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list