A testing repo for publishing pypi via CI¶
gitlab¶
set variable
GITLAB_PYPI_NAME
,GITLAB_PYPI_PWD
andPYPI_TOKEN
in settings/ci
reference¶
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 projectremove all rst file
m2r2 README.md
and moveREADME.rst
todocs/index.rst
modify
index.rst
modify
conf.py