<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sally/templates, branch CHECKPOINT</title>
<subtitle>a fork with reasonable build of uber-go/sally</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/'/>
<entry>
<title>feat: Allow packages to define custom documentation URL and badge (#147)</title>
<updated>2024-05-21T18:09:28+00:00</updated>
<author>
<name>Maria</name>
<email>m5ka+github@posteo.de</email>
</author>
<published>2024-05-21T18:09:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=d9a9a9071d16c779a390d94666f736e1e96c48dc'/>
<id>d9a9a9071d16c779a390d94666f736e1e96c48dc</id>
<content type='text'>
feat: Allow packages to define custom doc URL and badge

Co-authored-by: Jacob Oaks &lt;jacoboaks.8@gmail.com&gt;
Co-authored-by: r-hang &lt;rhang@uber.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
feat: Allow packages to define custom doc URL and badge

Co-authored-by: Jacob Oaks &lt;jacoboaks.8@gmail.com&gt;
Co-authored-by: r-hang &lt;rhang@uber.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Support dark mode theme (#142)</title>
<updated>2024-03-12T18:02:02+00:00</updated>
<author>
<name>Chongyi Zheng</name>
<email>git@zcy.dev</email>
</author>
<published>2024-03-12T18:02:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=d7c76afa342c98220281bdadb7fcf2598e48624b'/>
<id>d7c76afa342c98220281bdadb7fcf2598e48624b</id>
<content type='text'>
* Support dark mode theme

* Add dark mode to 404 and package pages

* Fix tests</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Support dark mode theme

* Add dark mode to 404 and package pages

* Fix tests</pre>
</div>
</content>
</entry>
<entry>
<title>feat: support for custom templates (#129)</title>
<updated>2023-11-10T13:23:27+00:00</updated>
<author>
<name>Henrique Dias</name>
<email>hacdias@gmail.com</email>
</author>
<published>2023-11-10T13:23:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=bcddd3bbbea1a64a3fa9d71254f143246116b5b3'/>
<id>bcddd3bbbea1a64a3fa9d71254f143246116b5b3</id>
<content type='text'>
Adds a `-templates` flag that can be used to provide
an alternative directory with templates for Sally to use.
The new templates override the default set embedded in Sally.

This includes a new 404 template so that 404 errors
use the same theme as the rest of the website.

Additionally, for HTTP status &gt;400,
this also sets the Cache-Control header
to discourage CDNs like Cloudflare from caching the page.

Resolves #125, #18 </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds a `-templates` flag that can be used to provide
an alternative directory with templates for Sally to use.
The new templates override the default set embedded in Sally.

This includes a new 404 template so that 404 errors
use the same theme as the rest of the website.

Additionally, for HTTP status &gt;400,
this also sets the Cache-Control header
to discourage CDNs like Cloudflare from caching the page.

Resolves #125, #18 </pre>
</div>
</content>
</entry>
<entry>
<title>feat: add support for other vcs systems (#128)</title>
<updated>2023-11-07T19:45:45+00:00</updated>
<author>
<name>Henrique Dias</name>
<email>hacdias@gmail.com</email>
</author>
<published>2023-11-07T19:45:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=550450a3b1e07a70a506d872137ea43774d2c5e0'/>
<id>550450a3b1e07a70a506d872137ea43774d2c5e0</id>
<content type='text'>
Adds support to other VCS systems as per the specification.
Defaults to `git` for backwards compatibility.
Renames the internally used `.GitURL` to `.RepoURL` for clarity.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds support to other VCS systems as per the specification.
Defaults to `git` for backwards compatibility.
Renames the internally used `.GitURL` to `.RepoURL` for clarity.</pre>
</div>
</content>
</entry>
<entry>
<title>fix: documentation URL in index page (#126)</title>
<updated>2023-11-07T19:45:03+00:00</updated>
<author>
<name>Henrique Dias</name>
<email>hacdias@gmail.com</email>
</author>
<published>2023-11-07T19:45:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=35e7777d1a11bff5e192aaae3145685a6a2aec60'/>
<id>35e7777d1a11bff5e192aaae3145685a6a2aec60</id>
<content type='text'>
Fixes the documentation URL in the homepage, as it already includes the protocol:

https://github.com/uber-go/sally/blob/686fb8782cfa89a807ecc6dcbc104c6dab43eb66/handler.go#L45

Right now, we're rendering "https://https://[...]".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes the documentation URL in the homepage, as it already includes the protocol:

https://github.com/uber-go/sally/blob/686fb8782cfa89a807ecc6dcbc104c6dab43eb66/handler.go#L45

Right now, we're rendering "https://https://[...]".</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for sub-indexes (#120)</title>
<updated>2023-10-18T22:18:40+00:00</updated>
<author>
<name>Abhinav Gupta</name>
<email>mail@abhinavg.net</email>
</author>
<published>2023-10-18T22:18:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=5fbb57ed966154dc29730e0ce62824e1b577d8cb'/>
<id>5fbb57ed966154dc29730e0ce62824e1b577d8cb</id>
<content type='text'>
&lt;details&gt;
&lt;summary&gt;Background&lt;/summary&gt;

Sally renders two kinds of pages:

- packages: These are for packages defined in sally.yaml
  and any route under the package path.
- indexes: These list available packages.

The latter--indexes was previously only supported at '/', the root page.

This leads to a slight UX issue:
if you have a package with a / in its name (e.g. net/metrics):

- example.com/net/metrics gives you the package page
- example.com/ lists net/metrics
- However, example.com/net fails with a 404

&lt;/details&gt;

This adds support for index pages on all parents of package pages.
Therefore, if example.com/net/metrics exists,
example.com/net will list all packages defined under that path.

Resolves #31
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&lt;details&gt;
&lt;summary&gt;Background&lt;/summary&gt;

Sally renders two kinds of pages:

- packages: These are for packages defined in sally.yaml
  and any route under the package path.
- indexes: These list available packages.

The latter--indexes was previously only supported at '/', the root page.

This leads to a slight UX issue:
if you have a package with a / in its name (e.g. net/metrics):

- example.com/net/metrics gives you the package page
- example.com/ lists net/metrics
- However, example.com/net fails with a 404

&lt;/details&gt;

This adds support for index pages on all parents of package pages.
Therefore, if example.com/net/metrics exists,
example.com/net will list all packages defined under that path.

Resolves #31
</pre>
</div>
</content>
</entry>
<entry>
<title>Removing redundant go-source tag (#92)</title>
<updated>2023-05-08T04:54:08+00:00</updated>
<author>
<name>Anurag Bandyopadhyay</name>
<email>angbpy@gmail.com</email>
</author>
<published>2023-05-08T04:54:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=eda20020c3391cf0a9aed04af1c349afbac66f90'/>
<id>eda20020c3391cf0a9aed04af1c349afbac66f90</id>
<content type='text'>
* update: removing redundant go-source tag

* fix: removing /.idea and adding dir to gitignore

* fix: removing /.idea and removing branch field from from templateData

* fix: pkgHndler defaultBranch rem revert

* fix: minor typo

* fix: removing assertion of template responses

* fix: tabs

* Update handler_test.go

* Update handler_test.go

* Update handler_test.go

---------

Co-authored-by: Anuragkillswitch &lt;70265851+Anuragkillswitch@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* update: removing redundant go-source tag

* fix: removing /.idea and adding dir to gitignore

* fix: removing /.idea and removing branch field from from templateData

* fix: pkgHndler defaultBranch rem revert

* fix: minor typo

* fix: removing assertion of template responses

* fix: tabs

* Update handler_test.go

* Update handler_test.go

* Update handler_test.go

---------

Co-authored-by: Anuragkillswitch &lt;70265851+Anuragkillswitch@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>ci: gofmt, golint =&gt; revive, update tools and actions (#87)</title>
<updated>2023-04-29T18:48:57+00:00</updated>
<author>
<name>Abhinav Gupta</name>
<email>mail@abhinavg.net</email>
</author>
<published>2023-04-29T18:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=83efe3481a5c001ae37116e8a5b0240552fa6c04'/>
<id>83efe3481a5c001ae37116e8a5b0240552fa6c04</id>
<content type='text'>
Fixes up the `make lint` target to also check
that all files are properly gofmt-ed,
replaces the deprecated `golint` check with `revive`,
and sets up dependabot to also update tools and actions regularly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes up the `make lint` target to also check
that all files are properly gofmt-ed,
replaces the deprecated `golint` check with `revive`,
and sets up dependabot to also update tools and actions regularly.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(indexHandler): Don't retain configuration (#86)</title>
<updated>2023-04-29T18:48:34+00:00</updated>
<author>
<name>Abhinav Gupta</name>
<email>mail@abhinavg.net</email>
</author>
<published>2023-04-29T18:48:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=29d8e3f3835cc7543c390a8a8f5bdfd67bcd3c2d'/>
<id>29d8e3f3835cc7543c390a8a8f5bdfd67bcd3c2d</id>
<content type='text'>
Similar to the previous patch,
this patch removes knowledge of the configuration from the index handler.
Instead, the index handler is now passed a list of packageInfo structs
each containing just the information needed to render the index page.

This also obviates the need to duplicate the logic to compute
the package import path in the index.html template.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to the previous patch,
this patch removes knowledge of the configuration from the index handler.
Instead, the index handler is now passed a list of packageInfo structs
each containing just the information needed to render the index page.

This also obviates the need to duplicate the logic to compute
the package import path in the index.html template.</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for package descriptions (#68)</title>
<updated>2023-01-23T17:53:51+00:00</updated>
<author>
<name>Abhinav Gupta</name>
<email>mail@abhinavg.net</email>
</author>
<published>2023-01-23T17:53:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=9a95dcbf6ef077808a8874beea9d8a2754e60051'/>
<id>9a95dcbf6ef077808a8874beea9d8a2754e60051</id>
<content type='text'>
* template: Use a more fluid layout

Instead of using a table, take advantage of the grid layout.
We still print a table of sorts,
but it's more fluid in appearance based on width of the screen.

On narrower screens, we'll show a listing
where each item has a description label next to it
rather than at the top.

* Add support for package descrpitions

Packages may now optionally specify a description.
If specified, this is printed below the package information,
indented one column to make it stand out.

Co-authored-by: Sung Yoon Whang &lt;sungyoonwhang@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* template: Use a more fluid layout

Instead of using a table, take advantage of the grid layout.
We still print a table of sorts,
but it's more fluid in appearance based on width of the screen.

On narrower screens, we'll show a listing
where each item has a description label next to it
rather than at the top.

* Add support for package descrpitions

Packages may now optionally specify a description.
If specified, this is printed below the package information,
indented one column to make it stand out.

Co-authored-by: Sung Yoon Whang &lt;sungyoonwhang@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
