about summary refs log tree commit diff
path: root/doc/languages-frameworks/agda.section.md
AgeCommit message (Collapse)AuthorFilesLines
2024-03-28treewide: Switch markdown placeholder from "..." to <...>Janne Heß1-1/+1
We use angle brackets since they look a lot like a placeholder while also being valid nix code, as suggested by roberth here: https://github.com/NixOS/nixpkgs/pull/299554#discussion_r1541797970
2024-03-28treewide: Fix all Nix ASTs in all markdown filesJanne Heß1-2/+3
This allows for correct highlighting and maybe future automatic formatting. The AST was verified to work with nixfmt only.
2023-11-09doc: avoid 'simply' (#266434)Arnout Engelen1-2/+2
While the word 'simply' is usually added to encourage readers, it often has the opposite effect and may even appear condescending, especially when the reader runs into trouble trying to apply the suggestions from the documentation. It is almost always an improvement to simply drop the word from the sentence. (there are more possible improvements like this, we can apply those in separate PRs)
2023-03-27doc: assign ids to many headingspennae1-1/+1
without stable ids on headings we cannot generate stable links to these headings. nrd complains about this, but the current docbook workflow does not. a few generated ids remain, mostly in examples and footnotes. most of the examples are generated by nixdoc (which has since gained MD export functions, and the MD export does generate IDs).
2022-12-04doc: use sri hash syntaxColin Arnott1-2/+2
The nixpkgs manual contains references to both sri hash and explicit sha256 attributes. This is at best confusing to new users. Since the final destination is exclusive use of sri hashes, see nixos/rfcs#131, might as well push new users in that direction gently. Notable exceptions to sri hash support are builtins.fetchTarball, cataclysm-dda, coq, dockerTools.pullimage, elixir.override, and fetchCrate. None, other than builtins.fetchTarball, are fundamentally incompatible, but all currently accept explicit sha256 attributes as input. Because adding backwards compatibility is out of scope for this change, they have been left intact, but migration to sri format has been made for any using old hash formats. All hashes have been manually tested to be accurate, and updates were only made for missing upstream artefacts or bugs.
2021-08-03adga: Add test for all packagesManuel Bärenz1-0/+7
2021-08-03agda.section.md: Lay out Agda maintenance guidelinesManuel Bärenz1-1/+56
2021-06-07doc: prepare for commonmarkJan Tojnar1-14/+21
We are still using Pandoc’s Markdown parser, which differs from CommonMark spec slightly. Notably: - Line breaks in lists behave differently. - Admonitions do not support the simpler syntax https://github.com/jgm/commonmark-hs/issues/75 - The auto_identifiers uses a different algorithm – I made the previous ones explicit. - Languages (classes) of code blocks cannot contain whitespace so we have to use “pycon” alias instead of Python “console” as GitHub’s linguist While at it, I also fixed the following issues: - ShellSesssion was used - Removed some pointless docbook tags.
2021-04-23agda: extend agda language frameworks manual sectionAlexander Ben Nasrallah1-9/+90
- add code snippets - be more detailed on some aspects
2021-04-05doc/languages-frameworks/*: add missing languages to code fencesSandro Jäckel1-7/+7
convert shell -> ShellSession
2021-01-22agda.withPackages: use GHC with ieee754 as defaultAlexander Ben Nasrallah1-1/+1
As mentioned in the package description of ieee on Hackage, ieee is deprecated in favor of ieee754.
2021-01-01doc: explicit Markdown anchors for top-level headings; remove metadataRyan Mulligan1-6/+1
I used the existing anchors generated by Docbook, so the anchor part should be a no-op. This could be useful depending on the infrastructure we choose to use, and it is better to be explicit than rely on Docbook's id generating algorithms. I got rid of the metadata segments of the Markdown files, because they are outdated, inaccurate, and could make people less willing to change them without speaking with the author.
2020-09-18agda.section.md: Fix header, enumerations, capitalisationManuel Bärenz1-17/+22
2020-06-17agda: fix manual buildCole Helbling1-2/+2
/build/doc/manual-full.xml:12764:35: error: ID "build-phase" has already been defined /build/doc/manual-full.xml:9029:33: error: first occurrence of ID "build-phase"
2020-06-01agda: install literate filesAlex Rice1-1/+11
2020-05-24agda: fix typo in library management documentationUma Zalakain1-1/+1
Agda expects a "depend" (not "depends") field in the library description.
2020-05-14agda: rework builderAlex Rice1-0/+96