Eel icon indicating copy to clipboard operation
Eel copied to clipboard

Have a documentation page

Open ayushmanbt opened this issue 6 years ago • 3 comments

I would like to have a website with proper documentation of how to use eel and what are the APIs available

ayushmanbt avatar Nov 11 '19 15:11 ayushmanbt

We definitely should have something like this, you're right. I'll have a look into setting up some basic hosted docs that we can iterate on and build over time.

samuelhwilliams avatar Nov 12 '19 09:11 samuelhwilliams

I am willing to participate in this work. After Christmas, I'll work on it personally and write a pull request.

yeongbin-jo avatar Dec 14 '19 10:12 yeongbin-jo

Here's an approach that might work for this project:

I used pydoc-markdown to generate a markdown file:

  • I cloned the Eel project
  • in the project dir I created a doc dir
  • cd to Eel/doc
  • from the doc dir I ran pydoc-markdown -I ../eel >README.md this generated a markdown file you could then link to as the documentation.

From here you could maintain the doc strings in the python files, and then just run command this as part of your "build" for each release

The markdown file I got wasn't great, but better than what we have, and with this process it cold improve with time.

At least this idea doesn't require any additional hosting, it's self contained within this github project, so I hope this is helpful :crossed_fingers:

damies13 avatar Dec 03 '24 04:12 damies13