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

Make doc page templates in this repository vs erlang/otp #45

Open
starbelly opened this issue Nov 7, 2021 · 1 comment
Open

Make doc page templates in this repository vs erlang/otp #45

starbelly opened this issue Nov 7, 2021 · 1 comment

Comments

@starbelly
Copy link
Contributor

While, I'm not sure what the long term plans for what's pulled in via erlang/otp in regards to document pages, one thing is certain, we're currently creating a buggy situation per #41.

Specifically, the html files in doc/docs (pulled in from erlang/otp and massaged via perl scripts) in conjunction with the new search page added in #41 hard codes layouts in a non-resusable fashion setting up a scenario where something in the template in the otp repo needs to be added, removed, or updated but not done in the search.html source.

Maybe the most pragmatic thing to do now is build the search.html page via index.html.src that ends up in the repo as an ignored artifact (i.e., copy into place as search.html and use a script to replace the contents), though that feels like tacking on tech. debt.

Maybe OTP team has plans to move away from that system to jekyll templates and thus this issue.

@garazdawi
Copy link
Contributor

Maybe the most pragmatic thing to do now is build the search.html page via index.html.src that ends up in the repo as an ignored artifact (i.e., copy into place as search.html and use a script to replace the contents), though that feels like tacking on tech. debt.

I think this is the best solution in the short-term. Another solution could be to include search.html in erl_docgen and just hide the link to it by default.

Maybe OTP team has plans to move away from that system to jekyll templates and thus this issue.

We do not. If anything we/I plan to bring bootstrap etc into erl_docgen in order to re-do the HTML layout for the docs, but that work is a long time away.

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

No branches or pull requests

2 participants