Skip to content

Commit 477c1c1

Browse files
igerberclaude
andcommitted
Address PR #410 R1 P2: restore shadowed function inventory
Reviewer flagged that page-level :no-index: on .. autofunction:: (added in initial PR 2.5 commit to resolve 3 page-vs-page duplicates) made diff_diff.{trop,stacked_did,chaisemartin_dhaultfoeuille} convenience functions absent from the py:function inventory entirely - so :py:func: cross-refs and intersphinx pointers to those public functions wouldn't resolve. Empirical investigation surfaced the actual conflict source: each of the 3 files had a top-level ``.. module:: diff_diff.<name>`` directive that registered the module FQN, colliding with the function FQN of the same name. Removing the .. module:: directive lets .. autofunction:: register the function as the canonical (and only) :py:function entry. The .. autoclass:: directives on those pages were already converted to top-level paths (diff_diff.X form) in the initial PR 2.5 commit and don't depend on the implicit module context. Verified: make html shows 0 ERRORs / 0 WARNINGs / 0 duplicates; all 3 convenience functions present in objects.inv as py:function entries. Doc-snippet test parity preserved (111 passed, 4 skipped). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 111d7e1 commit 477c1c1

3 files changed

Lines changed: 0 additions & 9 deletions

File tree

docs/api/chaisemartin_dhaultfoeuille.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ library option for non-absorbing treatments.
100100
Difference-in-Differences Estimators of Intertemporal Treatment
101101
Effects. NBER Working Paper 29873.
102102

103-
.. module:: diff_diff.chaisemartin_dhaultfoeuille
104-
105103
ChaisemartinDHaultfoeuille
106104
--------------------------
107105

@@ -157,7 +155,6 @@ Convenience Function
157155
--------------------
158156

159157
.. autofunction:: diff_diff.chaisemartin_dhaultfoeuille
160-
:no-index:
161158

162159
Standalone TWFE Decomposition Diagnostic
163160
----------------------------------------

docs/api/stacked_did.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ which addresses bias in naive stacked DiD regressions by:
2323
Difference-in-Differences. *NBER Working Paper* 32054.
2424
`<http://www.nber.org/papers/w32054>`_
2525

26-
.. module:: diff_diff.stacked_did
27-
2826
StackedDiD
2927
----------
3028

@@ -68,7 +66,6 @@ Convenience Function
6866
--------------------
6967

7068
.. autofunction:: diff_diff.stacked_did
71-
:no-index:
7269

7370
Example Usage
7471
-------------

docs/api/trop.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ which combines three robustness components:
2525
**Reference:** Athey, S., Imbens, G. W., Qu, Z., & Viviano, D. (2025). Triply Robust
2626
Panel Estimators. *Working Paper*. `arXiv:2508.21536 <https://arxiv.org/abs/2508.21536>`_
2727

28-
.. module:: diff_diff.trop
29-
3028
TROP
3129
----
3230

@@ -74,7 +72,6 @@ Convenience Function
7472
--------------------
7573

7674
.. autofunction:: diff_diff.trop
77-
:no-index:
7875

7976
Tuning Parameters
8077
-----------------

0 commit comments

Comments
 (0)