154f38fcaSMauro Carvalho Chehab# -*- coding: utf-8; mode: python -*- 254f38fcaSMauro Carvalho Chehab 354f38fcaSMauro Carvalho Chehab# SPDX-License-Identifier: GPL-2.0 454f38fcaSMauro Carvalho Chehab 554f38fcaSMauro Carvalho Chehabproject = 'Linux Media Subsystem Documentation' 654f38fcaSMauro Carvalho Chehab 754f38fcaSMauro Carvalho Chehab# It is possible to run Sphinx in nickpick mode with: 854f38fcaSMauro Carvalho Chehabnitpicky = True 954f38fcaSMauro Carvalho Chehab 1054f38fcaSMauro Carvalho Chehab# within nit-picking build, do not refer to any intersphinx object 1154f38fcaSMauro Carvalho Chehabintersphinx_mapping = {} 1254f38fcaSMauro Carvalho Chehab 1354f38fcaSMauro Carvalho Chehab# In nickpick mode, it will complain about lots of missing references that 1454f38fcaSMauro Carvalho Chehab# 1554f38fcaSMauro Carvalho Chehab# 1) are just typedefs like: bool, __u32, etc; 1654f38fcaSMauro Carvalho Chehab# 2) It will complain for things like: enum, NULL; 1754f38fcaSMauro Carvalho Chehab# 3) It will complain for symbols that should be on different 1854f38fcaSMauro Carvalho Chehab# books (but currently aren't ported to ReST) 1954f38fcaSMauro Carvalho Chehab# 2054f38fcaSMauro Carvalho Chehab# The list below has a list of such symbols to be ignored in nitpick mode 2154f38fcaSMauro Carvalho Chehab# 2254f38fcaSMauro Carvalho Chehabnitpick_ignore = [ 2354f38fcaSMauro Carvalho Chehab ("c:func", "clock_gettime"), 2454f38fcaSMauro Carvalho Chehab ("c:func", "close"), 2554f38fcaSMauro Carvalho Chehab ("c:func", "container_of"), 2654f38fcaSMauro Carvalho Chehab ("c:func", "copy_from_user"), 2754f38fcaSMauro Carvalho Chehab ("c:func", "copy_to_user"), 2854f38fcaSMauro Carvalho Chehab ("c:func", "determine_valid_ioctls"), 2954f38fcaSMauro Carvalho Chehab ("c:func", "ERR_PTR"), 30*bc5a3e44SWolfram Sang ("c:func", "i2c_new_client_device"), 3154f38fcaSMauro Carvalho Chehab ("c:func", "ioctl"), 3254f38fcaSMauro Carvalho Chehab ("c:func", "IS_ERR"), 3354f38fcaSMauro Carvalho Chehab ("c:func", "KERNEL_VERSION"), 3454f38fcaSMauro Carvalho Chehab ("c:func", "mmap"), 3554f38fcaSMauro Carvalho Chehab ("c:func", "open"), 3654f38fcaSMauro Carvalho Chehab ("c:func", "pci_name"), 3754f38fcaSMauro Carvalho Chehab ("c:func", "poll"), 3854f38fcaSMauro Carvalho Chehab ("c:func", "PTR_ERR"), 3954f38fcaSMauro Carvalho Chehab ("c:func", "read"), 4054f38fcaSMauro Carvalho Chehab ("c:func", "release"), 4154f38fcaSMauro Carvalho Chehab ("c:func", "set"), 4254f38fcaSMauro Carvalho Chehab ("c:func", "struct fd_set"), 4354f38fcaSMauro Carvalho Chehab ("c:func", "struct pollfd"), 4454f38fcaSMauro Carvalho Chehab ("c:func", "usb_make_path"), 4554f38fcaSMauro Carvalho Chehab ("c:func", "wait_finish"), 4654f38fcaSMauro Carvalho Chehab ("c:func", "wait_prepare"), 4754f38fcaSMauro Carvalho Chehab ("c:func", "write"), 4854f38fcaSMauro Carvalho Chehab 4954f38fcaSMauro Carvalho Chehab ("c:type", "atomic_t"), 5054f38fcaSMauro Carvalho Chehab ("c:type", "bool"), 5154f38fcaSMauro Carvalho Chehab ("c:type", "boolean"), 5254f38fcaSMauro Carvalho Chehab ("c:type", "buf_queue"), 5354f38fcaSMauro Carvalho Chehab ("c:type", "device"), 5454f38fcaSMauro Carvalho Chehab ("c:type", "device_driver"), 5554f38fcaSMauro Carvalho Chehab ("c:type", "device_node"), 5654f38fcaSMauro Carvalho Chehab ("c:type", "enum"), 5754f38fcaSMauro Carvalho Chehab ("c:type", "fd"), 5854f38fcaSMauro Carvalho Chehab ("c:type", "fd_set"), 5954f38fcaSMauro Carvalho Chehab ("c:type", "file"), 6054f38fcaSMauro Carvalho Chehab ("c:type", "i2c_adapter"), 6154f38fcaSMauro Carvalho Chehab ("c:type", "i2c_board_info"), 6254f38fcaSMauro Carvalho Chehab ("c:type", "i2c_client"), 6354f38fcaSMauro Carvalho Chehab ("c:type", "int16_t"), 6454f38fcaSMauro Carvalho Chehab ("c:type", "ktime_t"), 6554f38fcaSMauro Carvalho Chehab ("c:type", "led_classdev_flash"), 6654f38fcaSMauro Carvalho Chehab ("c:type", "list_head"), 6754f38fcaSMauro Carvalho Chehab ("c:type", "lock_class_key"), 6854f38fcaSMauro Carvalho Chehab ("c:type", "module"), 6954f38fcaSMauro Carvalho Chehab ("c:type", "mutex"), 7054f38fcaSMauro Carvalho Chehab ("c:type", "NULL"), 7154f38fcaSMauro Carvalho Chehab ("c:type", "off_t"), 7254f38fcaSMauro Carvalho Chehab ("c:type", "pci_dev"), 7354f38fcaSMauro Carvalho Chehab ("c:type", "pdvbdev"), 7454f38fcaSMauro Carvalho Chehab ("c:type", "poll_table"), 7554f38fcaSMauro Carvalho Chehab ("c:type", "platform_device"), 7654f38fcaSMauro Carvalho Chehab ("c:type", "pollfd"), 7754f38fcaSMauro Carvalho Chehab ("c:type", "poll_table_struct"), 7854f38fcaSMauro Carvalho Chehab ("c:type", "s32"), 7954f38fcaSMauro Carvalho Chehab ("c:type", "s64"), 8054f38fcaSMauro Carvalho Chehab ("c:type", "sd"), 8154f38fcaSMauro Carvalho Chehab ("c:type", "size_t"), 8254f38fcaSMauro Carvalho Chehab ("c:type", "spi_board_info"), 8354f38fcaSMauro Carvalho Chehab ("c:type", "spi_device"), 8454f38fcaSMauro Carvalho Chehab ("c:type", "spi_master"), 8554f38fcaSMauro Carvalho Chehab ("c:type", "ssize_t"), 8654f38fcaSMauro Carvalho Chehab ("c:type", "fb_fix_screeninfo"), 8754f38fcaSMauro Carvalho Chehab ("c:type", "pollfd"), 8854f38fcaSMauro Carvalho Chehab ("c:type", "timeval"), 8954f38fcaSMauro Carvalho Chehab ("c:type", "video_capability"), 9054f38fcaSMauro Carvalho Chehab ("c:type", "timeval"), 9154f38fcaSMauro Carvalho Chehab ("c:type", "__u16"), 9254f38fcaSMauro Carvalho Chehab ("c:type", "u16"), 9354f38fcaSMauro Carvalho Chehab ("c:type", "__u32"), 9454f38fcaSMauro Carvalho Chehab ("c:type", "u32"), 9554f38fcaSMauro Carvalho Chehab ("c:type", "__u64"), 9654f38fcaSMauro Carvalho Chehab ("c:type", "u64"), 9754f38fcaSMauro Carvalho Chehab ("c:type", "u8"), 9854f38fcaSMauro Carvalho Chehab ("c:type", "uint16_t"), 9954f38fcaSMauro Carvalho Chehab ("c:type", "uint32_t"), 10054f38fcaSMauro Carvalho Chehab ("c:type", "union"), 10154f38fcaSMauro Carvalho Chehab ("c:type", "__user"), 10254f38fcaSMauro Carvalho Chehab ("c:type", "usb_device"), 10354f38fcaSMauro Carvalho Chehab ("c:type", "usb_interface"), 10454f38fcaSMauro Carvalho Chehab ("c:type", "v4l2_std_id"), 10554f38fcaSMauro Carvalho Chehab ("c:type", "video_system_t"), 10654f38fcaSMauro Carvalho Chehab ("c:type", "vm_area_struct"), 10754f38fcaSMauro Carvalho Chehab 10854f38fcaSMauro Carvalho Chehab # Opaque structures 10954f38fcaSMauro Carvalho Chehab 11054f38fcaSMauro Carvalho Chehab ("c:type", "v4l2_m2m_dev"), 11154f38fcaSMauro Carvalho Chehab] 112