import os
import sys

sys.path.insert(0, os.path.dirname(__file__))

from gravity import __version__  # noqa: E402

project = 'Gravity'
copyright = '2022, The Galaxy Project'
author = 'The Galaxy Project'
release = '__version__'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']



# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_static_path = ['_static']

import os
import sys

sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))

from gravity import __version__  # noqa: E402

project = 'Gravity'
copyright = '2022, The Galaxy Project'
author = 'The Galaxy Project'
release = '__version__'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']



# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_static_path = ['_static']

Correct path to parent dir
Correct path to parent dir

  import os
  import sys
  
- sys.path.insert(0, os.path.dirname(__file__))
+ sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
  
  from gravity import __version__  # noqa: E402
  
  project = 'Gravity'
  copyright = '2022, The Galaxy Project'
  author = 'The Galaxy Project'
  release = '__version__'
  
  # -- General configuration ---------------------------------------------------
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
  
  extensions = []
  
  templates_path = ['_templates']
  exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
  
  
  
  # -- Options for HTML output -------------------------------------------------
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
  
  html_theme = 'alabaster'
  html_static_path = ['_static']
  
Correct path to parent dir
## Code Before:
import os
import sys

sys.path.insert(0, os.path.dirname(__file__))

from gravity import __version__  # noqa: E402

project = 'Gravity'
copyright = '2022, The Galaxy Project'
author = 'The Galaxy Project'
release = '__version__'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']



# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_static_path = ['_static']

## Instruction:
Correct path to parent dir
## Code After:
import os
import sys

sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))

from gravity import __version__  # noqa: E402

project = 'Gravity'
copyright = '2022, The Galaxy Project'
author = 'The Galaxy Project'
release = '__version__'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']



# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_static_path = ['_static']
