Skip to content
Snippets Groups Projects
Commit b75d9b7e authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Script that dumps all the sphinx objects from the inventory URL

parent 01767221
No related branches found
No related tags found
1 merge request!64Script that dumps all the sphinx objects from the inventory URL
#!/usr/bin/env python
# @author: Tiago de Freitas Pereira <tiago.pereira@idiap.ch>
"""
Dump all the sphinx objects given an inventory URL.
This script is useful when you are struggling to do proper links with other projects such as:
- Matplotlib: http://matplotlib.org/objects.inv
- Python: https://docs.python.org/2.7/objects.inv
- Numpy: https://docs.scipy.org/doc/numpy-1.12.0/objects.inv
Usage:
interphinx_dump.py <url>
interphinx_dump.py -h | --help
Options:
-h --help Show this screen.
"""
from sphinx.ext import intersphinx
from docopt import docopt
import warnings
def main():
args = docopt(__doc__)
intersphinx.debug(['', args["<url>"]])
if __name__=="__main__":
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment