Skip to content

Commit

Permalink
docs: hotfix for #147 [docs versions]
Browse files Browse the repository at this point in the history
Attempt to address #147 - Since make is called from the root directory of the project, the `sphinxext` folder added to the python path is based one lever higher outside docs/.
  • Loading branch information
oesteban authored Dec 12, 2019
1 parent b177f23 commit c6371b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
__copyright__ as _copyright,
)

sys.path.append(os.path.abspath('sphinxext'))
sys.path.append(os.path.abspath(
os.path.join(os.path.dirname(__file__), 'sphinxext')))
from github_link import make_linkcode_resolve

sys.path.insert(0, os.path.abspath('../wrapper'))
Expand Down

0 comments on commit c6371b5

Please sign in to comment.