Skip to content

Commit

Permalink
Update documentation [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pardeike-bot committed Sep 15, 2023
1 parent 7306263 commit 77d37be
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<article class="content wrap" id="_content" data-uid="">
<h1 id="patching">Patching</h1>

<h2 id="auxilary-patch-methods">Auxilary patch methods</h2>
<h2 id="auxiliary-patch-methods">Auxiliary patch methods</h2>
<p>If you use manual patching, you are in full control of your state and the execution and handling of extra resources and logic. For annotation patching, Harmony offers you a number of methods you can implement on a patch class that allow you to execute code before and after patching on that class as well as methods that combine annotations with manually defining which methods that should be patched.</p>
<p>Each of those methods can take up to three optional arguments that are injected by type so you can call them anything you like:</p>
<ul>
Expand All @@ -81,7 +81,7 @@ <h2 id="auxilary-patch-methods">Auxilary patch methods</h2>
<pre><code class="lang-csharp" name="example">[HarmonyPatch] // at least one Harmony annotation makes Harmony not skip this patch class when calling PatchAll()
class MyPatch
{
// here, inside the patch class, you can place the auxilary patch methods
// here, inside the patch class, you can place the auxiliary patch methods
// for example TargetMethod:

public static MethodBase TargetMethod()
Expand Down Expand Up @@ -158,7 +158,7 @@ <h3 id="cleanup">Cleanup</h3>
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/pardeike/Harmony/blob/master/Harmony/Documentation/articles/patching-auxilary.md/#L1" class="contribution-link">Improve this Doc</a>
<a href="https://github.com/pardeike/Harmony/blob/master/Harmony/Documentation/articles/patching-auxiliary.md/#L1" class="contribution-link">Improve this Doc</a>
</li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<a href="reverse-patching.html" name="" title="Reverse Patch">Reverse Patch</a>
</li>
<li>
<a href="patching-auxilary.html" name="" title="Auxilary methods">Auxilary methods</a>
<a href="patching-auxiliary.html" name="" title="Auxiliary methods">Auxiliary methods</a>
</li>
<li>
<a href="patching-edgecases.html" name="" title="Edge Cases">Edge Cases</a>
Expand Down
8 changes: 4 additions & 4 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -845,11 +845,11 @@
},
{
"type": "Conceptual",
"source_relative_path": "articles/patching-auxilary.md",
"source_relative_path": "articles/patching-auxiliary.md",
"output": {
".html": {
"relative_path": "articles/patching-auxilary.html",
"hash": "IkXRuKgA9NqU9Mp6eE61AHsONLiO0nPvT+T79s+dvN8="
"relative_path": "articles/patching-auxiliary.html",
"hash": "K5sWXSOyqzl3aJjAlEh/PFRGsPXbqhb47iGwcT+hL/s="
}
},
"is_incremental": false,
Expand Down Expand Up @@ -981,7 +981,7 @@
"output": {
".html": {
"relative_path": "articles/toc.html",
"hash": "Gq34/p24IPk7O/RrEC7NPvkj+gq9HtjpePpRVi0b+es="
"hash": "fS3ejo0KLMrH2nOzhyFzuzvqW0RyV5NnFQmgIisnygc="
}
},
"is_incremental": false,
Expand Down

0 comments on commit 77d37be

Please sign in to comment.