-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download PDF themes from own repository #733
Comments
The Git(Hub|Lab) implementation relies on the ZIP download feature that both providers have to offer. As long as any other service offers that, then it won't be too hard to implement. For a local-hosted Gitlab, try to set pdfThemes {
gitlab('foo') {
baseUri = 'https://gitlab.self.hosted.example'.toURI()
}
} |
Thanks for the fast response. Redefining the gitlab-URI works basically. Is there a simple solution in the configuration or should I ask my gitlab administrator for open access without necessary credentials? Many thanks |
It is not ideal but you can set it in the URI for now i.e. pdfThemes {
gitlab('foo') {
baseUri = "https://${System.getenv('YOUR_USER'):${System.getenv('YOUR_TOKEN')}@gitlab.self.hosted.example".toURI()
}
} |
Thx. I'm going to try it. |
I know the feature to load a pdf theme from a Gitlab or a GitHub repository.
For my use case it would be helpful to get the theme from another repository in other words my own local instance of a gitlab repository or some other git repository.
Is this possible and what did I overlooked if yes. Or would that be a common useful feature for users with grouped projects and many documents, which must be created with a consistent styling.
Thx,
Uwe
The text was updated successfully, but these errors were encountered: