pytorch_sphinx_theme
pytorch_sphinx_theme copied to clipboard
PyTorch Sphinx Theme
I'm using pytorch_sphinx_theme for a PyTorch domain library I'm developing. When I try to add a link to an external SVG image (like a badge) it seems that I'm unable...
The spacing when nesting a `.. code` directive inside a `warning` or a `note` is not rendered correctly. See for example the end of the first warning in https://pytorch.org/docs/stable/generated/torch.qr.html ...
I'm trying to add a [glossary](https://sublime-and-sphinx-guide.readthedocs.io/en/latest/glossary.html) to my project. Glossaries are simply syntactic sugar around definition lists, so I believe this affects definition lists in general. When I use a...
The current template puts too much space when a list is rendered within a `.. note::` directive. See for example the first note in https://pytorch.org/docs/1.9.0/generated/torch.svd.html I believe that the spacing...
We have recently introduced a gallery of examples from sphinx-gallery in the [torchvision docs](https://pytorch.org/vision/master/auto_examples/index.html) Normally, there should be a link on every example saying "Download Jupyter notebook:..." which is automatically...
We’re seeing an odd bolding on some BNF notation. (::=) Example here: https://pytorch.org/docs/master/jit_language_reference_v2.html#torchscript-type-system-definition In discussion with @mattip, he mentioned this. > It is due to the theme: the stanza is...
It is sometimes useful to write code-like bits in the docs, and we use double backticks for that. Those bits may contain spaces, and currently the spaces will be rendered...
A common browsing behavior is to ctrl + click / cmd + click a link to open a new tab. Because we've overwritten the click handler below: https://github.com/pytorch/pytorch_sphinx_theme/blob/f4ce2e3ec8baead197cb836ddd9f18d20dd1fa89/js/theme.js#L290-L294 Instead of...
When viewing the docs on a narrow browser window, the table of contents is collapsed and placed at the top of the page.  However, this table is lost when...
Updates the PyTorch docs header to match [the new PyTorch site design](https://dev-pytorch.pantheonsite.io/). It now will look like this:  Also updates the footer to...