Skip to content

Commit

Permalink
ci: include Plausible in Sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
pbelmans committed Jun 7, 2024
1 parent bf1391f commit e5847b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
sudo apt-get install -y texlive-latex-extra
sudo apt-get install -y latexmk
sudo apt-get install -y python3-sphinx
sudo pip install sphinx-plausible
- name: Checkout Hodge diamond cutter
uses: actions/checkout@v3
- name: Install Hodge diamond cutter
Expand Down
3 changes: 3 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"sphinx.ext.mathjax",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
"sphinx_plausible",
]

mathjax3_config = {
Expand All @@ -51,6 +52,8 @@
},
}

plausible_domain = "cutter.ncag.info"

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down

0 comments on commit e5847b7

Please sign in to comment.