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

Fix doc #517

Merged
merged 4 commits into from
Jan 28, 2022
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
8 changes: 6 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@
# serve to show the default.
import os
import sys
from pathlib import Path
from unittest import mock

from ..src.pygmsh.__about__ import __version__
this_dir = Path(__file__).resolve().parent
about = {}
with open(this_dir / ".." / "src" / "pygmsh" / "__about__.py") as f:
d = exec(f.read(), about)

sys.path.insert(0, os.path.abspath("../"))
__version__ = about["__version__"]

ON_RTD = os.environ.get("READTHEDOCS", None) == "True"

Expand Down
2 changes: 1 addition & 1 deletion src/pygmsh/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "7.1.15"
__version__ = "7.1.16"
8 changes: 8 additions & 0 deletions src/pygmsh/common/point.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@ class Point:
"""
Creates an elementary point.

Parameters
----------
x : Give the coordinates X, Y (and Z) of the point in the three-dimensional
Euclidean space.
mesh_size : The prescribed mesh element size at this point.


Attributes
----------
x : array-like
Point coordinates.
"""

dim = 0
Expand Down