Skip to content

Commit 72ef4a7

Browse files
committed
Fix Sphinx namespace collisions to reduce doc build duplicate definition warnings
This reduces unnecessary warnings that occur when a function, structure, or enumeration is included in more than one place in the documentation. To allow the display of collected function and data structures as well as individual source files without unnecessary warnings each source now gets the source file name appended to the libAtomVM namespace used for documenting the C APIs. Signed-off-by: Winford <winford@object.stream>
1 parent 8b17c5d commit 72ef4a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/src/apidocs/libatomvm/file.rst.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
:orphan:
66

77
.. c:namespace:: libAtomVM
8+
.. c:namespace-push:: @SOURCE_FILE@
89

910
------------------
1011
@SOURCE_FILE@

0 commit comments

Comments
 (0)