enthought / comtypes

A pure Python, lightweight COM client and server framework, based on the ctypes Python FFI package.
Other
292 stars 98 forks source link

Documentation not up to date #230

Open PhilippSelenium opened 3 years ago

PhilippSelenium commented 3 years ago

The documentation linked in the readme https://pythonhosted.org/comtypes/ is for version 1.1.3 released in 2016.

vasily-v-ryabov commented 3 years ago

AFAIK there were no any changes in the docs since this date. @cfarrow @jaraco do you know something about access to these docs?

cfarrow commented 3 years ago

My recollection is that upload access for pythonhosted is derived from PyPI access privileges. You should have full access to that.

vasily-v-ryabov commented 3 years ago

Wow! This is interesting, but I couldn't find any instruction how to update the pythonhosted docs. PyPA recommends ReadTheDocs service (see https://packaging.python.org/tutorials/creating-documentation/) which I use for pywinauto.

jaraco commented 3 years ago

Right. Support for hosting docs on pythonhosted.org (PyPI) was removed years ago. I recommend to destroy the docs.

vasily-v-ryabov commented 3 years ago

@jaraco thanks! I will try to remove old docs when I have time to upload them to ReadTheDocs first.

PhilippSelenium commented 2 years ago

Ping

junkmd commented 8 months ago

As discussed in https://github.com/enthought/comtypes/pull/343, pythonhosted is no longer updateable. The documentation content is outdated. Many of the sample codes are from the Python2 era and do not work in Python3.

Let’s migrate somewhere and update the content. I want to discuss with everyone what is beneficial for the community.

When I was looking for a good place to host, I found https://docs.enthought.com/. It hosts the documentation for enthought's repositories such as https://github.com/enthought/mayavi (http://docs.enthought.com/mayavi/mayavi/) and https://docs.enthought.com/pyql/ (https://github.com/enthought/pyql). Since the comtypes codebase is hosted by enthought, I think it would be reasonable to host the documentation at https://docs.enthought.com/comtypes/ if there is no policy issue.

The URL currently shows a 404 error from GitHub Pages. This means that if we can host it here, it might be easier to maintain and build than using a separate service like readthedocs, since the documentation and codebase hosting service would be the same GitHub.

Alternatively, we can consider using readthedocs.

As you can see, I'm not very familiar with sphinx and hosting services, so I need someone who knows more about them to help me.

@cfarrow @jaraco @vasily-v-ryabov

Do you have any opinions?

jaraco commented 8 months ago

No strong opinions. I've migrated my projects to use Read The Docs. See jaraco/skeleton for how my projects are configured to build using RTD. If you'd like me to apply those settings to comtypes, I'd be happy to do so.

junkmd commented 8 months ago

@jaraco Thank you for your proposal.

It's very reassuring to have a packaging expert and PyPA member like you involved in this issue.

@vasily-v-ryabov had agreed to the migration to ReadTheDocs in the previous comment.

Also, I would like to confirm whether @cfarrow, a member of enthought, has any opinions on the migration to RTD.

If there are no problems or concerns, I would like you to apply the settings for RTD to comtypes.

junkmd commented 8 months ago

@cfarrow Do you have any thoughts on docs migration?

cfarrow commented 8 months ago

Sorry for the delayed response.

I think a service that is open to many projects, like ReadTheDocs, is the best option.

Hosting on the Enthought site would not be ideal for a multi-collaborator project like this.

junkmd commented 8 months ago

I think a service that is open to many projects, like ReadTheDocs, is the best option.

Hosting on the Enthought site would not be ideal for a multi-collaborator project like this.

Thank you for your opinion. I understood!

junkmd commented 8 months ago

@jaraco

I have confirmed that the main maintainers of this project have no objections to migrating the documentation to ReadTheDocs.

Feel free to apply the ReadTheDocs settings to this project.