lol

nixos/plotinus: convert manual chapter to MD

pennae eb2e1b04 0a70ea5e

+44 -27
+17
nixos/modules/programs/plotinus.md
··· 1 + # Plotinus {#module-program-plotinus} 2 + 3 + *Source:* {file}`modules/programs/plotinus.nix` 4 + 5 + *Upstream documentation:* <https://github.com/p-e-w/plotinus> 6 + 7 + Plotinus is a searchable command palette in every modern GTK application. 8 + 9 + When in a GTK 3 application and Plotinus is enabled, you can press 10 + `Ctrl+Shift+P` to open the command palette. The command 11 + palette provides a searchable list of of all menu items in the application. 12 + 13 + To enable Plotinus, add the following to your 14 + {file}`configuration.nix`: 15 + ``` 16 + programs.plotinus.enable = true; 17 + ```
+2
nixos/modules/programs/plotinus.nix
··· 8 8 { 9 9 meta = { 10 10 maintainers = pkgs.plotinus.meta.maintainers; 11 + # Don't edit the docbook xml directly, edit the md and generate it: 12 + # `pandoc plotinus.md -t docbook --top-level-division=chapter --extract-media=media -f markdown-smart --lua-filter ../../../doc/build-aux/pandoc-filters/myst-reader/roles.lua --lua-filter ../../../doc/build-aux/pandoc-filters/docbook-writer/rst-roles.lua > plotinus.xml` 11 13 doc = ./plotinus.xml; 12 14 }; 13 15
+25 -27
nixos/modules/programs/plotinus.xml
··· 1 - <chapter xmlns="http://docbook.org/ns/docbook" 2 - xmlns:xlink="http://www.w3.org/1999/xlink" 3 - xmlns:xi="http://www.w3.org/2001/XInclude" 4 - version="5.0" 5 - xml:id="module-program-plotinus"> 6 - <title>Plotinus</title> 7 - <para> 8 - <emphasis>Source:</emphasis> 9 - <filename>modules/programs/plotinus.nix</filename> 10 - </para> 11 - <para> 12 - <emphasis>Upstream documentation:</emphasis> 13 - <link xlink:href="https://github.com/p-e-w/plotinus"/> 14 - </para> 15 - <para> 16 - Plotinus is a searchable command palette in every modern GTK application. 17 - </para> 18 - <para> 19 - When in a GTK 3 application and Plotinus is enabled, you can press 20 - <literal>Ctrl+Shift+P</literal> to open the command palette. The command 21 - palette provides a searchable list of of all menu items in the application. 22 - </para> 23 - <para> 24 - To enable Plotinus, add the following to your 25 - <filename>configuration.nix</filename>: 26 - <programlisting> 1 + <chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-program-plotinus"> 2 + <title>Plotinus</title> 3 + <para> 4 + <emphasis>Source:</emphasis> 5 + <filename>modules/programs/plotinus.nix</filename> 6 + </para> 7 + <para> 8 + <emphasis>Upstream documentation:</emphasis> 9 + <link xlink:href="https://github.com/p-e-w/plotinus" role="uri">https://github.com/p-e-w/plotinus</link> 10 + </para> 11 + <para> 12 + Plotinus is a searchable command palette in every modern GTK 13 + application. 14 + </para> 15 + <para> 16 + When in a GTK 3 application and Plotinus is enabled, you can press 17 + <literal>Ctrl+Shift+P</literal> to open the command palette. The 18 + command palette provides a searchable list of of all menu items in 19 + the application. 20 + </para> 21 + <para> 22 + To enable Plotinus, add the following to your 23 + <filename>configuration.nix</filename>: 24 + </para> 25 + <programlisting> 27 26 programs.plotinus.enable = true; 28 27 </programlisting> 29 - </para> 30 28 </chapter>