Skip to content

"View Book Source" link always points to the "base" dir instead of "base + subdir" #1259

@kulbhushanchand

Description

@kulbhushanchand

The "View Book Source" link at the bottom left corner always points to the base directory, which is fine if the docs source files resides in top level directory. However, if a subdirectory is defined for source files, it should (ideally) links to the "base+subdir".

Example of my setup :
top level directory: https://github.com/kulbhushanchand/BioNES
book_source directory: https://github.com/kulbhushanchand/BioNES/tree/master/docs_source
build directory: https://github.com/kulbhushanchand/BioNES/tree/master/docs

Setup:

bookdown::bs4_book:
  theme:
    primary: "#637238"
  repo: 
    base: https://github.com/kulbhushanchand/BioNES
    branch: master
    subdir: docs_source
  css: style.css

Link in question:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy