|
383 | 383 | autoclass_content = 'both'
|
384 | 384 |
|
385 | 385 | # Note: Our strategy for intersphinx mappings is to have the upstream build location as the
|
386 |
| -# canonical source and then cached copies of the mapping stored locally in case someone is building |
387 |
| -# when disconnected from the internet. We then have a script to update the cached copies. |
388 |
| -# |
389 |
| -# Because of that, each entry in this mapping should have this format: |
390 |
| -# name: ('http://UPSTREAM_URL', (None, 'path/to/local/cache.inv')) |
391 |
| -# |
392 |
| -# The update script depends on this format so deviating from this (for instance, adding a third |
393 |
| -# location for the mapping to live) will confuse it. |
| 386 | +# canonical source. |
394 | 387 | intersphinx_mapping = {
|
395 |
| - 'python': ('https://docs.python.org/2/', None, None), |
396 |
| - 'python3': ('https://docs.python.org/3/', None, None), |
397 |
| - 'jinja2': ('http://jinja.palletsprojects.com/', None, None), |
398 |
| - 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None, None), |
399 |
| - 'ansible_9': ('https://docs.ansible.com/ansible/9/', None, None), |
| 388 | + 'python': ('https://docs.python.org/2/', None), |
| 389 | + 'python3': ('https://docs.python.org/3/', None), |
| 390 | + 'jinja2': ('http://jinja.palletsprojects.com/', None), |
| 391 | + 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None), |
| 392 | + 'ansible_9': ('https://docs.ansible.com/ansible/9/', None), |
400 | 393 | } if tags.has('all') else {
|
401 |
| - 'python': ('https://docs.python.org/2/', None, None), |
402 |
| - 'python3': ('https://docs.python.org/3/', None, None), |
403 |
| - 'jinja2': ('http://jinja.palletsprojects.com/', None, None), |
404 |
| - 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None, None), |
405 |
| - 'ansible_9': ('https://docs.ansible.com/ansible/9/', None, None), |
| 394 | + 'python': ('https://docs.python.org/2/', None), |
| 395 | + 'python3': ('https://docs.python.org/3/', None), |
| 396 | + 'jinja2': ('http://jinja.palletsprojects.com/', None), |
| 397 | + 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None), |
| 398 | + 'ansible_9': ('https://docs.ansible.com/ansible/9/', None), |
406 | 399 | } if tags.has('core_lang') else {
|
407 |
| - 'python': ('https://docs.python.org/2/', (None, None)), |
408 |
| - 'python3': ('https://docs.python.org/3/', (None, None)), |
409 |
| - 'jinja2': ('http://jinja.palletsprojects.com/', (None, None)), |
410 |
| - 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', (None, None)), |
411 |
| - 'ansible_9': ('https://docs.ansible.com/ansible/9/', (None, None)), |
| 400 | + 'python': ('https://docs.python.org/2/', None), |
| 401 | + 'python3': ('https://docs.python.org/3/', None), |
| 402 | + 'jinja2': ('http://jinja.palletsprojects.com/', None), |
| 403 | + 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None), |
| 404 | + 'ansible_9': ('https://docs.ansible.com/ansible/9/', None), |
412 | 405 | } if tags.has('core') else {
|
413 |
| - 'python': ('https://docs.python.org/2/', (None, '../python2.inv')), |
414 |
| - 'python3': ('https://docs.python.org/3/', (None, '../python3.inv')), |
415 |
| - 'jinja2': ('http://jinja.palletsprojects.com/', (None, '../jinja2.inv')), |
416 |
| - 'ansible_2_10': ('https://docs.ansible.com/ansible/2.10/', (None, '../ansible_2_10.inv')), |
417 |
| - 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', (None, '../ansible_2_9.inv')), |
418 |
| - 'ansible_2_8': ('https://docs.ansible.com/ansible/2.8/', (None, '../ansible_2_8.inv')), |
419 |
| - 'ansible_2_7': ('https://docs.ansible.com/ansible/2.7/', (None, '../ansible_2_7.inv')), |
420 |
| - 'ansible_2_6': ('https://docs.ansible.com/ansible/2.6/', (None, '../ansible_2_6.inv')), |
421 |
| - 'ansible_2_5': ('https://docs.ansible.com/ansible/2.5/', (None, '../ansible_2_5.inv')), |
| 406 | + 'python': ('https://docs.python.org/2/', None), |
| 407 | + 'python3': ('https://docs.python.org/3/', None), |
| 408 | + 'jinja2': ('http://jinja.palletsprojects.com/', None), |
| 409 | + 'ansible_2_10': ('https://docs.ansible.com/ansible/2.10/', None), |
| 410 | + 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None), |
| 411 | + 'ansible_2_8': ('https://docs.ansible.com/ansible/2.8/', None), |
| 412 | + 'ansible_2_7': ('https://docs.ansible.com/ansible/2.7/', None), |
| 413 | + 'ansible_2_6': ('https://docs.ansible.com/ansible/2.6/', None), |
| 414 | + 'ansible_2_5': ('https://docs.ansible.com/ansible/2.5/', None), |
422 | 415 | } if tags.has('2.10') else {
|
423 |
| - 'python': ('https://docs.python.org/2/', None, None), |
424 |
| - 'python3': ('https://docs.python.org/3/', None, None), |
425 |
| - 'jinja2': ('http://jinja.palletsprojects.com/', None, None), |
426 |
| - 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None, None), |
427 |
| - 'ansible_9': ('https://docs.ansible.com/ansible/9/', None, None), |
| 416 | + 'python': ('https://docs.python.org/2/', None), |
| 417 | + 'python3': ('https://docs.python.org/3/', None), |
| 418 | + 'jinja2': ('http://jinja.palletsprojects.com/', None), |
| 419 | + 'ansible_2_9': ('https://docs.ansible.com/ansible/2.9/', None), |
| 420 | + 'ansible_9': ('https://docs.ansible.com/ansible/9/', None), |
428 | 421 | } if tags.has('ansible') else {}
|
429 | 422 |
|
430 | 423 | # linckchecker settings
|
|
0 commit comments