lebedov / scikit-cuda

Python interface to GPU-powered libraries
http://scikit-cuda.readthedocs.org/
Other
975 stars 179 forks source link

Ran sphinx-lint #329

Closed matilda-me closed 2 years ago

matilda-me commented 2 years ago

And found no error in your doc!

But sphinx-lint found trailing whitespaces, trailing tabs, so I cleaned them.

It also found a small python error in docs/source/conf.py: \u is a reserved escape sequence for unicode codepoints, so I used a raw-string instead:

>>> "\usepackage{amsmath}"
  File "<stdin>", line 1
    "\usepackage{amsmath}"
                          ^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-1: truncated \uXXXX escape

I don't know how it worked before? Maybe on old Python versions?

lebedov commented 2 years ago

Thanks!