Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weldxfile tutorial + minor fixes #355

Merged
merged 18 commits into from
May 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,27 @@
import sys
import typing

import ipywidgets
import pandas as _
import traitlets
import xarray


def _workaround_imports_typechecking():
"""Load some packages needed for type annotations."""
import ipywidgets
import pandas as _
import xarray


def _prevent_sphinx_circular_imports_bug():
# https://github.com/sphinx-doc/sphinx/issues/9243
import sphinx.builders.html
import sphinx.builders.latex
import sphinx.builders.texinfo
import sphinx.builders.text
import sphinx.ext.autodoc


_prevent_sphinx_circular_imports_bug()
_workaround_imports_typechecking()

typing.TYPE_CHECKING = True
try:
Expand Down
1 change: 1 addition & 0 deletions doc/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The API tutorials provide more detailed usages and examples of core ``WelDX`` co
tutorials/geometry_01_profiles
tutorials/geometry_02_geometry
tutorials/timeseries_01
tutorials/weldxfile

Analysis Tutorials
##################
Expand Down
1 change: 1 addition & 0 deletions tutorials/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
example.asdf
Loading