MCPcopy Create free account
hub / github.com/numpy/numpy / get_docs_url

Function get_docs_url

setup.py:473–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

471
472
473def get_docs_url():
474 if 'dev' in VERSION:
475 return "https://numpy.org/devdocs"
476 else:
477 # For releases, this URL ends up on PyPI.
478 # By pinning the version, users looking at old PyPI releases can get
479 # to the associated docs easily.
480 return "https://numpy.org/doc/{}.{}".format(MAJOR, MINOR)
481
482
483from numpy.distutils.core import numpy_cmdclass as cmdclass

Callers 1

setup_packageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected