goodboy / tractor

A distributed, structured concurrent runtime for Python (and friends)
GNU Affero General Public License v3.0
265 stars 12 forks source link

Revamp DOCS, fo realz #157

Open goodboy opened 4 years ago

goodboy commented 4 years ago

Our docs are terrible and outdated.. ya we know :joy:

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:


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?


Docs frameworks

Alts and/or extensions to sphinx worth a shot?


Content/section IDEAS

Now that #129 is about to land we need some sections on:

goodboy commented 3 years ago

The readme update in #163 also mentions maybe adding some diagrams for both messaging / protocols docs and supervision trees stuff:

add some process tree diagrams using both something like mermaid.io and output from pstree?

goodboy commented 3 years ago

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.

ryanhiebert commented 3 years ago

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.

goodboy commented 3 years ago

@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. This is one of the closest I've seen šŸ„šŸ¼

Looks to be based on the pydata themes.

Damn, they made pandas docs look good.

goodboy commented 3 years ago

So sphinx-book-theme turns out to be the same one that ray uses.

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

goodboy commented 3 years ago

Made https://github.com/executablebooks/sphinx-book-theme/issues/365 to address missing logo stuff.

@Fuyukai also mentioned in chat that our github badge link is borked šŸ˜æ

goodboy commented 1 year ago

as per msgspec docs, apparently the hip new minimalist theme is this bby: https://github.com/pradyunsg/furo

goodboy commented 1 year ago

Also learned about mkdocs the other day which apparently has sphinx compat inventory generation?