comtypes icon indicating copy to clipboard operation
comtypes copied to clipboard

Documentation not up to date

Open PhilippSelenium opened this issue 3 years ago • 13 comments

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

PhilippSelenium avatar Apr 27 '21 14:04 PhilippSelenium

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

vasily-v-ryabov avatar Apr 28 '21 11:04 vasily-v-ryabov

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

cfarrow avatar Apr 28 '21 16:04 cfarrow

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.

vasily-v-ryabov avatar Apr 28 '21 17:04 vasily-v-ryabov

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

jaraco avatar Apr 28 '21 17:04 jaraco

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

vasily-v-ryabov avatar May 05 '21 10:05 vasily-v-ryabov

Ping

PhilippSelenium avatar Dec 29 '21 07:12 PhilippSelenium

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.

  • As a trial, on a branch of my forked repository, I set it up so that GitHub Pages could recognize the content made with the build script from the pythonhosted era. But the published content did not work well with css and other things. It seems that some adjustments are needed.

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?

junkmd avatar Mar 02 '24 02:03 junkmd

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.

jaraco avatar Mar 02 '24 02:03 jaraco

@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 avatar Mar 02 '24 04:03 junkmd

@cfarrow Do you have any thoughts on docs migration?

junkmd avatar Mar 07 '24 23:03 junkmd

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.

cfarrow avatar Mar 08 '24 00:03 cfarrow

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 avatar Mar 08 '24 00:03 junkmd

@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.

junkmd avatar Mar 08 '24 00:03 junkmd