Skip to content

Commit 5de1004

Browse files
committed
source links
1 parent 9965484 commit 5de1004

19 files changed

Lines changed: 23 additions & 19 deletions

docs/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default defineConfig({
5858
{
5959
label: 'Reference',
6060
items: [
61-
{ label: 'adapt — The Primitive', slug: 'reference/adapt' },
61+
{ label: 'Adapt', slug: 'reference/adapt' },
6262
{ label: 'Either', slug: 'reference/either' },
6363
{ label: 'Core Combinators', slug: 'reference/core' },
6464
{ label: 'Bifunctors', slug: 'reference/bifunctor' },

docs/public/bend.png

931 KB
Loading

docs/src/components/FooterLinks.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import { Icon } from '@astrojs/starlight/components';
33
---
44

55
<section class="sl-flex">
6-
<a href="/contributing" class="sl-flex">
6+
<a href="https://github.com/denful/bend/pulls" class="sl-flex">
77
<Icon name="rocket" size="1.2em" />
88
Contribute
99
</a>
1010

11-
<a href="/community" class="sl-flex">
11+
<a href="https://github.com/denful/bend/discussions" class="sl-flex">
1212
<svg
1313
xmlns="http://www.w3.org/2000/svg"
1414
width="16"
@@ -24,7 +24,7 @@ import { Icon } from '@astrojs/starlight/components';
2424
Community
2525
</a>
2626

27-
<a href="https://dendritic.oeiuwq.com/sponsor" class="sl-flex">
27+
<a href="https://denful.dev/sponsor" class="sl-flex">
2828
<Icon name="heart" size="1.2em" />
2929
Sponsor
3030
</a>
@@ -48,4 +48,4 @@ import { Icon } from '@astrojs/starlight/components';
4848
a:hover {
4949
color: var(--sl-color-white);
5050
}
51-
</style>
51+
</style>

docs/src/components/Hero.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ if (image) {
3333
---
3434

3535
<div class="hero">
36+
{isIndex && rawHtml && <div class="hero-html sl-flex" set:html={rawHtml} />}
3637
{!isIndex && darkImage && (
3738
<Image
3839
src={darkImage}

docs/src/content/docs/index.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ description: Composable, bidirectional data transformation for Nix. Every lens e
44
template: splash
55
hero:
66
tagline: Lens based data parser-combinators. Bidirectional transformation and validation pipelines for Nix.
7+
image:
8+
html: |
9+
<img src="/bend.png" style="max-width: 80%" />
710
actions:
811
- text: Get Started
912
link: /guides/lenses/

docs/src/content/docs/reference/adapt.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: The single four-argument combinator from which all Bend lenses comp
66
import { Aside } from '@astrojs/starlight/components';
77

88
<Aside title="Source" icon="github">
9-
[`github.com/denful/bend`](https://github.com/denful/bend)
9+
[`adapt.nix`](https://github.com/denful/bend/blob/main/nix/adapt.nix)
1010
</Aside>
1111

1212
## `adapt from back refine lens`

docs/src/content/docs/reference/apply.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Extract named arguments from attrsets and apply functions.
66
import { Aside } from '@astrojs/starlight/components';
77

88
<Aside title="Source" icon="github">
9-
[`github.com/denful/bend`](https://github.com/denful/bend)
9+
[`apply.nix`](https://github.com/denful/bend/blob/main/nix/apply.nix)
1010
</Aside>
1111

1212
## `apply fn`

docs/src/content/docs/reference/attributes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Focus on object keys and nested paths.
66
import { Aside } from '@astrojs/starlight/components';
77

88
<Aside title="Source" icon="github">
9-
[`github.com/denful/bend`](https://github.com/denful/bend)
9+
[`attr.nix`](https://github.com/denful/bend/blob/main/nix/attr.nix), [`extras.nix`](https://github.com/denful/bend/blob/main/nix/extras.nix)
1010
</Aside>
1111

1212
## `attr "k"`

docs/src/content/docs/reference/bifunctor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Map both success and failure branches of a lens result.
66
import { Aside } from '@astrojs/starlight/components';
77

88
<Aside title="Source" icon="github">
9-
[`github.com/denful/bend`](https://github.com/denful/bend)
9+
[`transform.nix`](https://github.com/denful/bend/blob/main/nix/transform.nix)
1010
</Aside>
1111

1212
## `bimap fL fR lens`

docs/src/content/docs/reference/collections.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Work with multiple elements and complex structures — attrsets, pa
66
import { Aside } from '@astrojs/starlight/components';
77

88
<Aside title="Source" icon="github">
9-
[`github.com/denful/bend`](https://github.com/denful/bend)
9+
[`extras.nix`](https://github.com/denful/bend/blob/main/nix/extras.nix), [`sequence.nix`](https://github.com/denful/bend/blob/main/nix/sequence.nix)
1010
</Aside>
1111

1212
## `eachValue lens`

0 commit comments

Comments
 (0)