python - Can I use WordPress to power a PyPI documentation page? -
you can upload documentation run alongside package on pypi, wondering if docs hosted using wordpress. requirements call recent copy of php , mysql database. pypi documentation system provide this?
there's 3 kinds of documentation associated pypi package.
first, there's documentation on package page itself.
this long_description
, parsed restructured text. so, documentation cannot served wordpress.
i suppose indirectly pull wordpress site if set site present plain-text or rst version of docs, , did in setup.py
:
setup( # ... long_description = urllib.request.urlopen('http://example.com/path/to/mydocs').read() )
… don't think want that.
next, can add documentation @ pythonhosted.org
uploading files package's pkg_edit
page, or using upload_docs
feature in distribute
/setuptools
.
this tree full of static pages. so, documentation cannot served wordpress.
however, again, use wordpress generate documentation, pull down , submit pypi. , here, seems less bad idea.
finally, can add home page, link site want.
this can, of course, wordpress site.
Comments
Post a Comment