Feature Request: Option to not add user/revision info to page PDF export #1690

Closed
opened 2026-02-05 01:37:48 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @conor-byrne on GitHub (Apr 29, 2020).

Describe the feature you'd like
User control over whether revision/user information is appended to the end of a page PDF export.

Describe the benefits this feature would bring to BookStack users
When used as part of an internal workflow, the hyperlinks will point to unreachable addresses for anyone outside of the network, which serves no purpose.

Currently, when I want to share a document with a client, I must first edit the generated PDF to remove the additional information at the end of the document.

Originally created by @conor-byrne on GitHub (Apr 29, 2020). **Describe the feature you'd like** User control over whether revision/user information is appended to the end of a page PDF export. **Describe the benefits this feature would bring to BookStack users** When used as part of an internal workflow, the hyperlinks will point to unreachable addresses for anyone outside of the network, which serves no purpose. Currently, when I want to share a document with a client, I must first edit the generated PDF to remove the additional information at the end of the document.
Author
Owner

@ssddanbrown commented on GitHub (Apr 29, 2020):

Hi @conor-byrne,
If you want to sort this immediately you can achieve this via the theme system:

  1. Create a blank themes/custom/partials/entity-export-meta.blade.php file, within your BookStack installation folder. You should find that the themes folder already exists, you'll need to create the custom and partials folders.
  2. Add the below option to your .env file:
APP_THEME=custom

Edits via the theme system is not officially supported, and could break or cause issues upon update, but I'd be generally happy to support on such occurrence.

@ssddanbrown commented on GitHub (Apr 29, 2020): Hi @conor-byrne, If you want to sort this immediately you can achieve this via the theme system: 1. Create a blank `themes/custom/partials/entity-export-meta.blade.php` file, within your BookStack installation folder. You should find that the `themes` folder already exists, you'll need to create the `custom` and `partials` folders. 2. Add the below option to your `.env` file: ```bash APP_THEME=custom ``` --- Edits via the theme system is not officially supported, and could break or cause issues upon update, but I'd be generally happy to support on such occurrence.
Author
Owner

@conor-byrne commented on GitHub (Apr 29, 2020):

@ssddanbrown Excellent, thanks! As an aside, are inline code sections intentionally orange in the exported PDF?

@conor-byrne commented on GitHub (Apr 29, 2020): @ssddanbrown Excellent, thanks! As an aside, are inline code sections intentionally orange in the exported PDF?
Author
Owner

@ssddanbrown commented on GitHub (Apr 29, 2020):

As an aside, are inline code sections intentionally orange in the exported PDF?

Errr, Totally, Part of an early spooky halloween update 😅

Definitely did not mistype a color-code. Has been patched for the next minor release

@ssddanbrown commented on GitHub (Apr 29, 2020): > As an aside, are inline code sections intentionally orange in the exported PDF? Errr, Totally, Part of an early spooky halloween update :sweat_smile: Definitely [did not mistype a color-code](https://github.com/BookStackApp/BookStack/commit/2a2d0aa15b99f4181dd25b203b5932d56d221982). _Has been patched for the next minor release_
Author
Owner

@ssddanbrown commented on GitHub (May 2, 2021):

Since the main benefit listed here, the removal of unreachable hyperlinks, is no longer relevant in the latest releases (No longer linked) and since a workaround has been provided for completely removing the meta content, I'll close this off.

@ssddanbrown commented on GitHub (May 2, 2021): Since the main benefit listed here, the removal of unreachable hyperlinks, is no longer relevant in the latest releases (No longer linked) and since a workaround has been provided for completely removing the meta content, I'll close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1690