Skip to content

Commit

Permalink
Using pydata analytics option (#1756)
Browse files Browse the repository at this point in the history
* Using pydata analytics option

* Updating pydata

* Updating sphinx

* Update pyproject.toml

* updating pyansys-sphinx

---------

Co-authored-by: Camille <[email protected]>
  • Loading branch information
germa89 and clatapie authored Feb 23, 2023
1 parent a5e46bc commit 54258bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: marcoroth/[email protected]
with:
dependencies: ansys-api-mapdl,vtk, ansys-corba, ansys-dpf-core, ansys-mapdl-reader, ansys-platform-instancemanagement, ansys-sphinx-theme, pyansys-tools-report, appdirs, autopep8, click, imageio-ffmpeg, imageio, importlib-metadata, jupyter_sphinx, jupyterlab, matplotlib, numpy, numpydoc, pandas, pexpect, plotly, protobuf, pyiges, pypandoc, pytest-cov, pytest-rerunfailures, pytest-sphinx, pytest, pythreejs, pyvista, scipy, setuptools, sphinx-autobuild, sphinx-autodoc-typehints, sphinx-copybutton, sphinx-gallery, sphinx-notfound-page, sphinxcontrib-websupport, sphinxemoji, tqdm, wheel
dependencies: ansys-api-mapdl, vtk, ansys-corba, ansys-dpf-core, ansys-mapdl-reader, ansys-platform-instancemanagement, ansys-sphinx-theme, pyansys-tools-report, appdirs, autopep8, click, imageio-ffmpeg, imageio, importlib-metadata, jupyter_sphinx, jupyterlab, matplotlib, numpy, numpydoc, pandas, pexpect, plotly, protobuf, pyiges, pypandoc, pytest-cov, pytest-rerunfailures, pytest-sphinx, pytest, pythreejs, pyvista, scipy, setuptools, sphinx-autobuild, sphinx-autodoc-typehints, sphinx-copybutton, sphinx-gallery, sphinx-notfound-page, sphinxcontrib-websupport, sphinxemoji, tqdm, wheel
package_managers: pip
directory: /
branch: main
Expand Down
6 changes: 1 addition & 5 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"sphinx_gallery.gen_gallery",
"sphinxemoji.sphinxemoji",
"sphinx.ext.graphviz",
"sphinxcontrib.googleanalytics",
]

# Intersphinx mapping
Expand Down Expand Up @@ -159,10 +158,6 @@
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False

# Google analytics setup
googleanalytics_id = "G-JQJKPV6ZVB"
googleanalytics_enabled = True

# Copy button customization ---------------------------------------------------
# exclude traditional Python prompts from the copied code
copybutton_prompt_text = r">>> ?|\.\.\. "
Expand Down Expand Up @@ -197,6 +192,7 @@
html_theme = "ansys_sphinx_theme"
html_logo = pyansys_logo_black
html_theme_options = {
"analytics": {"google_analytics_id": "G-JQJKPV6ZVB"},
"github_url": "https://github.com/pyansys/pymapdl",
"show_prev_next": False,
"show_breadcrumbs": True,
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ tests = [
"pytest-rerunfailures==11.1.1",
]
doc = [
"Sphinx==5.3.0",
"sphinx==5.3.0",
"ansys-dpf-core==0.7.2",
"ansys-mapdl-reader==0.52.9",
"ansys-sphinx-theme==0.8.2",
"ansys-sphinx-theme==0.9.0",
"grpcio==1.51.1",
"imageio-ffmpeg==0.4.8",
"imageio==2.25.1",
Expand All @@ -90,7 +90,6 @@ doc = [
"sphinxcontrib-websupport==1.2.4",
"sphinxemoji==0.2.0",
"vtk==9.2.6",
"sphinxcontrib-googleanalytics==0.4",
]

[tool.flit.module]
Expand Down

0 comments on commit 54258bb

Please sign in to comment.