Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagelib
Path: blob/master/doc/common/update-python-inv.sh
4022 views
1
#!/usr/bin/env bash
2
# The file python-inv.txt contains the database of Sphinx hyperlink targets
3
# used by the intersphinx extension. See
4
# http://sphinx.pocoo.org/latest/ext/intersphinx.html
5
# To be able to compile Sage without accessing the net, we use a local copy of
6
# this database. Here is how to update it:
7
8
rm -f python-inv.txt
9
wget http://docs.python.org/release/`sage -python --version 2>&1| cut -d " " --fields=2`/objects.inv -O - > python.inv
10
11