Skip to content

Commit

Permalink
Fix doc/conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
senesis committed Mar 18, 2024
1 parent c79b9f1 commit a8d5c49
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# -*- coding: utf-8 -*-

from __future__ import print_function, division, unicode_literals, absolute_import
from env.site_settings import atCNRM, onCiclad
from env.environment import climaf_version

#
# CliMAF documentation build configuration file, created by
# sphinx-quickstart on Thu Nov 6 23:20:27 2014.
Expand All @@ -28,6 +27,12 @@
# sys.path.insert(0, os.path.abspath('../climaf'))
sys.path.insert(0, os.path.abspath('..'))

# Without next dummy 'if', my editor would move next two lines before
# the sys.path.insert when saving this file ...
if True:
from env.site_settings import atCNRM, onCiclad
from env.environment import climaf_version


# -- General configuration ------------------------------------------------
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
Expand Down

0 comments on commit a8d5c49

Please sign in to comment.