reactive-python / reactpy

It's React, but in Python
https://reactpy.dev
MIT License
7.77k stars 317 forks source link

Rewrite the docs #863

Open Archmonger opened 1 year ago

Archmonger commented 1 year ago

Beta Docs: https://github.com/reactive-python/reactpy/tree/new-docs

Current Situation

It is difficult for new contributors to modify the docs, due to the current usage of reStructuredText (RST). Also the current verbiage is somewhat hard to understand for beginners.

Proposed Actions

Convert the current docs from reStructuredText (sphinx) to Markdown (mkdocs).

These new docs should be a 1:1 rewrite of ReactJS's documentation.

Also consider using these plugins


Related issues

rmorshea commented 1 year ago

Useful conversation to inform our decision to use mkdocs: https://github.com/encode/httpx/discussions/1220

It looks like they stuck with mkdocs in the end.

Archmonger commented 1 year ago

I created a draft of the new docs structure using mkdocs. Used django-idom docs as the initial template.

https://github.com/Archmonger/idom-docs

Currently, the only thing that has been developed is the navigation names, and website theme.


Can be previewed by typing the following:

pip install -r build-docs.txt
mkdocs serve
rmorshea commented 1 year ago

Looking at the docs for Textual (a popular terminal UI framework) I found a list of mkdocs plugins and extensions we might want to consider using.

rmorshea commented 1 year ago

mktestdocs also looks interesting.