Thanks for the tutorial to download documentation, I’ve never done that myself so will check it out next time I go offline for a while!
I usually just run python to look at docs, importing the library, and then do help(lib.module.function). If I don’t really know what the class can do, I usually do dir(class_instance) to find the available methods/attributes, and do the help thing on them.
This only works if you know reasonably well where to look at. If I were you I would try loading the “read the docs” html build offline in your browser (might be searchable this way), but then you still have a browser open (so you would really need to turn down wifi).
Do you have any tips on how to make the downloaded documentation of programming languages and libraries searchable?
I downloaded offline documentation for python 3.8. It’s searchable, yay!
Same for numpy and pandas.
For
pytorch
,more_itertools
andclick
libraries, I just downloaded their documentation websites (https://pytorch.org/docs/stable/, https://more-itertools.readthedocs.io/, https://click.palletsprojects.com/en/7.x/). Those aren’t searchable, and this is bad.For
networkx
the downloaded documentation I have is in pdf format. It’s kinda searchable, but not ideal.Btw here’s my shortform on how to download documentations of various libraries: https://www.lesswrong.com/posts/qCrTYSWE2TgfNdLhD/crabman-s-shortform?commentId=Xt9JDKPpRtzQk6WGG
Thanks for the tutorial to download documentation, I’ve never done that myself so will check it out next time I go offline for a while!
I usually just run python to look at docs, importing the library, and then do
help(lib.module.function)
. If I don’t really know what the class can do, I usually dodir(class_instance)
to find the available methods/attributes, and do the help thing on them.This only works if you know reasonably well where to look at. If I were you I would try loading the “read the docs” html build offline in your browser (might be searchable this way), but then you still have a browser open (so you would really need to turn down wifi).