openhab / website

This repository contains the final artifacts from which the project website is served.
https://www.openhab.org/
20 stars 47 forks source link

Adjust to https://github.com/openhab/openhab-docs/pull/2199 #445

Closed florian-h05 closed 4 months ago

florian-h05 commented 4 months ago

https://github.com/openhab/openhab-docs/pull/2199 broke the website build due to the directory structure changes. This adjusts the build script and therefore fixes the website build.

Also improves the formatting and the output formatting of prepare-docs.rb and fixes an issue, where images folders were copied into images folders, i.e. the folder structure was like images -> images -> actual-image.png.

netlify[bot] commented 4 months ago

Deploy Preview for openhab-v40 failed.

Built without sensitive environment variables

Name Link
Latest commit 563ce4f7f091ce0e49b640b407eae747e809fff7
Latest deploy log https://app.netlify.com/sites/openhab-v40/deploys/65c27cfd7187c20007a06060
florian-h05 commented 4 months ago

@ghys Thanks for pointing me in the right direction - I have now adjusted the build script to the changes from https://github.com/openhab/openhab-docs/pull/2199.

The deploy preview fails because it uses the final-stable, but the changes are only in the final branch yet. Local build works fine.

florian-h05 commented 4 months ago

@kaikreuzer Can you please merge this PR so we hopefully get working website builds again?

florian-h05 commented 4 months ago

To be fair, I broke the deployment with my docs PR, so I'm really glad I could fix it.

Deployment succeeded BTW: https://app.netlify.com/sites/openhab-next/deploys/65c3cef084090100081b14d0 🥳