呼吸找不到C#接口

时间:2019-06-12 00:49:25

标签: doxygen python-sphinx

我正在尝试使用doxygen,呼吸和狮身人面像来生成C#库的文档。这是在Windows下。基本目录结构为:

docs
    index.rst
    conf.py
    xml
        xml output from doxygen

执行make.bat html时遇到以下错误:

  

C:\ Programming \ J4JLogging \ J4JLogging \ docs \ index.rst:25:警告:doxygeninterface:在目录“ ./xml”中的项目“ J4JLogger”的doxygen xml输出中找不到类“ IJ4JLoggerConfiguration”

这是conf.py的内容

# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))

project = 'J4JLogger'
copyright = '2019, Mark Olbert'
author = 'Mark Olbert'

extensions = [ "breathe" ]

breathe_projects = {
    "J4JLogger": "./xml"
}

breathe_default_project = "J4JLogger"

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']

这是index.rst的内容:

.. J4JLogger documentation master file, created by
sphinx-quickstart on Tue Jun 11 16:33:34 2019.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

Welcome to J4JLogger's documentation!
=====================================

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

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

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

Docs
====

.. doxygeninterface:: IJ4JLoggerConfiguration
   :members:

doxygen创建的xml文件夹的内容如下:

enter image description here

0 个答案:

没有答案