Skip to content

Commit a454e81

Browse files
committed
making things a bit simpler: static-subdir should be optional
1 parent 849e143 commit a454e81

File tree

9 files changed

+2
-22
lines changed

9 files changed

+2
-22
lines changed

blog/members/hellhound.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ lanaguage: Español
1111

1212
```{gravatar} jean.pierre@chauvel.org
1313
---
14-
class: something
1514
width: 200
1615
style: "margin: 0 auto; display: block;"
1716
with-circle-clip: true
1817
with-grayscale: true
19-
static-subdir: images/gravatar
2018
---
2119
```
2220

ext/gravatar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def run(self):
8282
width = self.options.get("width")
8383
with_circle_clip = self.options.get("with-circle-clip")
8484
with_grayscale = self.options.get("with-grayscale")
85-
static_subdir = self.options.get("static-subdir")
85+
static_subdir = self.options.get("static-subdir", "images/gravatar")
8686
confdir = find_confdir()
8787
conf = read_conf(confdir)
8888
html_static_path = getattr(conf, "html_static_path", [])

ext/sketchviz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Sketchviz(Directive):
3737
}
3838

3939
def run(self):
40-
static_subdir = self.options.get("static-subdir")
40+
static_subdir = self.options.get("static-subdir", "images/sketchviz")
4141
confdir = find_confdir()
4242
conf = read_conf(confdir)
4343
html_static_path = getattr(conf, "html_static_path", [])

learning-path/cloud-devops.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ experto en este campo en constante evolución. ¡Explora, aprende y conviértete
2828
un Pythonista líder en Cloud y DevOps!
2929

3030
```{sketchviz}
31-
---
32-
static-subdir: images/sketchviz
33-
---
3431
digraph G {
3532
graph [fontname="Handlee"];
3633
node [fontname="Handlee"];

learning-path/data-science.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ emocionante campo. ¡Explora, aprende y conviértete en un maestro en la Ciencia
2626
de Datos con Python!
2727

2828
```{sketchviz}
29-
---
30-
static-subdir: images/sketchviz
31-
---
3229
digraph G {
3330
graph [fontname="Handlee"];
3431
node [fontname="Handlee"];

learning-path/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ aprendizaje:
1717

1818

1919
```{sketchviz}
20-
---
21-
static-subdir: images/sketchviz
22-
---
2320
digraph G {
2421
graph [fontname="Handlee"];
2522
node [fontname="Handlee"];

learning-path/machine-learning-ai.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ aprende y conviértete en un Pythonista líder en Machine Learning e Inteligenci
2828
Artificial!
2929

3030
```{sketchviz}
31-
---
32-
static-subdir: images/sketchviz
33-
---
3431
digraph G {
3532
graph [fontname="Handlee"];
3633
node [fontname="Handlee"];

learning-path/python-developer.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ versátil en tu campo. ¡Explora y aprende para crecer como desarrollador de
2525
Python!
2626

2727
```{sketchviz}
28-
---
29-
static-subdir: images/sketchviz
30-
---
3128
digraph G {
3229
graph [fontname="Handlee"];
3330
node [fontname="Handlee"];

learning-path/web-developer.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ aún más competente y exitoso en el mundo del desarrollo web. ¡Explora, aprend
2626
lleva tus habilidades a nuevos horizontes!
2727

2828
```{sketchviz}
29-
---
30-
static-subdir: images/sketchviz
31-
---
3229
digraph G {
3330
graph [fontname="Handlee"];
3431
node [fontname="Handlee"];

0 commit comments

Comments
 (0)