Skip to content

Conversation

@Bouni
Copy link
Owner

@Bouni Bouni commented Dec 12, 2024

This is an attempt to auto generate a docs page hosted on GH pages

@github-actions
Copy link

github-actions bot commented Dec 12, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
luxtronik
   __init__.py1841194%42–43, 46–51, 257–258, 263
   __main__.py21210%3–49
   datatypes.py325199%114
   discover.py58198%62
luxtronik/scripts
   dump_changes.py43430%7–85
   dump_luxtronik.py26260%6–52
TOTAL181110394% 

Tests Skipped Failures Errors Time
299 0 💤 0 ❌ 0 🔥 5.878s ⏱️

@Bouni
Copy link
Owner Author

Bouni commented Dec 12, 2024

I removed the pages branch protection by intent as well as the on: branch constraint in order to get a GH pages deüploy that can be live viewed.

https://bouni.github.io/python-luxtronik/

This is a first, very rough draft of what I imagine to be what users use to figure out which id to use in their HA config ....

@Bouni
Copy link
Owner Author

Bouni commented Dec 16, 2024

@Guzz-T Changed the sccript to use import rather than regex. Obviously much better now, thanks for the input 👍

@kbabioch
Copy link
Collaborator

What's the current status here? Are you going forward with this @Bouni? There are some minor warnings that might need to be fixed first.

@Bouni
Copy link
Owner Author

Bouni commented Dec 22, 2025

I have not looked into thsi for a while, but maybe the pre christmas days will give me enough spare time to get this up and running. I'll look into it

@Bouni
Copy link
Owner Author

Bouni commented Dec 22, 2025

@kbabioch I guess its ready for merging, take a look at https://bouni.github.io/python-luxtronik/

Can be improved in the future for sure but a good starting point in my opinion

@Bouni Bouni requested a review from kbabioch December 22, 2025 10:50
@kbabioch
Copy link
Collaborator

@kbabioch I guess its ready for merging, take a look at https://bouni.github.io/python-luxtronik/

Can be improved in the future for sure but a good starting point in my opinion

Definitely a good starting point. Only one (hopefully) minor detail: The background color of Group "parameters" makes it hard to read:

grafik

The generated HTML looks like this:

<div class="is-size-5 mb-2">Group</div>
                        <span
                          class="tag is-medium"
                          style="background-color: oklch(37.2% 0.044 257.287)"
                          ><strong>parameters</strong></span
                        >

Maybe this can be changed easily?

@Bouni
Copy link
Owner Author

Bouni commented Dec 25, 2025

I've not checked with a light setting. I always use dark. I'll fix that soon!

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

Successfully merging this pull request may close these issues.

4 participants