Edits to get docs to build.

这个提交包含在:
Craig Warren
2016-05-18 14:33:29 +01:00
父节点 0464cf5655
当前提交 be89482b42
共有 2 个文件被更改,包括 7 次插入5 次删除

查看文件

@@ -13,15 +13,15 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
import os, sys
import os
import re
import sys
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('../..'))
import gprMax
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@ -72,7 +72,9 @@ author = 'Craig Warren and Antonis Giannopoulos'
# built documents.
#
# The short X.Y version.
version = gprMax.__version__
with open('../../gprMax/_version.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
# The full version, including alpha/beta/rc tags.
release = version

查看文件

@@ -1,7 +1,7 @@
import copy
import h5py
#from lxml import etree
from lxml import etree
import numpy as np
from gprMax.grid import Grid