m.sphinx | A Pelican Blog

# m.sphinx

- Module link:
  - argparse
  - explicit type: argparse
- Function link:
  - open()
  - without a `()`: open()
  - explicit type: open(),
  - explicit without a `()`: open()
- Class link:
  - xml.etree.ElementTree.Element
  - explicit type: xml.etree.ElementTree.Element
- Classmethod link:
  - bytearray.fromhex()
  - without a `()`: bytearray.fromhex()
  - explicit type: bytearray.fromhex()
  - explicit without a `()`: bytearray.fromhex()
- Staticmethod link:
  - bytes.maketrans()
  - without a `()`: bytes.maketrans()
  - explicit type bytes.maketrans()
  - explicit without a `()`: bytes.maketrans()
- Method link:
  - str.rstrip()
  - without a `()`: str.rstrip()
  - explicit type: str.rstrip()
  - explicit type without a `()`: str.rstrip()
- Property link:
  - datetime.date.year
  - explicit type datetime.date.year
- Data link:
  - re.X
  - explicit type: re.X
- Explicitly typed page link with automatic title: Command line and environment
- Page link with custom link title, Function link with a custom title
- Custom CSS class: str.join()
- Omitting a prefix: etree.ElementTree, ElementTree
- Omitting a page-specific prefix defined in `:ref-prefix:`: Tuple, NonCallableMagicMock
- Custom query string: os.path

These should produce warnings:

- Link to nonexistent name will be rendered as code: `nonexistent()`
- Link to nonexistent name with custom title will be just text