AustL / PygameWidgets

A module for use with Pygame. Includes fully customisable buttons, textboxes, sliders and many more, as well as the ability to create and run animations on these widgets.
MIT License
57 stars 16 forks source link

Documentation refactoring #25

Closed slashformotion closed 3 years ago

slashformotion commented 3 years ago

The documentation is becoming difficult to navigate.

Perhaps it's time to put a navigation system in place to help people finding what they need

I can do it if you need

AustL commented 3 years ago

I've added basic anchors to the Readme, but as the project gets more complex, multi-paged documentation like readthedocs.io might become useful.

slashformotion commented 3 years ago

I have used read the doc in the past. It is best to use it when the docstrings are in place. Here it's not the case.

perhaps it's best to create a folder named docs and separate the documentation into separate files.

AustL commented 3 years ago

Done.

slashformotion commented 3 years ago

@AustL I'm learning to create some jekyll websites. Since your documentation is writen in markdown it will be pretty easy to implement. (perhaps even easier than rdt).

Check this theme out : https://jekyll-themes.com/docsy-jekyll/

AustL commented 3 years ago

I haven't used jekyll websites before but it looks good.

slashformotion commented 3 years ago

I tried to get a sphinx documentation working. You can host it for free on https://readthedocs.org.

The branch is here: https://github.com/slashformotion/PygameWidgets/tree/docs

The result look like this :

slashformotion commented 3 years ago

There is still a lot of work to do. I am wondering if this is the best solution for this project

I used sphinx on a module developped for school: https://github.com/slashformotion/SecondOrderElec .