1f3ef3ded2d438c52bae655049eae3afd24939e8
[cascardo/linux.git] / Documentation / media / conf_nitpick.py
1 # -*- coding: utf-8; mode: python -*-
2
3 project = 'Linux Media Subsystem Documentation'
4
5 # It is possible to run Sphinx in nickpick mode with:
6 nitpicky = True
7
8 # within nit-picking build, do not refer to any intersphinx object
9 intersphinx_mapping = {}
10
11 # In nickpick mode, it will complain about lots of missing references that
12 #
13 # 1) are just typedefs like: bool, __u32, etc;
14 # 2) It will complain for things like: enum, NULL;
15 # 3) It will complain for symbols that should be on different
16 #    books (but currently aren't ported to ReST)
17 #
18 # The list below has a list of such symbols to be ignored in nitpick mode
19 #
20 nitpick_ignore = [
21     ("c:func", "clock_gettime"),
22     ("c:func", "close"),
23     ("c:func", "container_of"),
24     ("c:func", "copy_from_user"),
25     ("c:func", "copy_to_user"),
26     ("c:func", "determine_valid_ioctls"),
27     ("c:func", "ERR_PTR"),
28     ("c:func", "i2c_new_device"),
29     ("c:func", "ioctl"),
30     ("c:func", "IS_ERR"),
31     ("c:func", "KERNEL_VERSION"),
32     ("c:func", "mmap"),
33     ("c:func", "open"),
34     ("c:func", "pci_name"),
35     ("c:func", "poll"),
36     ("c:func", "PTR_ERR"),
37     ("c:func", "read"),
38     ("c:func", "release"),
39     ("c:func", "set"),
40     ("c:func", "struct fd_set"),
41     ("c:func", "struct pollfd"),
42     ("c:func", "usb_make_path"),
43     ("c:func", "write"),
44
45     ("c:type", "atomic_t"),
46     ("c:type", "bool"),
47     ("c:type", "boolean"),
48     ("c:type", "buf_queue"),
49     ("c:type", "device"),
50     ("c:type", "device_driver"),
51     ("c:type", "device_node"),
52     ("c:type", "enum"),
53     ("c:type", "fd"),
54     ("c:type", "fd_set"),
55     ("c:type", "file"),
56     ("c:type", "i2c_adapter"),
57     ("c:type", "i2c_board_info"),
58     ("c:type", "i2c_client"),
59     ("c:type", "int16_t"),
60     ("c:type", "ktime_t"),
61     ("c:type", "led_classdev_flash"),
62     ("c:type", "list_head"),
63     ("c:type", "lock_class_key"),
64     ("c:type", "module"),
65     ("c:type", "mutex"),
66     ("c:type", "NULL"),
67     ("c:type", "off_t"),
68     ("c:type", "pci_dev"),
69     ("c:type", "pdvbdev"),
70     ("c:type", "platform_device"),
71     ("c:type", "pollfd"),
72     ("c:type", "poll_table_struct"),
73     ("c:type", "s32"),
74     ("c:type", "s64"),
75     ("c:type", "sd"),
76     ("c:type", "size_t"),
77     ("c:type", "spi_board_info"),
78     ("c:type", "spi_device"),
79     ("c:type", "spi_master"),
80     ("c:type", "ssize_t"),
81     ("c:type", "fb_fix_screeninfo"),
82     ("c:type", "pollfd"),
83     ("c:type", "timeval"),
84     ("c:type", "video_capability"),
85     ("c:type", "timeval"),
86     ("c:type", "__u16"),
87     ("c:type", "u16"),
88     ("c:type", "__u32"),
89     ("c:type", "u32"),
90     ("c:type", "__u64"),
91     ("c:type", "u64"),
92     ("c:type", "u8"),
93     ("c:type", "uint16_t"),
94     ("c:type", "uint32_t"),
95     ("c:type", "union"),
96     ("c:type", "__user"),
97     ("c:type", "usb_device"),
98     ("c:type", "usb_interface"),
99     ("c:type", "v4l2_std_id"),
100     ("c:type", "video_system_t"),
101 ]