module documentation
The command-line parsing.
| Class | |
Undocumented |
| Class | |
Container for all possible pydoctor options. |
| Function | get |
Undocumented |
| Function | parse |
Undocumented |
| Constant | BUILDTIME |
Undocumented |
| Constant | BUILDTIME |
Undocumented |
| Constant | CONFIG |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | FALSE |
Undocumented |
| Variable | |
Undocumented |
| Function | _convert |
Undocumented |
| Function | _convert |
Undocumented |
| Function | _convert |
Undocumented |
| Function | _convert |
Undocumented |
| Function | _convert |
Undocumented |
| Function | _convert |
Undocumented |
| Function | _convert |
Undocumented |
| Function | _convert |
Undocumented |
| Function | _get |
Recognize several version control providers based on option --html-viewsource-base. |
| Function | _parse |
Function returning a tuple (inventory file, base_url) for the intersphinx-file commandline argument. Used double commas because the simple comma might conflict with windows drive names. |
| Function | _warn |
Check the CLI options and warn on deprecated options. |
| Constant | _RECOGNIZED |
Undocumented |
Function returning a tuple (inventory file, base_url) for the intersphinx-file commandline argument. Used double commas because the simple comma might conflict with windows drive names.
>>> _parse_intersphinx('https://example.com/api/objects.inv::https://two/') IntersphinxSource(source='https://example.com/api/objects.inv', base_url='https://two/') >>> _parse_intersphinx('c:/one::https://two/') IntersphinxSource(source='c:/one', base_url='https://two/') >>> _parse_intersphinx('https://example.com/api/objects.inv :: https://two/') IntersphinxSource(source='https://example.com/api/objects.inv', base_url='https://two/') >>> _parse_intersphinx(' c:/one :: https://two/ ') IntersphinxSource(source='c:/one', base_url='https://two/') >>> _parse_intersphinx('https://example.com/api/objects.inv') IntersphinxSource(source='https://example.com/api/objects.inv', base_url=None) >>> _parse_intersphinx('c:/one') IntersphinxSource(source='c:/one', base_url=None) >>> _parse_intersphinx('three::c:/one::https://two/') Traceback (most recent call last): ... ValueError: malformed --interspinx option >>> _parse_intersphinx('::one') Traceback (most recent call last): ... ValueError: malformed --interspinx option >>> _parse_intersphinx('one::') Traceback (most recent call last): ... ValueError: malformed --interspinx option >>> _parse_intersphinx('::::') Traceback (most recent call last): ... ValueError: malformed --interspinx option >>> _parse_intersphinx('three :: c:/one :: https://two/') Traceback (most recent call last): ... ValueError: malformed --interspinx option >>> _parse_intersphinx(':: one') Traceback (most recent call last): ... ValueError: malformed --interspinx option >>> _parse_intersphinx('one ::') Traceback (most recent call last): ... ValueError: malformed --interspinx option >>> _parse_intersphinx(':: ::') Traceback (most recent call last): ... ValueError: malformed --interspinx option >>> _parse_intersphinx('source::localhost') Traceback (most recent call last): ... ValueError: malformed --interspinx option, providing a scheme is required for the base URL >>> _parse_intersphinx('source :: localhost') Traceback (most recent call last): ... ValueError: malformed --interspinx option, providing a scheme is required for the base URL
Undocumented
| Value |
|