A testing repo for publishing pypi via CI

gitlab

  • set variable GITLAB_PYPI_NAME, GITLAB_PYPI_PWD and PYPI_TOKEN in settings/ci

Sphinx

From source

sphinx-quickstart # generate conf.py and make file
sphinx-apidoc --ext-viewcode  -o . .. # generates lots of *.rts
make html

quick

  • copy the doc/ to dst project

  • remove all rst file

  • m2r2 README.md and move README.rst to docs/index.rst

  • modify index.rst

  • modify conf.py

Indices and tables