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

"Not found template" and docserv-auxserver #5

Open
thkukuk opened this issue Nov 8, 2022 · 0 comments
Open

"Not found template" and docserv-auxserver #5

thkukuk opened this issue Nov 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@thkukuk
Copy link
Owner

thkukuk commented Nov 8, 2022

docserv-auxserver generates a manual page not found error page. This is using the notfound.tmpl from the assets.
But not all variables rpm2docserv knows are available for docserv-auxserver, so either you cannot include the normal templates like headers.tmpl and footer.tmpl or you will get errors during rendering because of unknown variables.

Possible solutions:

  1. Add all variables to auxserver.idx, but this requires a new, incompatible format
  2. Ignore the variables as currently done, which will break the layout
  3. rpm2docserv needs to render notfound.tmpl and generates something like a "notfound.html.in" file, where docserv-auxserver only replaces the name of the manual page not found.

I'm in favor of 3.

@thkukuk thkukuk added the enhancement New feature or request label Nov 8, 2022
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

1 participant