Merge "Rework release-notes for Oxygen"
[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 # Append to intersphinx_mapping
16 intersphinx_mapping['odl-releng-builder'] = ('http://docs.opendaylight.org/projects/releng-builder/en/latest/', None)
17
18 linkcheck_ignore = [
19     # Ignore jenkins because it's often slow to respond.
20     'https://jenkins.opendaylight.org/releng',
21     'https://jenkins.opendaylight.org/sandbox',
22     'http://\$CONTROL_HOST:8181/dlux/index.html',
23     # The '#' in the path makes sphinx think it's an anchor
24     'https://git.opendaylight.org/gerrit/#/admin/projects/releng/builder',
25 ]
26
27 nitpicky = True
28 release = version
29
30 import platform
31 if platform.system() != 'Windows':
32
33     # Build integration stuff
34     import subprocess
35
36     subprocess.call(["./generate-milestone-status.sh"])
37     subprocess.call(["./build-integration-robot-libdoc.sh"])