<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sally/templates/index.html, branch grumps-build</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: 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>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>
<entry>
<title>template: Use a more fluid layout (#67)</title>
<updated>2023-01-23T17:41:20+00:00</updated>
<author>
<name>Abhinav Gupta</name>
<email>mail@abhinavg.net</email>
</author>
<published>2023-01-23T17:41:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=cb4081162b75508710f625b5b8dac0c48c813355'/>
<id>cb4081162b75508710f625b5b8dac0c48c813355</id>
<content type='text'>
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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>badge: Use pkg.go.dev badge (#55)</title>
<updated>2022-05-17T16:50:19+00:00</updated>
<author>
<name>Abhinav Gupta</name>
<email>abg@uber.com</email>
</author>
<published>2022-05-17T16:50:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=d0e640828cf8e97c64266cfbea03e6c8145f15b2'/>
<id>d0e640828cf8e97c64266cfbea03e6c8145f15b2</id>
<content type='text'>
When we originally switched to pkg.go.dev (#40),
it did not offer documentation badges so we relied on a third-party
service.

That's no longer true (https://pkg.go.dev/badge) so we can use
pkg.go.dev's more "on-brand" badges for this.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we originally switched to pkg.go.dev (#40),
it did not offer documentation badges so we relied on a third-party
service.

That's no longer true (https://pkg.go.dev/badge) so we can use
pkg.go.dev's more "on-brand" badges for this.</pre>
</div>
</content>
</entry>
<entry>
<title>Support package-level overrides for URLs (#52)</title>
<updated>2022-01-04T00:36:17+00:00</updated>
<author>
<name>Tyler Sullivan</name>
<email>sullivtr@gmail.com</email>
</author>
<published>2022-01-04T00:36:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.ofmax.li/sally/commit/?id=8a0c579592136da8105d54081c3f69060c4dcf71'/>
<id>8a0c579592136da8105d54081c3f69060c4dcf71</id>
<content type='text'>
Sally accepts the base vanity URL (e.g. `go.uber.org`) in a top-level
`url` key. This applies to all packages listed in the configuration.

Add support for overriding the `url` on a per-package basis.
This will provide for an easier transition period when migrating Go
packages of an organization between hosts, for example from BitBucket
to GitHub.

With this, source code can be modified across the various
repositories over time to use the new vanity URL. For example, some
packages will use a URL of bitbucketurl.org and some will use
mycoolgoimportvanity.org in their source code imports.

Other than the use-case outlined above, this feature adds flexibility
to the vanity server to support more than one vanity URL when used
behind an ingress controller.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sally accepts the base vanity URL (e.g. `go.uber.org`) in a top-level
`url` key. This applies to all packages listed in the configuration.

Add support for overriding the `url` on a per-package basis.
This will provide for an easier transition period when migrating Go
packages of an organization between hosts, for example from BitBucket
to GitHub.

With this, source code can be modified across the various
repositories over time to use the new vanity URL. For example, some
packages will use a URL of bitbucketurl.org and some will use
mycoolgoimportvanity.org in their source code imports.

Other than the use-case outlined above, this feature adds flexibility
to the vanity server to support more than one vanity URL when used
behind an ingress controller.</pre>
</div>
</content>
</entry>
</feed>
