diff --git a/docs/Dockerfile b/docs/Dockerfile index 0fb83117..c3165b30 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -27,12 +27,9 @@ RUN conda install -c conda-forge --file ./docs/requirements.txt -y RUN pip install . -# RUN pip install lavavu-osmesa==1.8.45 -ENV LD_LIBRARY_PATH=/opt/conda/lib/python3.10/site-packages/lavavu_osmesa.libs - ENV TINI_VERSION v0.19.0 ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini RUN chmod +x /tini -# ENTRYPOINT ["/tini", "--"] +ENTRYPOINT ["/tini", "--"] WORKDIR / \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index afc40e0d..ce0bf2d7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -105,19 +105,17 @@ # Sphinx gallery examples -try: - from LoopStructural.visualisation.sphinx_scraper import Scraper as LoopScraper - from sphinx_gallery.sorting import ExampleTitleSortKey - - sphinx_gallery_conf = { - "examples_dirs": ["../examples/"], - "gallery_dirs": ["_auto_examples/"], # path to where to save gallery generated output - "image_scrapers": ("matplotlib", LoopScraper()), - "within_subsection_order": ExampleTitleSortKey, - "reference_url": {"LoopStructural": None}, - } -except ImportError: - pass + +# from LoopStructural.visualisation.sphinx_scraper import Scraper as LoopScraper +from sphinx_gallery.sorting import ExampleTitleSortKey + +sphinx_gallery_conf = { + "examples_dirs": ["../examples/"], + "gallery_dirs": ["_auto_examples/"], # path to where to save gallery generated output + "image_scrapers": ("matplotlib"), + "within_subsection_order": ExampleTitleSortKey, + "reference_url": {"LoopStructural": None}, +} # def setup(app): # app.add_stylesheet('custom.css')