Skip to content

Commit

Permalink
tweak sphinx configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
genedan committed Aug 3, 2020
1 parent 49be5fe commit b525702
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
# 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.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))

import os
from os.path import relpath, dirname
import sys
sys.path.insert(0, os.path.abspath('..'))

# -- Project information -----------------------------------------------------

Expand All @@ -29,14 +29,7 @@
# ones.

import sphinx_rtd_theme
import os
from os.path import relpath, dirname
import sys
import inspect


sys.path.insert(0, os.path.abspath('..'))
print(sys.path)
import tmval

extensions = [
Expand Down Expand Up @@ -140,3 +133,7 @@ def linkcode_resolve(domain, info):
imgmath_latex_preamble = r'''
\usepackage{actuarialsymbol}
'''

latex_elements = {
'preamble': '\\usepackage{actuarialsymbol}'
}

0 comments on commit b525702

Please sign in to comment.