mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Fix event name typo in diagram
This commit is contained in:
@@ -7,7 +7,6 @@ import re
|
||||
|
||||
from graphviz import Digraph
|
||||
|
||||
|
||||
g = Digraph("MkDocs", format="svg")
|
||||
g.attr(compound="true", bgcolor="transparent")
|
||||
g.graph_attr.update(fontname="inherit", tooltip=" ")
|
||||
@@ -103,12 +102,12 @@ edge(g, "on_files:files", "on_nav:files")
|
||||
|
||||
with cluster(g, "cluster_populate_page") as c:
|
||||
event(c, "on_pre_page", "page config files")
|
||||
event(c, "on_read_source", "page config")
|
||||
event(c, "on_page_read_source", "page config")
|
||||
event(c, "on_page_markdown", "markdown page config files")
|
||||
event(c, "on_page_content", "html page config files")
|
||||
|
||||
edge(c, "on_pre_page:page", "on_read_source:page", style="dashed")
|
||||
edge(c, "cluster_on_read_source", "on_page_markdown:markdown", style="dashed")
|
||||
edge(c, "on_pre_page:page", "on_page_read_source:page", style="dashed")
|
||||
edge(c, "cluster_on_page_read_source", "on_page_markdown:markdown", style="dashed")
|
||||
edge(c, "on_page_markdown:markdown", "render_p", style="dashed")
|
||||
edge(c, "render_p", "on_page_content:html", style="dashed")
|
||||
|
||||
|
||||
56
docs/img/plugin-events.svg
generated
56
docs/img/plugin-events.svg
generated
@@ -48,16 +48,16 @@
|
||||
<g id="clust6" class="cluster">
|
||||
<title>cluster_on_pre_page</title>
|
||||
<g id="a_clust6"><a xlink:href="#on_pre_page" xlink:title=" ">
|
||||
<polygon fill="#ffff33" fill-opacity="0.533333" stroke="#000000" stroke-opacity="0.533333" points="58.17,-994.6 58.17,-1070.6 222.17,-1070.6 222.17,-994.6 58.17,-994.6"/>
|
||||
<text text-anchor="middle" x="140.17" y="-1055.4" font-family="inherit" font-size="14.00">on_pre_page</text>
|
||||
<polygon fill="#ffff33" fill-opacity="0.533333" stroke="#000000" stroke-opacity="0.533333" points="40.17,-994.6 40.17,-1070.6 204.17,-1070.6 204.17,-994.6 40.17,-994.6"/>
|
||||
<text text-anchor="middle" x="122.17" y="-1055.4" font-family="inherit" font-size="14.00">on_pre_page</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<g id="clust7" class="cluster">
|
||||
<title>cluster_on_read_source</title>
|
||||
<g id="a_clust7"><a xlink:href="#on_read_source" xlink:title=" ">
|
||||
<polygon fill="#ffff33" fill-opacity="0.533333" stroke="#000000" stroke-opacity="0.533333" points="23.17,-910.6 23.17,-986.6 143.17,-986.6 143.17,-910.6 23.17,-910.6"/>
|
||||
<text text-anchor="middle" x="83.17" y="-971.4" font-family="inherit" font-size="14.00">on_read_source</text>
|
||||
<title>cluster_on_page_read_source</title>
|
||||
<g id="a_clust7"><a xlink:href="#on_page_read_source" xlink:title=" ">
|
||||
<polygon fill="#ffff33" fill-opacity="0.533333" stroke="#000000" stroke-opacity="0.533333" points="23.17,-910.6 23.17,-986.6 178.17,-986.6 178.17,-910.6 23.17,-910.6"/>
|
||||
<text text-anchor="middle" x="100.67" y="-971.4" font-family="inherit" font-size="14.00">on_page_read_source</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -338,32 +338,32 @@
|
||||
<g id="node8" class="node">
|
||||
<title>on_pre_page</title>
|
||||
<g id="a_node8"><a xlink:title=" ">
|
||||
<polygon fill="#ffffff" fill-opacity="0.333333" stroke="#000000" stroke-opacity="0.600000" points="66.67,-1003.1 66.67,-1039.1 213.67,-1039.1 213.67,-1003.1 66.67,-1003.1"/>
|
||||
<text text-anchor="middle" x="90.67" y="-1017.4" font-family="inherit" font-size="14.00">page</text>
|
||||
<polyline fill="none" stroke="#000000" stroke-opacity="0.600000" points="114.67,-1003.1 114.67,-1039.1 "/>
|
||||
<text text-anchor="middle" x="142.67" y="-1017.4" font-family="inherit" font-size="14.00">config</text>
|
||||
<polyline fill="none" stroke="#000000" stroke-opacity="0.600000" points="170.67,-1003.1 170.67,-1039.1 "/>
|
||||
<text text-anchor="middle" x="192.17" y="-1017.4" font-family="inherit" font-size="14.00">files</text>
|
||||
<polygon fill="#ffffff" fill-opacity="0.333333" stroke="#000000" stroke-opacity="0.600000" points="48.67,-1003.1 48.67,-1039.1 195.67,-1039.1 195.67,-1003.1 48.67,-1003.1"/>
|
||||
<text text-anchor="middle" x="72.67" y="-1017.4" font-family="inherit" font-size="14.00">page</text>
|
||||
<polyline fill="none" stroke="#000000" stroke-opacity="0.600000" points="96.67,-1003.1 96.67,-1039.1 "/>
|
||||
<text text-anchor="middle" x="124.67" y="-1017.4" font-family="inherit" font-size="14.00">config</text>
|
||||
<polyline fill="none" stroke="#000000" stroke-opacity="0.600000" points="152.67,-1003.1 152.67,-1039.1 "/>
|
||||
<text text-anchor="middle" x="174.17" y="-1017.4" font-family="inherit" font-size="14.00">files</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- on_read_source -->
|
||||
<!-- on_page_read_source -->
|
||||
<g id="node9" class="node">
|
||||
<title>on_read_source</title>
|
||||
<title>on_page_read_source</title>
|
||||
<g id="a_node9"><a xlink:title=" ">
|
||||
<polygon fill="#ffffff" fill-opacity="0.333333" stroke="#000000" stroke-opacity="0.600000" points="31.17,-919.1 31.17,-955.1 135.17,-955.1 135.17,-919.1 31.17,-919.1"/>
|
||||
<text text-anchor="middle" x="55.17" y="-933.4" font-family="inherit" font-size="14.00">page</text>
|
||||
<polyline fill="none" stroke="#000000" stroke-opacity="0.600000" points="79.17,-919.1 79.17,-955.1 "/>
|
||||
<text text-anchor="middle" x="107.17" y="-933.4" font-family="inherit" font-size="14.00">config</text>
|
||||
<polygon fill="#ffffff" fill-opacity="0.333333" stroke="#000000" stroke-opacity="0.600000" points="48.17,-919.1 48.17,-955.1 152.17,-955.1 152.17,-919.1 48.17,-919.1"/>
|
||||
<text text-anchor="middle" x="72.17" y="-933.4" font-family="inherit" font-size="14.00">page</text>
|
||||
<polyline fill="none" stroke="#000000" stroke-opacity="0.600000" points="96.17,-919.1 96.17,-955.1 "/>
|
||||
<text text-anchor="middle" x="124.17" y="-933.4" font-family="inherit" font-size="14.00">config</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- on_pre_page->on_read_source -->
|
||||
<!-- on_pre_page->on_page_read_source -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>on_pre_page:s->on_read_source:n</title>
|
||||
<title>on_pre_page:s->on_page_read_source:n</title>
|
||||
<g id="a_edge8"><a xlink:title=" ">
|
||||
<path fill="none" stroke="black" stroke-width="1.5" stroke-dasharray="5,2" d="M90.17,-1002.1C90.17,-980.42 65.25,-980.87 57.47,-966.1"/>
|
||||
<polygon fill="black" stroke="black" stroke-width="1.5" points="60.82,-965.06 55.17,-956.1 54,-966.63 60.82,-965.06"/>
|
||||
<path fill="none" stroke="black" stroke-width="1.5" stroke-dasharray="5,2" d="M72.17,-1002.1C72.17,-985.49 72.17,-979 72.17,-966.18"/>
|
||||
<polygon fill="black" stroke="black" stroke-width="1.5" points="75.67,-966.1 72.17,-956.1 68.67,-966.1 75.67,-966.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -382,12 +382,12 @@
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- on_read_source->on_page_markdown -->
|
||||
<!-- on_page_read_source->on_page_markdown -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>on_read_source:s->on_page_markdown:n</title>
|
||||
<title>on_page_read_source:s->on_page_markdown:n</title>
|
||||
<g id="a_edge9"><a xlink:title=" ">
|
||||
<path fill="none" stroke="black" stroke-width="1.5" stroke-dasharray="5,2" d="M82.65,-910.6C80.93,-898.95 75.47,-893.12 73.18,-882.35"/>
|
||||
<polygon fill="black" stroke="black" stroke-width="1.5" points="76.64,-881.71 72.17,-872.1 69.67,-882.4 76.64,-881.71"/>
|
||||
<path fill="none" stroke="black" stroke-width="1.5" stroke-dasharray="5,2" d="M99.09,-910.6C94.89,-897.29 79.69,-894.12 74.18,-882.02"/>
|
||||
<polygon fill="black" stroke="black" stroke-width="1.5" points="77.59,-881.2 72.17,-872.1 70.73,-882.6 77.59,-881.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -459,8 +459,8 @@
|
||||
<g id="edge13" class="edge">
|
||||
<title>pages_point_a->on_pre_page:n</title>
|
||||
<g id="a_edge13"><a xlink:title=" ">
|
||||
<path fill="none" stroke="black" stroke-width="1.5" stroke-dasharray="5,2" d="M295.38,-1110.2C276.65,-1108.11 116.72,-1089.17 93.08,-1049.93"/>
|
||||
<polygon fill="black" stroke="black" stroke-width="1.5" points="96.37,-1048.69 90.17,-1040.1 89.66,-1050.68 96.37,-1048.69"/>
|
||||
<path fill="none" stroke="black" stroke-width="1.5" stroke-dasharray="5,2" d="M295.73,-1110.28C277.88,-1108.76 99.25,-1092.49 74.91,-1049.9"/>
|
||||
<polygon fill="black" stroke="black" stroke-width="1.5" points="78.23,-1048.79 72.17,-1040.1 71.49,-1050.67 78.23,-1048.79"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Reference in New Issue
Block a user