-
Notifications
You must be signed in to change notification settings - Fork 22
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
Usage of Fragment or request improve documentation #94
Comments
How have you installed |
This is the first time I did not make a new release when merging stuff directly. The docs currently describe the Fragment class which does not exist yet in a released version. Once #93 lands I will put out a new release to avoid the confusion! |
I installed it through pip. (.venv) [hartmut@homeworkstation sdplan]$ cat requirements.txt | grep htpy
htpy==25.2.0 and yes, the import didn't work, though. So I think I just wait for the release then. Thanks. |
If you host the docs with readthedocs.org, which is free and supports MkDocs and custom domains, you can easily have a |
Thanks for the tip! I will take care to release frequently to avoid the docs being out of sync. Will hopefully make a new release today/tomorrow with the fragment updates in #95 . I will not be able to spend time switching the docs to readthedocs right now but that could be a good option in the future! |
closing this issue for now, sorry for the confusion about the fragment, give it another try with the code from github or from the next release and feel free to open another issue if there is a problem with fragment! |
25.3.0 is out now, install it and see https://htpy.dev/usage/#fragments for details on using fragment! |
@pelme if you'd like, I can contribute a github action that will publish a new release to Pypi automatically whenever a release is cut on github. This has come in very handy on open source projects I've maintained in the past. |
Thanks, that would be nice! |
Just starting with htpy, so maybe this is not a bug but a request to clarify the documentation. I am trying to accumulate a list of
option
passed on to another partial for aselect
in a separate call and pass it through. I was trying to useFragment
without success. So I am wondering what I am doing wrong. Following an example I would prefer to have it return theElement
s without a wrapping element rather than astr
come fromrender_node
.The text was updated successfully, but these errors were encountered: