-
Notifications
You must be signed in to change notification settings - Fork 12
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
Revamp DOCS, fo realz #157
Comments
The readme update in #163 also mentions maybe adding some diagrams for both messaging / protocols docs and supervision trees stuff:
|
There was a project i saw recently that had a sphinx theme I really loved; too bad can't find it again. It had the automatic toc arrows pointing to the section on the left as you scrolled down the page. |
I'm not sure, but I've seen a couple projects using https://sphinx-book-theme.readthedocs.io/en/latest/, and I rather like it. Was thinking about using it for some internal documentation at work. |
@ryanhiebert oh nice! Yeah this is definitely getting closer. I'm looking for a very simple black and white theme and a nice big logo. Looks to be based on the pydata themes. Damn, they made pandas docs look good. |
So I like a lot about it but think it could be simplified a bit to fit the style I've got envisioned for this project. I've created executablebooks/sphinx-book-theme#296 which seems to so far be well received 🥳 Summary:
I've pushed up some draft changes on https://github.com/goodboy/tractor/tree/new_docs_polish |
Made executablebooks/sphinx-book-theme#365 to address missing logo stuff. @Fuyukai also mentioned in chat that our github badge link is borked 😿 |
.beta0
) release
.beta0
) release.alpha2
(and/or .beta0
) release
.alpha2
(and/or .beta0
) release.beta0
release
as per |
Also learned about mkdocs the other day which apparently has |
Our docs are terrible and outdated.. ya we know 😂
Yes you can find that terrible version (at time of writing) here:
sphinx themes I'm thinking we should use:
These are the hot ones I've found really lovely to read in python
(related) land:
general theme tips:
obviously the
sphinx_docs_theme
which I've already openedissues on ages ago..
.svg
logo? executablebooks/sphinx-book-theme#365msgspec
with its use offuro
:ray
with it's similar theme: https://docs.ray.io/en/latest/ray-core/walkthrough.htmlsphinx_book_theme
: https://github.com/ray-project/ray/blob/master/doc/source/conf.py#L263(like i originally mentioned in this issue..
polars
' user guide: https://pola-rs.github.io/polars-book/user-guide/index.htmlpydata_
theme I guess: https://github.com/pola-rs/polars/blob/main/py-polars/docs/source/conf.py#L79pandas
also using thepydata
theme:Diagramming frameworks
Once we've settled on a (better) theme we need to add a ton of
diagrams with something that can embed in RST ideally, though we
might have to do some automation to just generate using some other
tools?
mermaid
seems the obvious answer but it's markdown only AFAIK:general docs:
CLI editor B)
online editor!
https://mermaid-js.github.io/mermaid-live-editor/edit/#pako:eNqVk11PwyAUhv8K4YYZq-k0xoXEJX5de7HbXozBmZJR2h2oUZv9d-lKXddlOrmgcHre53wANZWFAsqpg3UFVsKTFq8o8sySMEqBXktdCuuJNBqsP7RD7tShdYHFCjD-aOcWcDGdnjcSTl5QAY7qErUETq7TMBLi9FfYpJfpOCHwAZITZvQ7sISwQisWtreL8QSu5puzltqwGmYMyMlDu4h0tsWzHz5rArAuwhFmZO1Sjcx7uRrVQbJTJARh3TOwYVpt0Zz8Q3os-swLX7lRbUUeWsSW2hjWa1h6cyx2J0Rw5a_C4Qk9inAhzCDvvxrfifarm59andt-75jcYgwoNmzU_MQ6-4Riv9E0oTlgLrQKN79uaBn1b5BDRnlYKoGrjGZ2E_yqUgkPz0r7AilfCuMgoaLyxezTSso9VtA5xacTvTbfCPwRJg
which renders to

obsidian
integrations:Pikchr: a
PIC-like markup language for diagrams in technical
documentation. -> looks decent but not sure if it's too niche?
Docs frameworks
Alts and/or extensions to
sphinx
worth a shot?mkdocs
which apparently hassphinx
inventory compat now?
Content/section IDEAS
Now that #129 is about to land we need some sections on:
using the debugger in a variety of process tree configurations
.breakpoint()
and the crash handler systempytest
's--pdb
even with just plain old process local tasksadjustment of all examples to drop use of namespace prefixes when calling
Portal.run()
andActorNursery.run_in_actor()
once a fix for Allow passing function refs to Portal.run() ? #69 landsre-org all major sections into new pages, a rough outline might look like:
spawning basics with process tree snap shots for each example
cancellation and error propagation
debugging
streaming and a real world example
process tree and messaging patterns
pretty up the readme including Add logo and github actions badge to readme #153
a stylistic change would be good where we introduce the
project as something like *trio-across-processes
and/or a next-gen
multiprocessing`:mp
data structuresthere was an existing issue RE a streaming example:
Add a simple real-time streaming example to the README #114 (comment)
The text was updated successfully, but these errors were encountered: