mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
docs: update for Markdown migration
This commit is contained in:
parent
9f9e277b60
commit
8c350c2069
2 changed files with 13 additions and 4 deletions
|
@ -94,11 +94,11 @@ All contributed code _must_ pass the test suite.
|
||||||
[[sec-guidelines-module-maintainer]]
|
[[sec-guidelines-module-maintainer]]
|
||||||
|
|
||||||
==== Add relevant documentation
|
==== Add relevant documentation
|
||||||
|
:nixpkgs-markdown: https://nixos.org/manual/nixpkgs/unstable/#sec-contributing-markup
|
||||||
:docbook: https://tdg.docbook.org/
|
:docbook: https://tdg.docbook.org/
|
||||||
:asciidoc: https://asciidoc.org/
|
:asciidoc: https://asciidoc.org/
|
||||||
:docbook-rocks: https://berbiche.github.io/docbook.rocks/
|
|
||||||
|
|
||||||
Many code changes require changing the documentation as well. Module options should be documented with DocBook. See {docbook-rocks}[DocBook rocks!] for a quick introduction and {docbook}[DocBook 5: The Definitive Guide] for in-depth information of DocBook. Home Manager is itself documented using a combination of DocBook and {asciidoc}[AsciiDoc]. All text is hosted in Home Manager's Git repository.
|
Many code changes require changing the documentation as well. Module options should be documented with {nixpkgs-markdown}[Nixpkgs-flavoured Markdown]. Home Manager is itself documented using a combination of {docbook}[DocBook] and {asciidoc}[AsciiDoc]. All text is hosted in Home Manager's Git repository.
|
||||||
|
|
||||||
The HTML version of the manual containing both the module option descriptions and the documentation of Home Manager can be generated and opened by typing the following in a shell within a clone of the Home Manager Git repository:
|
The HTML version of the manual containing both the module option descriptions and the documentation of Home Manager can be generated and opened by typing the following in a shell within a clone of the Home Manager Git repository:
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,14 @@ This is the current unstable branch and the information in this section is there
|
||||||
|
|
||||||
[[sec-release-23.11-highlights]]
|
[[sec-release-23.11-highlights]]
|
||||||
=== Highlights
|
=== Highlights
|
||||||
|
:babelfish: https://github.com/bouk/babelfish
|
||||||
|
:nixpkgs-markdown: https://nixos.org/manual/nixpkgs/unstable/#sec-contributing-markup
|
||||||
|
|
||||||
This release has the following notable changes:
|
This release has the following notable changes:
|
||||||
|
|
||||||
* When using <<opt-programs.fish.enable>>, the setup code
|
* When using <<opt-programs.fish.enable>>, the setup code
|
||||||
for <<opt-home.sessionVariables>> is now translated
|
for <<opt-home.sessionVariables>> is now translated
|
||||||
with https://github.com/bouk/babelfish[babelfish].
|
with {babelfish}[babelfish].
|
||||||
This should result in significantly faster shell startup times
|
This should result in significantly faster shell startup times
|
||||||
but could theoretically break
|
but could theoretically break
|
||||||
if you have very complex bash expressions in a session variable.
|
if you have very complex bash expressions in a session variable.
|
||||||
|
@ -20,9 +22,16 @@ Please report any issues you experience.
|
||||||
has been supplanted by `release.json`,
|
has been supplanted by `release.json`,
|
||||||
which contains more information about the branch.
|
which contains more information about the branch.
|
||||||
If you have any external code reading this file,
|
If you have any external code reading this file,
|
||||||
please migrate to using `release.json` instead.
|
please switch to consuming `release.json` instead.
|
||||||
The `.release` file will be removed in 24.05.
|
The `.release` file will be removed in 24.05.
|
||||||
|
|
||||||
|
* Home Manager has migrated to using
|
||||||
|
the upstream Nixpkgs `lib.nixosOptionsDoc` processor
|
||||||
|
for option documentation.
|
||||||
|
If you have any external Home Manager modules,
|
||||||
|
their option descriptions and literal examples should be translated
|
||||||
|
to {nixpkgs-markdown}[Nixpkgs-flavoured Markdown].
|
||||||
|
|
||||||
[[sec-release-23.11-state-version-changes]]
|
[[sec-release-23.11-state-version-changes]]
|
||||||
=== State Version Changes
|
=== State Version Changes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue