2 # -*- coding: utf-8 -*-
3 # SPDX-License-Identifier: EPL-1.0
4 ##############################################################################
5 # Copyright (c) 2018 The Linux Foundation and others.
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 ##############################################################################
13 import xml.etree.ElementTree as ET
15 from docs_conf.conf import *
17 extensions.append('sphinx.ext.extlinks')
18 extensions.append('sphinxcontrib.plantuml')
21 'mdsal-apidoc': ('https://github.com/sphinx-doc/sphinx/issues/%s', 'api '),
24 data = ET.parse('pom.xml')
25 mdsal_version = data.getroot().find('*//{http://maven.apache.org/POM/4.0.0}version').text
26 version = mdsal_version
27 release = mdsal_version