Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7c9ac45
Bump sphinx from 7.1.0 to 8.1.3 in /requirements
dependabot[bot] Nov 25, 2024
760422d
Merge branch 'master' into dependabot/pip/requirements/sphinx-8.1.3
PProfizi Nov 25, 2024
880f470
Merge branch 'master' into dependabot/pip/requirements/sphinx-8.1.3
jorgepiloto Nov 29, 2024
b94f916
Merge branch 'master' into dependabot/pip/requirements/sphinx-8.1.3
PProfizi Nov 29, 2024
7fc9b54
Merge branch 'master' into dependabot/pip/requirements/sphinx-8.1.3
jorgepiloto Dec 2, 2024
0d3b3c7
ci: add tox.ini file
jorgepiloto Dec 2, 2024
8169bc5
fix: tox.ini syntax and gitignore
jorgepiloto Dec 2, 2024
0ed9e80
fix: ignoring failing files results in successful doc build.
moe-ad Dec 2, 2024
85dda6e
docs: added some hooks for troubleshooting the issue
moe-ad Dec 2, 2024
bbe1c69
fix: updated server and process closing logic after sphinx-gallery ex…
moe-ad Dec 3, 2024
2373a6f
fix: modified function checking server closure after sphinx gallery e…
moe-ad Dec 11, 2024
902df6c
fix: added ipykernel to address 'No python3 ...' error
moe-ad Dec 12, 2024
9bb195f
fix: build issues
RobPasMue Feb 10, 2025
23d005d
Merge branch 'master' into dependabot/pip/requirements/sphinx-8.1.3
RobPasMue Feb 10, 2025
e548f07
Update requirements/requirements_docs.txt
RobPasMue Feb 10, 2025
f5ac3a1
fix: activate failing example
moe-ad Feb 11, 2025
7be59da
Merge branch 'master' into dependabot/pip/requirements/sphinx-8.1.3
moe-ad Feb 12, 2025
5c8a090
fix: remove reset servers logic
moe-ad Feb 17, 2025
a79f2f0
Merge branch 'master' into dependabot/pip/requirements/sphinx-8.1.3
moe-ad Feb 17, 2025
3e59582
Merge branch 'master' into dependabot/pip/requirements/sphinx-8.1.3
moe-ad Feb 19, 2025
b7e1958
Merge branch 'master' into dependabot/pip/requirements/sphinx-8.1.3
moe-ad Feb 19, 2025
ce27e92
Merge branch 'master' into dependabot/pip/requirements/sphinx-8.1.3
moe-ad Feb 20, 2025
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,8 @@ src/ansys/grpc/

# C extensions
*.so

# Ignore auto-generated API reference
doc/source/api
doc/source/examples
doc/source/images/auto-generated
23 changes: 15 additions & 8 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
import os
import sys
from glob import glob
from datetime import datetime
from glob import glob
import os

from ansys_sphinx_theme import (
ansys_favicon,
get_version_match,
pyansys_logo_dark_mode,
pyansys_logo_light_mode,
)
import numpy as np
import pyvista

from ansys.dpf.core import __version__, server, server_factory
from ansys.dpf.core.examples import get_example_required_minimum_dpf_version
from ansys_sphinx_theme import ansys_favicon, get_version_match, pyansys_logo_light_mode, pyansys_logo_dark_mode

# Manage errors
pyvista.set_error_output_file("errors.txt")
Expand Down Expand Up @@ -161,9 +166,11 @@


def reset_servers(gallery_conf, fname, when):
import gc

import psutil

from ansys.dpf.core import server
import gc

gc.collect()
server.shutdown_all_session_servers()
Expand All @@ -174,7 +181,7 @@ def reset_servers(gallery_conf, fname, when):
try:
# check whether the process name matches
if proc_name in proc.name():
# proc.kill()
proc.kill()
nb_procs += 1
except psutil.NoSuchProcess:
pass
Expand Down Expand Up @@ -259,7 +266,7 @@ def reset_servers(gallery_conf, fname, when):

# Configuration for Sphinx autoapi
suppress_warnings = [
"autoapi.python_import_resolution", # Todo: remove suppression of this warning in the future
"autoapi.python_import_resolution", # TODO: remove suppression of this warning in the future #1967
"design.grid",
"config.cache",
"design.fa-build",
Expand Down Expand Up @@ -366,4 +373,4 @@ def reset_servers(gallery_conf, fname, when):
# epub_uid = ''

# A list of files that should not be packed into the epub file.
epub_exclude_files = ["search.html"]
epub_exclude_files = ["search.html"]
2 changes: 1 addition & 1 deletion requirements/requirements_docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ nbsphinx==0.9.6
pypandoc==1.15
pytest-sphinx==0.6.3
pyvista==0.44.2
sphinx==7.4.7
sphinx==8.1.3
sphinx-copybutton==0.5.2
sphinx-gallery==0.19.0
sphinx-notfound-page==1.1.0
Expand Down
Loading