Skip to content

Commit 6a97666

Browse files
committed
update configuration, running demos test
1 parent 4252335 commit 6a97666

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

docs/source/conf.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,19 @@
421421
bibtex_bibfiles = ['demos/demo_references.bib', '_static/bibliography.bib', '_static/firedrake-apps.bib', '_static/references.bib']
422422

423423
# -- Options for sphinx.ext.extlinks ------------------------------------
424-
extlinks = {
425-
'demo': ('https://firedrakeproject.org/demos/%s', None)
426-
}
424+
extlinks = {}
425+
if tags.has('master'):
426+
extlinks['demo'] = (
427+
'https://firedrakeproject.org/firedrake/demos/%s', None
428+
)
429+
elif tags.has('release'):
430+
extlinks['demo'] = (
431+
'https://firedrakeproject.org/demos/%s', None
432+
)
433+
else:
434+
extlinks['demo'] = (
435+
'%s', None
436+
)
427437

428438
# -- Options for sphinx_reredirects ------------------------------------
429439
redirects = {

tests/firedrake/demos/test_demos_run.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
Demo(("nonlinear_QG_winddrivengyre", "qg_winddrivengyre"), ["vtk"]),
4040
Demo(("parallel-printing", "parprint"), []),
4141
Demo(("poisson", "poisson_mixed"), ["vtk"]),
42+
Demo(("patches", "poisson_mg_patches"), []),
43+
Demo(("patches", "stokes_vanka_patches"), []),
44+
Demo(("patches", "hcurl_riesz_star"), []),
45+
Demo(("patches", "hdiv_riesz_star"), []),
4246
Demo(("quasigeostrophy_1layer", "qg_1layer_wave"), ["hypre", "vtk"]),
4347
Demo(("saddle_point_pc", "saddle_point_systems"), ["hypre", "mumps"]),
4448
]

0 commit comments

Comments
 (0)