How to use the f90nml.__name__ function in f90nml

To help you get started, we’ve selected a few f90nml examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github marshallward / f90nml / docs / source / conf.py View on Github external
sys.path.insert(1, '../../')
import f90nml

# Path to extensions
sys.path.insert(0, os.path.dirname(os.path.abspath(os.pardir)))

# Sphinx setup
#needs_sphinx = '1.0'
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage']
templates_path = ['_templates']
source_suffix = '.rst'
#source_encoding = 'utf-8-sig'
master_doc = 'index'

# General information about the project.
project = f90nml.__name__
version = f90nml.__version__
release = f90nml.__version__
#copyright = "Copyright 2014-2015 Marshall Ward, see AUTHORS for details."

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# Member order
autodoc_member_order = 'groupwise'