Skip to content
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
12 changes: 4 additions & 8 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Documentation
name: Documentation

on:
workflow_dispatch:
Expand All @@ -11,20 +11,16 @@ on:
- main
- master

schedule:
- cron: "0 0 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-and-deploy:
build-doc:
runs-on: "ubuntu-latest"
env:
PYVISTA_OFF_SCREEN: "True"
ALLOW_PLOTTING: true
SHELLOPTS: "errexit:pipefail"

steps:
- uses: actions/checkout@v4
Expand All @@ -37,9 +33,9 @@ jobs:
- uses: pyvista/setup-headless-display-action@v3

- name: Install libGLU
run: sudo apt-get install libglu1-mesa
run: sudo apt-get install -y libglu1-mesa

- name: Install
- name: Install package with docs dependencies
run: pip install .[docs]

- name: Build docs
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
PYVISTA_OFF_SCREEN: "True"

jobs:
run-examples:
runs-on: ${{ matrix.os }}
Expand Down
26 changes: 0 additions & 26 deletions .readthedocs.yaml

This file was deleted.

40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Generation of 3D objects is achievable through functions that utilize Open CASCA
| -------------- | ---------------- |
| PyPI package | [![PyPI](https://badge.fury.io/py/microgen.svg)](https://pypi.org/project/microgen/) |
| Conda forge package | [![Conda](https://anaconda.org/conda-forge/microgen/badges/version.svg)](https://anaconda.org/conda-forge/microgen) |
| Documentation | [![Documentation](https://readthedocs.org/projects/microgen/badge/?version=latest)](https://microgen.readthedocs.io/en/latest/?badge=latest) |
| Documentation | [![Documentation](https://img.shields.io/badge/docs-GitHub%20Pages-blue)](https://3mah.github.io/microgen-docs/) |
| Status | [![Status](https://github.com/3MAH/microgen/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/3MAH/microgen) |
| Citation | [![DOI](https://zenodo.org/badge/380437028.svg)](https://zenodo.org/badge/latestdoi/380437028) |
| License | [![License](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) |
Expand Down Expand Up @@ -68,73 +68,73 @@ Click on the image to be redirected to the corresponding example on Microgen's d

### Basic shapes

<a href="https://microgen.readthedocs.io/en/latest/examples/basic_shapes.html#basic-shapes">
<a href="https://3mah.github.io/microgen-docs/examples/basic_shapes.html#basic-shapes">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/shapes.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/basic_shapes.html#platon-polyhedra">
<a href="https://3mah.github.io/microgen-docs/examples/basic_shapes.html#platon-polyhedra">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/platon.png" height="250">
</a>

### Repeated cells

<a href="https://microgen.readthedocs.io/en/latest/examples/lattices.html#octet-truss">
<a href="https://3mah.github.io/microgen-docs/examples/lattices.html#octet-truss">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/octettruss.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/lattices.html#honeycomb">
<a href="https://3mah.github.io/microgen-docs/examples/lattices.html#honeycomb">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/honeycomb.png" height="250">
</a>

### Strut-based Lattices

<a href="https://microgen.readthedocs.io/en/latest/examples/lattices.html#presetlattices">
<a href="https://3mah.github.io/microgen-docs/examples/lattices.html#preset-strut-based-lattices">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/lattices.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/lattices.html#customlattices">
<a href="https://3mah.github.io/microgen-docs/examples/lattices.html#custom-strut-based-lattices">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/auxetic_custom_lattice.png" height="250">
</a>

### Triply Periodic Minimal Surfaces (TPMS)

<a href="https://microgen.readthedocs.io/en/latest/examples/tpms.html#gyroid">
<a href="https://3mah.github.io/microgen-docs/examples/tpms.html#gyroid">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/gyroid.png"height="250"></a>
<a href="https://microgen.readthedocs.io/en/latest/examples/tpms.html#tpms-available">
<a href="https://3mah.github.io/microgen-docs/examples/tpms.html#tpms-available">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/tpms.png" height="250"></a>
<a href="https://microgen.readthedocs.io/en/latest/examples/tpms.html#spherical-gyroid">
<a href="https://3mah.github.io/microgen-docs/examples/tpms.html#spherical-gyroid">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/tpms_sphere.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/tpms.html#shell">
<a href="https://3mah.github.io/microgen-docs/examples/tpms.html#shell">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/tpms_shell.png" height="250">
</a>

### 3D operations

<a href="https://microgen.readthedocs.io/en/latest/examples/3d_operations.html#repeating-unit-geometry">
<a href="https://3mah.github.io/microgen-docs/examples/3d_operations.html#repeating-unit-geometry">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/repeated_geometry.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/3d_operations.html#raster-ellipsoid">
<a href="https://3mah.github.io/microgen-docs/examples/3d_operations.html#raster-ellipsoid">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/rasterEllipsoid.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/3d_operations.html#voronoi">
<a href="https://3mah.github.io/microgen-docs/examples/3d_operations.html#voronoi">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/Voronoi.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/3d_operations.html#voronoi-gyroid">
<a href="https://3mah.github.io/microgen-docs/examples/3d_operations.html#voronoi-gyroid">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/Gyroid-voro.png" height="250">
</a>

### Mesh

<a href="https://microgen.readthedocs.io/en/latest/examples/mesh.html#id1">
<a href="https://3mah.github.io/microgen-docs/examples/mesh.html#id1">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/Mesh.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/mesh.html#periodic-mesh">
<a href="https://3mah.github.io/microgen-docs/examples/mesh.html#periodic-mesh">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/meshPeriodic.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/mesh.html#mmg">
<a href="https://3mah.github.io/microgen-docs/examples/mesh.html#mmg">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/mmg.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/mesh.html#mmg-voronoi">
<a href="https://3mah.github.io/microgen-docs/examples/mesh.html#mmg-voronoi">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/mmg-voro.png" height="250">
</a>
<a href="https://microgen.readthedocs.io/en/latest/examples/mesh.html#periodic-remeshing">
<a href="https://3mah.github.io/microgen-docs/examples/mesh.html#periodic-remeshing">
<img src="https://raw.githubusercontent.com/3MAH/microgen/main/docs/_static/examples/remeshed_mesh.png" height="250">
</a>
2 changes: 1 addition & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ about:
license: GPL-3.0-or-later
license_family: GPL
license_file: LICENSE
doc_url: https://microgen.readthedocs.io
doc_url: https://3mah.github.io/microgen-docs/
dev_url: https://github.com/3MAH/microgen

extra:
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#
html_theme = "sphinx_rtd_theme"
html_theme_options = {
"canonical_url": "https://microgen.readthedocs.io/en/latest/",
"canonical_url": "https://3mah.github.io/microgen-docs/",
# 'logo_only': False,
# 'display_version': True,
# 'prev_next_buttons_location': 'bottom',
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jupyter = [
all = ["microgen[dev, docs, jupyter, ray]"]

[project.urls]
Documentation = 'https://microgen.readthedocs.io/en/latest'
Documentation = 'https://3mah.github.io/microgen-docs/'
"Bug Tracker" = 'https://github.com/3MAH/microgen/issues'
"Source Code" = 'https://github.com/3MAH/microgen'

Expand Down
Loading