mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Clear record_dependencies for each document (#10855)
This commit is contained in:
4
tests/roots/test-environment-record-dependencies/api.rst
Normal file
4
tests/roots/test-environment-record-dependencies/api.rst
Normal file
@@ -0,0 +1,4 @@
|
||||
API
|
||||
===
|
||||
|
||||
.. automodule:: example_module
|
||||
5
tests/roots/test-environment-record-dependencies/conf.py
Normal file
5
tests/roots/test-environment-record-dependencies/conf.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.abspath('.'))
|
||||
extensions = ['sphinx.ext.autodoc']
|
||||
@@ -0,0 +1,2 @@
|
||||
def example_function():
|
||||
return 42
|
||||
@@ -0,0 +1,3 @@
|
||||
.. toctree::
|
||||
|
||||
api
|
||||
Reference in New Issue
Block a user