Skip to content

Conversation

@FabianGosebrink
Copy link

@FabianGosebrink FabianGosebrink commented Jul 26, 2019

placing generated PDF into the folder which is getting served, so it is accessable from the webserver when creating the PDFs

Used config:

  "docsifytopdf": {
    "contents": [
      "docs/_sidebar.md"
    ],
    "pathToPublic": "pdf/readme.pdf",
    "removeTemp": false,
    "emulateMedia": "screen",
    "pathToDocsifyEntryPoint": "./docs",
    "mainMdFilename": "readme.md"
  }

@chyoungie
Copy link

Is this still an issue? I am still getting the 404 error

@arika163
Copy link

arika163 commented Jun 24, 2021

same for me,getting 404 as pdf content

this commit helps a lot,thanks

@arika163
Copy link

in my opinion, the static dir must be a sub dir of pathToDocsifyEntryPoint
so, in utils.js,prepareEnvcleanUpcloseProcess also need adjust
let me try it

@mo-norant
Copy link

same problem here

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants