blob: 3bdeafebb2ab3eb63a90fdc416cd9b38b3b3be4e [file] [log] [blame]
Joey Armstrong0c517b52023-07-07 17:29:54 -04001# -*- coding: utf-8 -*-
2#
3# Configuration file for the Sphinx documentation builder.
4#
5# -----------------------------------------------------------------------
6
7# List of patterns, relative to source directory, that match files and
8# directories to ignore when looking for source files.
9# This pattern also affects html_static_path and html_extra_path.
10exclude_patterns = [
11 '*/LICENSE.md',
12 '*/RELEASE_NOTES.md',
13 '*/vendor',
14 '.DS_Store',
15 'Thumbs.db',
16 '_build',
17 'voltha-go/BUILD.md',
18 'cord-tester/venv_cord',
19 'cord-tester/docs',
20 'cord-tester/src',
21 'cord-tester/README.md',
22 'cord-tester/cord-robot/README.rst',
Eric Ball624906c2025-03-28 18:14:55 -070023 'lf',
24 'makesfiles',
25 'makefiles-orig',
Joey Armstrong0c517b52023-07-07 17:29:54 -040026 'openolt/agent/*',
27 'repos',
28 'requirements.txt',
29 'bbsim/README.md',
30 'CODE_OF_CONDUCT.md',
31 '*/CODE_OF_CONDUCT.md',
32
Joey Armstrong449ce7a2023-07-18 18:32:24 -040033 # -----------------------------------------------------------------------
34 # WARNING: Roach squashing exercise ahead.
35 # External repos are sub-modules, sphinx will complain when new files added.
36 # -----------------------------------------------------------------------
37 # Why are repos pulled in:
38 # - external linkage/direct viewing of the truth ?
39 # - generated content, documentation links ?
40 # -----------------------------------------------------------------------
41 # Roach squash: filter files individually as they are added or found (make lint)
42 # Simple answer: bulk exclude by subdir to catch all variants.
43 # Unknown: will the subdir exclusion break doc generation or navigation ?
44 # -----------------------------------------------------------------------
45 # 'device-management-interface/README.md',
46
47 # -----------------------------------------------------------------------
48 # Jump through hoops for this one:
49 # o openolt/ is an external repo
50 # o lint reported a problem with URL aliases ./BUILDING and .SECURITY
51 # o Cannot exclude by existing or literal path so resort to wildcard
52 # -----------------------------------------------------------------------
53
54 'openolt/README.md',
55 # [SECURITY.md](./SECURITY.md)
56 # [BUILDING guide](BUILDING.md)
57
58 'openolt/olt-sw-upgrade/README.md',
59 'voltha-helm-charts/makefiles/',
60 # 'voltha-helm-charts/makefiles/README.md',
61 'voltha-helm-charts/makefiles/README.md',
62 #
63 'voltha-openonu-adapter-go/templates/README.md',
64 # 'device-management-interface/docs/RpcGuidelines.md',
65 'voltha-system-tests/patches/*',
66 'voltha-system-tests/scripts/flog/',
67 #
68 'voltha-system-tests/etc/README.md',
69 'voltha-system-tests/scripts/README.md',
70 #
71 'voltctl/MULTIPLE_STACKS.md',
72 'voltha-system-tests/tests/data/onos-files/README.md',
73 'voltha-openonu-adapter-go/docs/ONU_Upgrade_Notes.md',
74
75 # WARNING: toctree contains reference to excluded document
76 # 'openolt/README.md',
77 # 'voltha-openonu-adapter-go/README.md',
78 'repos/openolt/BUILDING.md',
79 'repos/openolt/SECURITY.md',
80
Joey Armstrong0c517b52023-07-07 17:29:54 -040081 # Ignore all:
82 'makefiles',
83 '__pycache__',
84 '**/__pycache__', # generated - faster traversal
85 '.venv',
86 '**/.venv', # external virtual env
87
88 # Revisit: one directory pattern is sufficient.
89 # makefiles/virtualenv.mk normalizes all of this
Joey Armstrong449ce7a2023-07-18 18:32:24 -040090 '**/doc_venv',
Joey Armstrong0c517b52023-07-07 17:29:54 -040091 '**/venv_docs',
92 '**/virtualenv',
93 '**/vst_venv',
Joey Armstrong449ce7a2023-07-18 18:32:24 -040094 '**/venv_cord',
Joey Armstrong0c517b52023-07-07 17:29:54 -040095]
96
97# [EOF]