Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed bad path name
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 20, 2023
1 parent 222a4fe commit d489200
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
from sphinx.util import logging

# Disable import of swiftest._bindings so that we don't have to build the Fortran code when building the docs
import swiftest
autodoc_mock_imports = ['swiftest._bindings']
# Check if we are building on Read the Docs
on_rtd = os.environ.get('READTHEDOCS') == 'True'

if not on_rtd:
import swiftest

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
Expand Down Expand Up @@ -171,7 +167,7 @@ def linkcode_resolve(domain, info):
else:
linespec = ""

fn = os.path.relpath(fn, start=os.path.dirname())
fn = os.path.relpath(fn, start=os.path.dirname(swiftest.__file__))



Expand Down

0 comments on commit d489200

Please sign in to comment.