Commit graph

297 commits

Author SHA1 Message Date
figsoda f61f084d62 zon2nix: init at 0.1.1
https://github.com/figsoda/zon2nix
2023-08-09 22:42:01 -04:00
github-actions[bot] 462b4c7567
Merge master into staging-next 2023-08-07 18:01:16 +00:00
pennae 6fca6f9d5b
Merge pull request #246996 from pennae/nrd-empty-inlines
nixos-render-docs: fix empty inlines
2023-08-07 19:25:07 +02:00
figsoda add32c92e7 nix-init: use libgit2_1_6 2023-08-07 10:20:31 -04:00
zowoq d886e44d9b statix: add meta.mainProgram 2023-08-05 13:08:04 +10:00
0x4A6F 30392d5c2f
Merge pull request #246982 from khaneliman/nixpkgs-fmt
nixpkgs-fmt: add meta.mainProgram
2023-08-03 19:54:11 +02:00
pennae 9c0803f84d nixos-render-docs: fix empty inlines
`children` only has to be not-None, not also not-[]. empty table cells
would can produce an empty inline token and cause these checks to fail,
even though the token actually is totally valid.

showed up in
https://github.com/NixOS/nixpkgs/pull/246956#discussion_r1283146120.
2023-08-03 18:36:34 +02:00
Austin Horstman c69ea1f29a
nixpkgs-fmt: add meta.mainProgram 2023-08-03 10:37:50 -05:00
Austin Horstman 9f77d92ba9
alejandra: add meta.mainProgram 2023-08-03 08:32:46 -05:00
Lorenzo Manacorda 38a927f1fb nixdoc: 2.3.0 -> 2.4.0 2023-07-31 16:55:45 +02:00
Silvan Mosberger a7e5800273
Merge pull request #243062 from mobusoperandi/doc_watchexec
nixpkgs/NixOS manuals: devmode feature
2023-07-27 16:11:18 +02:00
Pol Dellaiera 478c0fd0a4
Merge pull request #244487 from srid/nixci
nixci: init at 0.1.3
2023-07-27 14:38:18 +02:00
figsoda 5d4857463a pkgs/tools/nix: remove dead code 2023-07-25 12:12:18 -04:00
Sridhar Ratnakumar 5950a71f62 devour-flake: init at 2 2023-07-25 11:22:28 -04:00
Sridhar Ratnakumar 3d1b68c445 nixci: init at 0.1.3 2023-07-25 11:22:28 -04:00
Shahar "Dawn" Or a064709342 nixpkgs/NixOS manuals: devmode feature
Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
2023-07-25 17:03:15 +07:00
Emily 775f683a5a nixos-option: fix expression position calculation
This was causing null pointer dereferences. Pattern copied from Nix
source code.
2023-07-13 23:00:19 +01:00
Emily 7959a16c19 nixos-option: use C++20
Nix uses `-std=c++2a` and the header files require C++20 features. LLVM
is more strict about this, so the build was failing there.
2023-07-13 08:25:28 +10:00
Sandro f57af4cd1e
Merge pull request #237442 from SuperSandro2000/nixos-option
nixos-option: update to nix 2.15
2023-07-12 00:14:53 +02:00
Sandro Jäckel 38e917e4bf
nixos-option: update to nix 2.15
Co-authored-by: tropf <29873239+tropf@users.noreply.github.com>
2023-07-11 17:13:21 +02:00
figsoda 151b1854f6 nix-init: 0.2.3 -> 0.2.4
Diff: https://github.com/nix-community/nix-init/compare/v0.2.3...v0.2.4

Changelog: https://github.com/nix-community/nix-init/blob/v0.2.4/CHANGELOG.md
2023-07-06 18:34:04 -04:00
pennae be4d19ff1a doc: render nixpkgs manual with nrd
also updates nixdoc to 2.3.0. the nixdoc update is not a separate commit
because that would leave the manual build broken for one commit,
potentially breaking bisects and rebases.
2023-07-01 20:59:29 +02:00
pennae 538b3d1b3c nixos-render-docs: add footnote support
this is only used in the stdenv chapter, but footnotes could be useful
in other places as well. since markdown-it has a plugin to parse
footnote syntax we may as well just support them even if they're rare.
2023-07-01 20:27:29 +02:00
pennae ac7be1f106 nixos-render-docs: add support for tables 2023-07-01 20:27:29 +02:00
pennae 8fb4cf8b7c nixos-render-docs: add support for figures 2023-07-01 20:27:29 +02:00
pennae e5e738b72a nixos-render-docs: genericize block numbering
examples and figures behave identically regarding numbering and titling,
they just don't share a common number space. make the numbering/titling
function generic over block types now so figures can just use it.
2023-07-01 20:27:29 +02:00
pennae 8c2d14a6b8 nixos-render-docs: add image support
currently only supported for html. docbook could also support images,
but it's on the way out for manual generation anyway so we won't add
image support there. options docs can't use images because they also
target manpages, which leaves no viable users.
2023-07-01 20:27:28 +02:00
pennae b962ff92ff nixos-render-docs: add support for section tocs
the nixpkgs manual uses section tocs for eg the nixpkgs library function
reference. we will only not emit tocs for subsections at this point, but
maybe we should consider doing so in the future.
2023-07-01 18:21:16 +02:00
pennae 2bf3bb4f6b nixos-render-docs: hide nav headers/footers if not needed
there's not point in rendering these if we're rendering to a single file
for all content.
2023-07-01 17:31:29 +02:00
pennae effbaf0ab4 nixos-render-docs: maybe omit link target files
docbook always emits intra-file links if only a single file is emitted.
it doesn't seem to do this for intra-file links when multiple files are
emitted, so we don't do that yet either.
2023-07-01 17:31:29 +02:00
pennae 8c33134465 nixos-render-docs: don't double-escape link titles 2023-07-01 17:31:29 +02:00
Pol Dellaiera 246000e996 nixos/manual: fix html <p> tag closure 2023-06-28 13:50:48 +02:00
pennae 03ca5a47c1 nixos-render-docs: add missing head tag to html output 2023-06-26 21:13:11 +02:00
figsoda 0415163b68 nixpkgs-lint-community: init at 0.3.0
https://github.com/nix-community/nixpkgs-lint
2023-06-22 10:07:47 -04:00
pennae c8b4e5d557
Merge pull request #237557 from pennae/dedocbookify-nixos
nixos/doc: dedocbookify
2023-06-19 14:05:03 +02:00
Victor Engmark 7b396875bb nixos-render-docs: De-lint using ruff --fix
This automated de-linting has applied a few different refactors:

- Remove unused imports and variables
- Change f-strings with no variables to regular strings
- Remove trailing semicolon
2023-06-14 14:39:00 +12:00
pennae 34eeac5544 nixos-render-docs: default to markdown for options
docbook is now gone and we can flip the defaults. we won't keep the
command line args around (unlike the make-options-docs argument) because
nixos-render-docs should not be considered an exposed API.
2023-06-13 16:56:31 +02:00
pennae 5f35ae16ec nixos-render-docs: remove literalDocBook support
with literalDocBook itself gone we can also remove the support code in
nixos-render-docs.
2023-06-13 16:56:30 +02:00
figsoda f03d84d954 gridlock: init at unstable-2023-03-03
https://github.com/lf-/gridlock
2023-05-29 16:52:16 -04:00
maralorn 4414a2d948 nix-output-monitor: 2.0.0.5 -> 2.0.0.6
* Small improvements in error reporting.
* Significant performance improvements.
2023-05-14 23:11:42 +02:00
maralorn 72b021051f nix-output-monitor: comment and cleanup 2023-05-14 23:10:00 +02:00
John Ericson 57445260f0
Merge pull request #229113 from aschmolck/fix-nix-info-help
Fix nix-info --help to exit 0
2023-05-10 17:33:33 -04:00
Sandro Jäckel 00000001b4
treewide: switch builtins.fromJSON(builtins.readFile ./file.json) to lib.importJSON ./file.json #2 2023-05-06 16:20:13 +02:00
pennae 407f6196a2 nixos-render-docs: add examples support
the nixos manual contains enough examples to support them as a proper
toc entity with specialized rendering, and if in the future the nixpkgs
wants to use nixos-render-docs we will definitely have to support them.
this also allows us to restore some examples that were lost in previous
translation steps because there were too few to add renderer support
back then.
2023-05-03 19:58:21 +02:00
Alexander Schmolck eb811a6ee0 nix-info: fix nix-info --help to exit 0
Previously, --help and -h were treated like an invalid argument.
2023-04-30 13:04:09 +01:00
figsoda 87b94e2e4f nix-init: 0.2.2 -> 0.2.3
Diff: https://github.com/nix-community/nix-init/compare/v0.2.2...v0.2.3

Changelog: https://github.com/nix-community/nix-init/blob/v0.2.3/CHANGELOG.md
2023-04-29 19:27:22 -04:00
figsoda a6e90dec5f nix-melt: init at 0.1.2 2023-04-26 10:58:09 -04:00
figsoda c58c844b36 nix-init: 0.2.1 -> 0.2.2
Diff: https://github.com/nix-community/nix-init/compare/v0.2.1...v0.2.2

Changelog: https://github.com/nix-community/nix-init/blob/v0.2.2/CHANGELOG.md
2023-04-23 10:49:07 -04:00
figsoda d9d363bf3c nixpkgs-hammering: unstable-2022-11-15 -> unstable-2023-03-09
Diff: 1b038ef38f...243b81c687
2023-04-17 10:16:47 -04:00
Dennis Gosnell c00dc0cf7d
Merge remote-tracking branch 'origin/master' into haskell-updates 2023-03-27 08:42:30 +09:00