-
-
Notifications
You must be signed in to change notification settings - Fork 22
v1.0.0 #73
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
v1.0.0 #73
Conversation
@rmorshea What's the new replacement for |
|
Wait - I should probably implement all the hooks (ex |
This PR is feature complete. Only one question remains... Do we awkwardly document the new hooks within the readme, or should I start generating some |
@rmorshea if I use this PR to create docs, my preferred docs deployment is via Let me know if this is alright with you. |
Go for it! I'm fine with mkdocs, plus md is better than rst for most people. |
New docs are up. Still need some final touches though. If you want to test them later:
I'm thinking this PR should also pre-emptively rename the |
Looked at the changelog entry and the described changes LGTM. Will take a look at the rest in more detail once back. |
When you review, if you like the style of documentation I generated for DJ-idom then I'd like to replicate it to IDOM core. |
@rmorshea Do you have availability to review this week? |
I should |
I looked through all the code and most of the docs. They all look great! I don't have my personal computer with me at the moment so I won't be able to see what the rendered website looks like till next week. If you want you could email me a zip of the build, but I think this LGTM. Any minor things that need to be improved in the docs could be done in a separate PR. |
django-idom_docs_5-27-2022.zip @rmorshea mkdocs builds are slim enough to fit into github attachments, so I've attached it to this comment. |
Will take a look tomorrow. |
LGTM! |
@rmorshea The docs are now live at https://idom-team.github.io/django-idom/ On that note... This is my preferred layout for docs due to readability. If you like it, I can draft a PR for IDOM Core to migrate to this same format. In terms of section names and information layout, I believe the ReactJS beta docs are bad. Ironically, I think the non-beta docs are pretty solid. Also, markdown makes it a lot easier for new users to contribute docs changes. Keeping the bar to entry low is pretty important. |
I think the "Getting Started" section of the core documentation could definitely use improvements to organization and content. I think the content in the remaining "guides" are pretty solid. I'd be open to improving organization but I'm hesitant to spend a lot of time changing content without feedback from readers of it. I'm less opinionated about the rest (e.g. "Reference" and "About" sections. With respect to markdown, I tried getting the docs to work with Myst, but I took a lot of shortcuts with the Sphinx extensions that enable the interactive examples. As a result, things broke when I added Myst. Specifically, I resorted to using ReST templates instead of actually figuring out how to use directives within my extension. |
Markdown supports embedding raw HTML. Wouldn't that suffice, if we were to switch to mkdocs? Also in terms of other things we'd need to replicate... |
I'd prefer to stick with the docs tooling we have for now. I don't think having the documentation written in Markdown provides enough of a benefit vs the time it will cost of making the changes. With that said, Myst seems like an attractive option for switching to Markdown because it can be integrated progressively. |
By the way, what do you think about the grey/orange color scheme? |
Changelog
channels
andaiofile
contexlib.suppress
when possibleuse_websocket
,use_scope
, anduse_location
websocket
parameter from components (replaced byuse_websocket
hook)idom_component
template tag tocomponent
in preparation for repo rename (reactive)Docs Preview
pip install -U -r requirements/build-docs.txt
mkdocs serve