Skip to content

Changing the per-page download paths (Read the Docs) #73

Description

@michael-wynne-wsu

Hello,

I've got this mostly set up and working with Read the Docs hosted site, but have run into one issue. (Forgive the styling issues, I'm getting other things running first: https://github.com/MukurtuCMS/material and https://material-mukurtu-test.readthedocs.io/en/latest/)

With the download button enabled (as per https://adrienbrignon.github.io/mkdocs-exporter/configuration/generating-pdf-documents/#adding-a-download-button), I get a "file wasn't available on site" message.

It looks like that's trying to pull from eg: ../index.pdf and the actual file is located at /latest/index.pdf. I think that's just due to how Read the Docs builds their sites.

The aggregated site.pdf ("download all" link at the above site) seems to point to the right path fine.

Any recommendations on adjusting those paths?

Thanks!

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions