Skip to content

Commit

Permalink
Updated yaml publish
Browse files Browse the repository at this point in the history
  • Loading branch information
1ForeverHD committed Apr 5, 2024
1 parent e54dcd5 commit e194fba
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 15 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/PublishWally.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Publish package to Wally

on:
release:
types: [published]
push:
branches: # Act on main branch commit
- main

jobs:
publish:
Expand Down
14 changes: 9 additions & 5 deletions site/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1678,19 +1678,23 @@ <h4 id="destroy">destroy<a class="headerlink" href="#destroy" title="Permanent l
<hr />
<h2 id="events">Events<a class="headerlink" href="#events" title="Permanent link">&para;</a></h2>
<h4 id="selected">selected<a class="headerlink" href="#selected" title="Permanent link">&para;</a></h4>
<div class="highlight"><pre><span></span><code><span class="n">icon</span><span class="p">.</span><span class="n">selected</span><span class="p">:</span><span class="n">Connect</span><span class="p">(</span><span class="kr">function</span><span class="p">()</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;The icon was selected&quot;</span><span class="p">)</span>
<div class="highlight"><pre><span></span><code><span class="n">icon</span><span class="p">.</span><span class="n">selected</span><span class="p">:</span><span class="n">Connect</span><span class="p">(</span><span class="kr">function</span><span class="p">(</span><span class="n">fromSource</span><span class="p">)</span>
<span class="c1">-- fromSource can be useful for checking if the behaviour was triggered by a user (such as clicking)</span>
<span class="c1">-- fromSource values include &quot;User&quot;, &quot;OneClick&quot;, &quot;AutoDeselect&quot;, &quot;HideParentFeature&quot;, &quot;Overflow&quot;</span>
<span class="kd">local</span> <span class="n">sourceName</span> <span class="o">=</span> <span class="n">fromSource</span> <span class="ow">or</span> <span class="s2">&quot;Unknown&quot;</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;The icon was selected by the &quot;</span><span class="o">..</span><span class="n">sourceName</span><span class="p">)</span>
<span class="kr">end</span><span class="p">)</span>
</code></pre></div>
<hr />
<h4 id="deselected">deselected<a class="headerlink" href="#deselected" title="Permanent link">&para;</a></h4>
<div class="highlight"><pre><span></span><code><span class="n">icon</span><span class="p">.</span><span class="n">deselected</span><span class="p">:</span><span class="n">Connect</span><span class="p">(</span><span class="kr">function</span><span class="p">()</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;The icon was deselected&quot;</span><span class="p">)</span>
<div class="highlight"><pre><span></span><code><span class="n">icon</span><span class="p">.</span><span class="n">deselected</span><span class="p">:</span><span class="n">Connect</span><span class="p">(</span><span class="kr">function</span><span class="p">(</span><span class="n">fromSource</span><span class="p">)</span>
<span class="kd">local</span> <span class="n">sourceName</span> <span class="o">=</span> <span class="n">fromSource</span> <span class="ow">or</span> <span class="s2">&quot;Unknown&quot;</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;The icon was deselected by the &quot;</span><span class="o">..</span><span class="n">sourceName</span><span class="p">)</span>
<span class="kr">end</span><span class="p">)</span>
</code></pre></div>
<hr />
<h4 id="toggled">toggled<a class="headerlink" href="#toggled" title="Permanent link">&para;</a></h4>
<div class="highlight"><pre><span></span><code><span class="n">icon</span><span class="p">.</span><span class="n">toggled</span><span class="p">:</span><span class="n">Connect</span><span class="p">(</span><span class="kr">function</span><span class="p">(</span><span class="n">isSelected</span><span class="p">)</span>
<div class="highlight"><pre><span></span><code><span class="n">icon</span><span class="p">.</span><span class="n">toggled</span><span class="p">:</span><span class="n">Connect</span><span class="p">(</span><span class="kr">function</span><span class="p">(</span><span class="n">isSelected</span><span class="p">,</span> <span class="n">fromSource</span><span class="p">)</span>
<span class="kd">local</span> <span class="n">stateName</span> <span class="o">=</span> <span class="p">(</span><span class="n">isSelected</span> <span class="ow">and</span> <span class="s2">&quot;selected&quot;</span><span class="p">)</span> <span class="ow">or</span> <span class="s2">&quot;deselected&quot;</span>
<span class="nb">print</span><span class="p">(</span><span class="err">`</span><span class="n">The</span> <span class="n">icon</span> <span class="n">was</span> <span class="p">{</span><span class="n">stateName</span><span class="p">}</span><span class="err">!`</span><span class="p">)</span>
<span class="kr">end</span><span class="p">)</span>
Expand Down
17 changes: 17 additions & 0 deletions site/installation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,13 @@
With Rojo
</a>

</li>

<li class="md-nav__item">
<a href="#with-wally" class="md-nav__link">
With Wally
</a>

</li>

</ul>
Expand Down Expand Up @@ -483,6 +490,13 @@
With Rojo
</a>

</li>

<li class="md-nav__item">
<a href="#with-wally" class="md-nav__link">
With Wally
</a>

</li>

</ul>
Expand Down Expand Up @@ -546,6 +560,9 @@ <h4 id="with-rojo">With Rojo<a class="headerlink" href="#with-rojo" title="Perma
<li>Modify the <code>default.project.json</code> file to your desired location (by default TopbarPlus is built directly into <code>ReplicatedStorage</code>).</li>
<li>Call <code>rojo serve</code> (terminal or VSC plugin) and connect to the rojo studio plugin.</li>
</ol>
<hr />
<h4 id="with-wally">With Wally<a class="headerlink" href="#with-wally" title="Permanent link">&para;</a></h4>
<p>TopbarPlus is now on Wally! You can find it <a href="https://wally.run/package/1foreverhd/topbarplus">here</a>.</p>



Expand Down
2 changes: 1 addition & 1 deletion site/search/search_index.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions site/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://1ForeverHD.github.io/TopbarPlus/</loc>
<lastmod>2024-03-26</lastmod>
<lastmod>2024-04-05</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://1ForeverHD.github.io/TopbarPlus/api/</loc>
<lastmod>2024-03-26</lastmod>
<lastmod>2024-04-05</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://1ForeverHD.github.io/TopbarPlus/contributing/</loc>
<lastmod>2024-03-26</lastmod>
<lastmod>2024-04-05</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://1ForeverHD.github.io/TopbarPlus/features/</loc>
<lastmod>2024-03-26</lastmod>
<lastmod>2024-04-05</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://1ForeverHD.github.io/TopbarPlus/installation/</loc>
<lastmod>2024-03-26</lastmod>
<lastmod>2024-04-05</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://1ForeverHD.github.io/TopbarPlus/resources/</loc>
<lastmod>2024-03-26</lastmod>
<lastmod>2024-04-05</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://1ForeverHD.github.io/TopbarPlus/third_parties/</loc>
<lastmod>2024-03-26</lastmod>
<lastmod>2024-04-05</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified site/sitemap.xml.gz
Binary file not shown.

0 comments on commit e194fba

Please sign in to comment.