Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixos-homepage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5526c0531139
Choose a base ref
...
head repository: NixOS/nixos-homepage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 52b2a6f3fe90
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 12, 2018

  1. options: Adds type information to the options list

    The data was already available!
    
    This uses the (possibly composed) description field from the types.
    samueldr committed Oct 12, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    dywedir Vlad M.
    Copy the full SHA
    4e1a537 View commit details

Commits on Mar 17, 2019

  1. Merge pull request #246 from samueldr/feature/option-types

    options: Adds type information to the options list
    grahamc authored Mar 17, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    52b2a6f View commit details
Showing with 9 additions and 0 deletions.
  1. +9 −0 nixos/options.tt
9 changes: 9 additions & 0 deletions nixos/options.tt
Original file line number Diff line number Diff line change
@@ -42,6 +42,12 @@
<td class='default'><em>Not given</em></td>
</td>
</tr>
<tr>
<th>Type:</th>
<td>
<td class='type'><em>Not given</em></td>
</td>
</tr>
<tr>
<th>Example value:</th>
<td>
@@ -324,6 +330,9 @@ function showOption() {
if ('default' in opt)
$('.default', details).empty().addClass('pre').text(ppNix('', opt.default));

if ('type' in opt)
$('.type', details).empty().addClass('pre').text(opt.type);

if ('example' in opt)
$('.example', details).empty().addClass('pre').text(ppNix('', opt.example));