Skip to content

Commit 4bc3833

Browse files
svekarsmergennachin
authored andcommitted
Fix C++ API docs rendering. (#960)
Summary: Pull Request resolved: #960 The CPP docs have extra top borders in functions and parameters. This commit fixes it and adjusts the rendering to be consistent with Python API documentation. Reviewed By: mergennachin, dbort Differential Revision: D50336290 fbshipit-source-id: 4f71579eeac29333b59e237efb7fcfeec9f92abe
1 parent 9f16db1 commit 4bc3833

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/source/_static/css/custom.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,15 @@ details.sd-dropdown .highlight .n {
160160
clear: both;
161161
}
162162
}
163+
164+
article.pytorch-article .class .method dt {
165+
border-top: none;
166+
}
167+
168+
article.pytorch-article .class .simple dt {
169+
border-top: none;
170+
}
171+
172+
article.pytorch-article .function dt.sig {
173+
border-top: none;
174+
}

0 commit comments

Comments
 (0)