git push后,Sphinx文档未更新

时间:2018-12-29 15:57:45

标签: python python-sphinx autodoc

我想创建自己的python git存储库的编码网站文档。我有两个问题,请在下面找到并请帮助我解决

1. I have directory it'll update continuously each time it's not possible to add .py files into .rst file .
   I need this one to auto update if any new file added or any update on existing file will be reflect in website.

2. And my website documentation is not updating properly .

请在下面找到index.rst和code.rst。 index.rst:

===========================================

This is the website which helps to prepare you to interview.   

.. toctree::
   :maxdepth: 2
   :caption: Contents:

   code   

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

code.rst:

Code Documentation
========================
.. automodule:: data_structure.string_and_list.function
     :members:

0 个答案:

没有答案