7abf21080fcbf71870fa2bfbda29a3ca41d149b1
[docs.git] / docs / conf.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 # SPDX-License-Identifier: EPL-1.0
4 ##############################################################################
5 # Copyright (c) 2018 The Linux Foundation and others.
6 #
7 # All rights reserved. This program and the accompanying materials
8 # are made available under the terms of the Eclipse Public License v1.0
9 # which accompanies this distribution, and is available at
10 # http://www.eclipse.org/legal/epl-v10.html
11 ##############################################################################
12
13 from docs_conf.conf import *
14
15 linkcheck_ignore = [
16     # Ignore jenkins because it's often slow to respond.
17     'https://jenkins.opendaylight.org/releng',
18     'https://jenkins.opendaylight.org/sandbox',
19     'http://\$CONTROL_HOST:8181/dlux/index.html',
20     # The '#' in the path makes sphinx think it's an anchor
21     'https://git.opendaylight.org/gerrit/#/admin/projects/releng/builder',
22 ]
23
24 nitpicky = True
25 release = version
26
27 import platform
28 if platform.system() != 'Windows':
29
30     # Build integration stuff
31     import subprocess
32
33     subprocess.call(["./generate-milestone-status.sh"])
34     subprocess.call(["./build-integration-robot-libdoc.sh"])