File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 34
34
MAPDL_PACKAGE : ghcr.io/ansys/mapdl
35
35
ON_CI : True
36
36
PYTEST_ARGUMENTS : ' -vvv -ra --durations=10 --maxfail=3 --reruns 3 --reruns-delay 4 --cov=ansys.mapdl.core --cov-report=html'
37
+ BUILD_CHEATSHEET : True
37
38
38
39
# Following env vars when changed will "reset" the mentioned cache,
39
40
# by changing the cache file name. It is rendered as ...-v%RESET_XXX%-...
Original file line number Diff line number Diff line change 99
99
"sphinx_design" ,
100
100
"sphinx_jinja" ,
101
101
"sphinx_copybutton" ,
102
- "sphinx_gallery.gen_gallery" ,
102
+ # "sphinx_gallery.gen_gallery",
103
103
"sphinxemoji.sphinxemoji" ,
104
104
"sphinx.ext.graphviz" ,
105
105
"ansys_sphinx_theme.extension.linkcode" ,
311
311
"json_url" : f"https://{ cname } /versions.json" ,
312
312
"version_match" : switcher_version ,
313
313
},
314
- "cheatsheet" : {
314
+ }
315
+
316
+ BUILD_CHEATSHEET = True if os .environ .get ("BUILD_CHEATSHEET" , "true" ) == "true" else False
317
+
318
+ if BUILD_CHEATSHEET :
319
+ html_theme_options ["cheatsheet" ] = {
315
320
"file" : "cheat_sheet/cheat_sheet.qmd" ,
316
321
"title" : "PyMAPDL cheat sheet" ,
317
322
"version" : f"v{ version } " ,
318
323
"pages" : ["getting_started/learning" ],
319
- },
320
- }
324
+ }
325
+
326
+
321
327
322
328
html_context = {
323
329
"display_github" : True , # Integrate GitHub
You can’t perform that action at this time.
0 commit comments