How to make Sphinx recognize the `:param` element?

  python, python-sphinx, sphinx

I want to use Sphinx to generate html documents, and although I can generate them successfully, Sphinx does not recognize elements like :param content:.

Wrong document

Figure 1: Wrong document

Correct document

Figure 2: Correct document

Here you can see the specific code file, using . make.bat html to generate the documentation: Shared/sphinx-document-generation at master – Andy-AO/Shared

After checking the documentation of the autodoc extension, I still can’t find the relevant settings, maybe I’m missing something important.

Why is this happening? How can I get Sphinx to recognize these elements?

Source: Python Questions

LEAVE A COMMENT