!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

414 Members
Discussion about documentation improvements around the Nix ecosystem83 Servers

Load older messages


SenderMessageTime
14 Aug 2023
@mightyiam:matrix.org@mightyiam:matrix.orgI've been asked to implement this, yes.15:29:03
@osslate:fsfe.orgosslateAha!15:29:11
@yukiisbored:matrix.orgYuki Langley (they/them)

also just in case, You do directives in MyST like this:

\`\`\`{nix-repl}
\`\`\`
15:29:51
@yukiisbored:matrix.orgYuki Langley (they/them) *

also just in case, You do directives in MyST like this:

```{nix-repl}
15:30:00
@yukiisbored:matrix.orgYuki Langley (they/them) *

also just in case, You do directives in MyST like this:

```{nix-repl}
```
15:30:08
@yukiisbored:matrix.orgYuki Langley (they/them)https://myst-parser.readthedocs.io/en/v0.17.1/syntax/reference.html#extended-block-tokens15:30:11
@yukiisbored:matrix.orgYuki Langley (they/them)

If you just do the following:

```nix-repl
```

MyST might parse it as you wanna do a code-block directive^^]

15:30:33
@yukiisbored:matrix.orgYuki Langley (they/them) *

If you just do the following:

```nix-repl
```

MyST might parse it as you wanna do a code-block directive^^

15:30:37
@yukiisbored:matrix.orgYuki Langley (they/them) *

If you just do the following:

```nix-repl
```

MyST might parse it as you wanna do a code-block directive (and therefore Pygments will complain that nix-repl doesn't exist)^^

15:31:06
@yukiisbored:matrix.orgYuki Langley (they/them) *

also just in case, You do directives in MyST like this:

```{nix-repl}
nix-repl> 1 == 1
true
```
15:32:18
@yukiisbored:matrix.orgYuki Langley (they/them) *

If you just do the following:

```nix-repl
nix-repl> 1 == 1
true
```

MyST might parse it as you wanna do a code-block directive (and therefore Pygments will complain that nix-repl doesn't exist)^^

15:32:24
@yukiisbored:matrix.orgYuki Langley (they/them) *

also just in case this is a syntax issue, you do directives in MyST like this:

```{nix-repl}
nix-repl> 1 == 1
true
```
15:32:42
@yukiisbored:matrix.orgYuki Langley (they/them) *

also just in case this is a syntax issue in your MyST/Markdown file, you do directives in MyST like this:

```{nix-repl}
nix-repl> 1 == 1
true
```
15:32:55
@mightyiam:matrix.org@mightyiam:matrix.orgI can't have pygments complaining. We turn warnings into errors.15:33:37
@yukiisbored:matrix.orgYuki Langley (they/them)It's still complaining?15:34:01
@yukiisbored:matrix.orgYuki Langley (they/them)Is there a github repo/branch so I can take a look at the entire code?15:35:14
@mightyiam:matrix.org@mightyiam:matrix.orghttps://github.com/mightyiam/nix.dev/tree/mob/doctest15:37:49
@yukiisbored:matrix.orgYuki Langley (they/them)
In reply to @mightyiam:matrix.org
https://github.com/mightyiam/nix.dev/tree/mob/doctest
You need to but nix-repl in between brackets {} so MyST knows that it is a directive not a code-block: https://github.com/mightyiam/nix.dev/commit/575fafaa0137719732c042b8fe9fd583e51637eb#diff-e07c1c53347d65c8d474c94912ab24825952ee9b2cab073d8699afdfc6464934R121-R135
15:40:05
@yukiisbored:matrix.orgYuki Langley (they/them)
In reply to @yukiisbored:matrix.org

also just in case this is a syntax issue in your MyST/Markdown file, you do directives in MyST like this:

```{nix-repl}
nix-repl> 1 == 1
true
```
llike this
15:40:21
@yukiisbored:matrix.orgYuki Langley (they/them)
In reply to @yukiisbored:matrix.org

also just in case this is a syntax issue in your MyST/Markdown file, you do directives in MyST like this:

```{nix-repl}
nix-repl> 1 == 1
true
```
* like this
15:40:25
@yukiisbored:matrix.orgYuki Langley (they/them)Here's a more in-depth documentation on the directive syntax with MyST: https://myst-parser.readthedocs.io/en/v0.17.1/syntax/syntax.html#directives-a-block-level-extension-point15:43:26
@mightyiam:matrix.org@mightyiam:matrix.org We figured it out! proofconstruction was helpful despite my puns. 16:11:24
@mightyiam:matrix.org@mightyiam:matrix.orgAnd with that, the nix-repl doctester is ready for review. https://github.com/NixOS/nix.dev/pull/67216:12:27
15 Aug 2023
@10leej:matrix.org@10leej:matrix.org left the room.19:34:31
16 Aug 2023
@ninjatrappeur:alternativebit.fr@ninjatrappeur:alternativebit.fr changed their display name from NinjaTrappeur to NinjaTrappeur .: DECT 8711.19:55:24
17 Aug 2023
@infinisil:matrix.orginfinisilWould appreciate a review for https://github.com/NixOS/nixpkgs/pull/24822011:02:20
@roberthensing:matrix.orgroberthI can only join the learning journey meeting today12:14:43
@asymmetric:matrix.dapp.org.ukasymmetrici'll be largely absent from meetings until sept, see you then!13:34:17
18 Aug 2023
@asymmetric:matrix.dapp.org.ukasymmetricdidn't we use to have a bot that commented on PRs with a url to ta preview version of nix.dev? 13:15:41
@asymmetric:matrix.dapp.org.ukasymmetricdidn't happen here: https://github.com/NixOS/nix.dev/pull/67913:16:14

Show newer messages


Back to Room ListRoom Version: 6