Django プロジェクトに対して PR を作成した後、Sphinx は実行時に次の警告を発します。
make html
ローカル:
/path-to-project-dir/django/docs/releases/1.10.txt:304: WARNING: py:meth reference target not found: django.test.testcases.SimpleTestCase.assertFormValid
/path-to-project-dir/django/docs/releases/1.10.txt:304: WARNING: py:meth reference target not found: django.test.testcases.SimpleTestCase.assertFormNotValid
基本的に、Sphinx は参照が欠落していると報告しています。
エラー (実際には警告) は、ドキュメントのビルド中にも発生します: http://djangoci.com/job/docs/7444/console。
同様の問題を報告する質問への回答は、編集を提案しdocs/conf.py
ます。ただし、この場合、docs/conf.py
Django プロジェクト全体を編集することになるため、これはオプションではありません。
変更を伴わないこの問題の解決策はありdocs/conf.py
ますか?