Skip to content
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

Backend: Read page content from an external source #3

Open
jlehtine opened this issue Aug 17, 2023 · 0 comments
Open

Backend: Read page content from an external source #3

jlehtine opened this issue Aug 17, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jlehtine
Copy link
Owner

Add a backend option for reading page content from an external source.

Rationale: Support use cases where the page related user manual is not included on the web page itself but is available elsewhere.

Environment variable: VW_PAGE_CONTENT_URL

If the environment variable is defined then fetch data from the specified URL and use it as page content, instead of the page content provided by frontend.

If both VW_PAGE_CONTENT_URL and VW_PAGE_CONTENT are defined then try to read page content from URL but if that fails then use the statically configured page content.

@jlehtine jlehtine added the enhancement New feature or request label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants