Skip to content

Commit

Permalink
update to 2.7.0 (#3)
Browse files Browse the repository at this point in the history
* update docs to 2.7.0

* add Online Redirection

* add archive file

* remove unused code
  • Loading branch information
godbout authored Sep 10, 2020
1 parent 6cc72c5 commit 338b595
Show file tree
Hide file tree
Showing 33 changed files with 589 additions and 269 deletions.
6 changes: 6 additions & 0 deletions app/Docsets/Alpinejs.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public function format(string $file): string

$this->removeCrossOriginAndIntegrity($crawler);

$this->insertOnlineRedirection($crawler);
$this->insertDashTableOfContents($crawler);

return $crawler->saveHTML();
Expand Down Expand Up @@ -179,6 +180,11 @@ protected function removeCrossOriginAndIntegrity(HtmlPageCrawler $crawler)
->removeAttribute('crossorigin');
}

protected function insertOnlineRedirection(HtmlPageCrawler $crawler)
{
$crawler->filter('html')->prepend("<!-- Online page at https://github.com/alpinejs/alpine -->");
}

protected function insertDashTableOfContents(HtmlPageCrawler $crawler)
{
$crawler->filter('head')
Expand Down
Binary file modified storage/alpinejs/alpinejs.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="80" height="20" role="img" aria-label="npm: v2.5.0"><title>npm: v2.5.0</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="80" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="35" height="20" fill="#555"/><rect x="35" width="45" height="20" fill="#007ec6"/><rect width="80" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="185" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="250">npm</text><text x="185" y="140" transform="scale(.1)" fill="#fff" textLength="250">npm</text><text aria-hidden="true" x="565" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="350">v2.5.0</text><text x="565" y="140" transform="scale(.1)" fill="#fff" textLength="350">v2.5.0</text></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="80" height="20" role="img" aria-label="npm: v2.7.0"><title>npm: v2.7.0</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="80" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="35" height="20" fill="#555"/><rect x="35" width="45" height="20" fill="#007ec6"/><rect width="80" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="185" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="250">npm</text><text x="185" y="140" transform="scale(.1)" fill="#fff" textLength="250">npm</text><text aria-hidden="true" x="565" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="350">v2.7.0</text><text x="565" y="140" transform="scale(.1)" fill="#fff" textLength="350">v2.7.0</text></g></svg>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="144" height="20" role="img" aria-label="minzipped size: 8.01 kB"><title>minzipped size: 8.01 kB</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="144" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="91" height="20" fill="#555"/><rect x="91" width="53" height="20" fill="#007ec6"/><rect width="144" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="465" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="810">minzipped size</text><text x="465" y="140" transform="scale(.1)" fill="#fff" textLength="810">minzipped size</text><text aria-hidden="true" x="1165" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="430">8.01 kB</text><text x="1165" y="140" transform="scale(.1)" fill="#fff" textLength="430">8.01 kB</text></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="144" height="20" role="img" aria-label="minzipped size: 8.16 kB"><title>minzipped size: 8.16 kB</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="144" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="91" height="20" fill="#555"/><rect x="91" width="53" height="20" fill="#007ec6"/><rect width="144" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="465" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="810">minzipped size</text><text x="465" y="140" transform="scale(.1)" fill="#fff" textLength="810">minzipped size</text><text aria-hidden="true" x="1165" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="430">8.16 kB</text><text x="1165" y="140" transform="scale(.1)" fill="#fff" textLength="430">8.16 kB</text></g></svg>
Loading

0 comments on commit 338b595

Please sign in to comment.