Permalink
Browse files

docs: document physcont fixes, fix docs build for staged prefix

  • Loading branch information...
loriab committed Sep 4, 2018
1 parent 7e06ac9 commit 575d0fb1114c794294ffd83213d1e3932c3222f3
Showing with 8 additions and 8 deletions.
  1. +1 −1 doc/sphinxman/document_physconst.pl
  2. +7 −7 doc/sphinxman/source/conf.py.in
@@ -74,7 +74,7 @@ sub read_file {
printf RSTOUT " | %-23s | %-20s | %-100s |\n", "Label", "Value", "Description";
printf RSTOUT " +=%23s=+=%20s=+=%100s=+\n", ('=' x 23), ('=' x 20), ('=' x 100);
while(<PHYSCONST>){
next unless /\s*#define\s+pc_(\w+)\s+([-Ee0-9.]+)\s+\/\*-(.*)-\*\//;
next unless /\s*#define\s+pc_(\w+)\s+([-+Ee0-9.]+)\s+\/\*-(.*)-\*\//;
my $Var = $1;
my $Val = $2;
my $Comment = $3;
@@ -44,9 +44,9 @@ import sys, os
# 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('@psi4_BINARY_DIR@/stage/@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@@PYMOD_INSTALL_LIBDIR@/psi4/driver')) # for qcdb for db
sys.path.insert(0, os.path.abspath('@psi4_BINARY_DIR@/stage/@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@@PYMOD_INSTALL_LIBDIR@'))
#sys.path.insert(0, os.path.abspath('@psi4_BINARY_DIR@/stage/@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/psi4'))
sys.path.insert(0, os.path.abspath('@psi4_BINARY_DIR@/stage/@CMAKE_INSTALL_LIBDIR@@PYMOD_INSTALL_LIBDIR@/psi4/driver')) # for qcdb for db
sys.path.insert(0, os.path.abspath('@psi4_BINARY_DIR@/stage/@CMAKE_INSTALL_LIBDIR@@PYMOD_INSTALL_LIBDIR@'))
#sys.path.insert(0, os.path.abspath('@psi4_BINARY_DIR@/stage/@CMAKE_INSTALL_LIBDIR@/psi4'))
#sys.path.insert(0, os.path.abspath('@psi4_SOURCE_DIR@/psi4/driver/'))
sys.path.insert(0, os.path.abspath('@psi4_SOURCE_DIR@/psi4/share/psi4/databases/'))
sys.path.insert(0, os.path.abspath('@psi4_SOURCE_DIR@/plugins/'))
@@ -397,10 +397,10 @@ extlinks = {'source': ('https://github.com/psi4/psi4/blob/master/%s', 'psi4/'
'srcdb': ('https://github.com/psi4/psi4/blob/master/psi4/share/psi4/databases/%s.py', '') }
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'python': ('http://docs.python.org/3.6', None),
'numpy': ('http://docs.scipy.org/doc/numpy/', None),
'scipy': ('http://docs.scipy.org/doc/scipy/reference/', None),
'matplotlib': ('http://matplotlib.sourceforge.net/', None),
intersphinx_mapping = {'python': ('https://docs.python.org/3.7', None),
'numpy': ('https://docs.scipy.org/doc/numpy/', None),
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
'matplotlib': ('https://matplotlib.org/', None),
#'psi4.core': ('http://psicode.org/psi4manual/master/', None),
}

0 comments on commit 575d0fb

Please sign in to comment.