18c2ecf20Sopenharmony_ci# -*- coding: utf-8; mode: python -*-
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciproject = 'Linux Media Subsystem Documentation'
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci# It is possible to run Sphinx in nickpick mode with:
88c2ecf20Sopenharmony_cinitpicky = True
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci# within nit-picking build, do not refer to any intersphinx object
118c2ecf20Sopenharmony_ciintersphinx_mapping = {}
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci# In nickpick mode, it will complain about lots of missing references that
148c2ecf20Sopenharmony_ci#
158c2ecf20Sopenharmony_ci# 1) are just typedefs like: bool, __u32, etc;
168c2ecf20Sopenharmony_ci# 2) It will complain for things like: enum, NULL;
178c2ecf20Sopenharmony_ci# 3) It will complain for symbols that should be on different
188c2ecf20Sopenharmony_ci#    books (but currently aren't ported to ReST)
198c2ecf20Sopenharmony_ci#
208c2ecf20Sopenharmony_ci# The list below has a list of such symbols to be ignored in nitpick mode
218c2ecf20Sopenharmony_ci#
228c2ecf20Sopenharmony_cinitpick_ignore = [
238c2ecf20Sopenharmony_ci    ("c:func", "clock_gettime"),
248c2ecf20Sopenharmony_ci    ("c:func", "close"),
258c2ecf20Sopenharmony_ci    ("c:func", "container_of"),
268c2ecf20Sopenharmony_ci    ("c:func", "copy_from_user"),
278c2ecf20Sopenharmony_ci    ("c:func", "copy_to_user"),
288c2ecf20Sopenharmony_ci    ("c:func", "determine_valid_ioctls"),
298c2ecf20Sopenharmony_ci    ("c:func", "ERR_PTR"),
308c2ecf20Sopenharmony_ci    ("c:func", "i2c_new_client_device"),
318c2ecf20Sopenharmony_ci    ("c:func", "ioctl"),
328c2ecf20Sopenharmony_ci    ("c:func", "IS_ERR"),
338c2ecf20Sopenharmony_ci    ("c:func", "KERNEL_VERSION"),
348c2ecf20Sopenharmony_ci    ("c:func", "mmap"),
358c2ecf20Sopenharmony_ci    ("c:func", "open"),
368c2ecf20Sopenharmony_ci    ("c:func", "pci_name"),
378c2ecf20Sopenharmony_ci    ("c:func", "poll"),
388c2ecf20Sopenharmony_ci    ("c:func", "PTR_ERR"),
398c2ecf20Sopenharmony_ci    ("c:func", "read"),
408c2ecf20Sopenharmony_ci    ("c:func", "release"),
418c2ecf20Sopenharmony_ci    ("c:func", "set"),
428c2ecf20Sopenharmony_ci    ("c:func", "struct fd_set"),
438c2ecf20Sopenharmony_ci    ("c:func", "struct pollfd"),
448c2ecf20Sopenharmony_ci    ("c:func", "usb_make_path"),
458c2ecf20Sopenharmony_ci    ("c:func", "wait_finish"),
468c2ecf20Sopenharmony_ci    ("c:func", "wait_prepare"),
478c2ecf20Sopenharmony_ci    ("c:func", "write"),
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci    ("c:type", "atomic_t"),
508c2ecf20Sopenharmony_ci    ("c:type", "bool"),
518c2ecf20Sopenharmony_ci    ("c:type", "boolean"),
528c2ecf20Sopenharmony_ci    ("c:type", "buf_queue"),
538c2ecf20Sopenharmony_ci    ("c:type", "device"),
548c2ecf20Sopenharmony_ci    ("c:type", "device_driver"),
558c2ecf20Sopenharmony_ci    ("c:type", "device_node"),
568c2ecf20Sopenharmony_ci    ("c:type", "enum"),
578c2ecf20Sopenharmony_ci    ("c:type", "fd"),
588c2ecf20Sopenharmony_ci    ("c:type", "fd_set"),
598c2ecf20Sopenharmony_ci    ("c:type", "file"),
608c2ecf20Sopenharmony_ci    ("c:type", "i2c_adapter"),
618c2ecf20Sopenharmony_ci    ("c:type", "i2c_board_info"),
628c2ecf20Sopenharmony_ci    ("c:type", "i2c_client"),
638c2ecf20Sopenharmony_ci    ("c:type", "int16_t"),
648c2ecf20Sopenharmony_ci    ("c:type", "ktime_t"),
658c2ecf20Sopenharmony_ci    ("c:type", "led_classdev_flash"),
668c2ecf20Sopenharmony_ci    ("c:type", "list_head"),
678c2ecf20Sopenharmony_ci    ("c:type", "lock_class_key"),
688c2ecf20Sopenharmony_ci    ("c:type", "module"),
698c2ecf20Sopenharmony_ci    ("c:type", "mutex"),
708c2ecf20Sopenharmony_ci    ("c:type", "NULL"),
718c2ecf20Sopenharmony_ci    ("c:type", "off_t"),
728c2ecf20Sopenharmony_ci    ("c:type", "pci_dev"),
738c2ecf20Sopenharmony_ci    ("c:type", "pdvbdev"),
748c2ecf20Sopenharmony_ci    ("c:type", "poll_table"),
758c2ecf20Sopenharmony_ci    ("c:type", "platform_device"),
768c2ecf20Sopenharmony_ci    ("c:type", "pollfd"),
778c2ecf20Sopenharmony_ci    ("c:type", "poll_table_struct"),
788c2ecf20Sopenharmony_ci    ("c:type", "s32"),
798c2ecf20Sopenharmony_ci    ("c:type", "s64"),
808c2ecf20Sopenharmony_ci    ("c:type", "sd"),
818c2ecf20Sopenharmony_ci    ("c:type", "size_t"),
828c2ecf20Sopenharmony_ci    ("c:type", "spi_board_info"),
838c2ecf20Sopenharmony_ci    ("c:type", "spi_device"),
848c2ecf20Sopenharmony_ci    ("c:type", "spi_master"),
858c2ecf20Sopenharmony_ci    ("c:type", "ssize_t"),
868c2ecf20Sopenharmony_ci    ("c:type", "fb_fix_screeninfo"),
878c2ecf20Sopenharmony_ci    ("c:type", "pollfd"),
888c2ecf20Sopenharmony_ci    ("c:type", "timeval"),
898c2ecf20Sopenharmony_ci    ("c:type", "video_capability"),
908c2ecf20Sopenharmony_ci    ("c:type", "timeval"),
918c2ecf20Sopenharmony_ci    ("c:type", "__u16"),
928c2ecf20Sopenharmony_ci    ("c:type", "u16"),
938c2ecf20Sopenharmony_ci    ("c:type", "__u32"),
948c2ecf20Sopenharmony_ci    ("c:type", "u32"),
958c2ecf20Sopenharmony_ci    ("c:type", "__u64"),
968c2ecf20Sopenharmony_ci    ("c:type", "u64"),
978c2ecf20Sopenharmony_ci    ("c:type", "u8"),
988c2ecf20Sopenharmony_ci    ("c:type", "uint16_t"),
998c2ecf20Sopenharmony_ci    ("c:type", "uint32_t"),
1008c2ecf20Sopenharmony_ci    ("c:type", "union"),
1018c2ecf20Sopenharmony_ci    ("c:type", "__user"),
1028c2ecf20Sopenharmony_ci    ("c:type", "usb_device"),
1038c2ecf20Sopenharmony_ci    ("c:type", "usb_interface"),
1048c2ecf20Sopenharmony_ci    ("c:type", "v4l2_std_id"),
1058c2ecf20Sopenharmony_ci    ("c:type", "video_system_t"),
1068c2ecf20Sopenharmony_ci    ("c:type", "vm_area_struct"),
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ci    # Opaque structures
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ci    ("c:type", "v4l2_m2m_dev"),
1118c2ecf20Sopenharmony_ci]
112