pyg-team / pytorch_geometric

Graph Neural Network Library for PyTorch
https://pyg.org
MIT License
20.54k stars 3.57k forks source link

Fix and add missing syntax highlighting for code blocks in documentation #9332

Closed nelsonaloysio closed 1 month ago

nelsonaloysio commented 1 month ago

📚 Describe the documentation issue

Some docstrings are either missing syntax highlighting or being rendered incorrectly due to spacing issues in code.

For example, the code block in the documentation of transforms.NodePropertySplit is currently not rendered correctly.

Suggest a potential alternative/fix

See PR #9334 for a fix.