mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-18 03:50:12 -04:00
89e5624b55
ankhers: I'm okay with that. lheckemann: I'm fine with it. Are we now going to get github notifications for each person agreeing? >_> frontsideair: I'm also okay. ecnerwala: I'm fine with it. disassembler: I can't check the box, but I'm cool with it, also responded in IRC earlier. richardipsum: I'm fine with it ixxie: Im fine with it! Munksgaard: Sounds great, go ahead :-) qrilka: I'm fine with it vaibhavsagar: Fine by me 😃! michaelpj: Fine by me. gfixler: Sounds good to me. efx: I approve. Good call on licensing before any patent battles. Anton-Latukha: Sure. I agree. From: Luca Bruno Date: Sat, 16 Dec 2017 10:30:02 +0000 Subject: Re: License for Nix Pills? To: Daniel Peebles Cc: Graham Christensen I see, that sounds great. I don't have any opinion on the license, just pick whatever you think is best :) 2017-12-14 17:49 GMT+00:00 Daniel Peebles: > We're looking at solidifying the NixOS foundation's legal standing [...] > and as part of that are digging up licenses for various components that we > host, including code, documentation and the pills. > > > On Thu, Dec 14, 2017 at 12:48 PM, Luca Bruno > wrote: > >> What's the need for a license at all? >> >> 2017-12-14 17:43 GMT+00:00 Daniel Peebles: >> >>> Thanks, that's very generous! >>> >>> May I suggest Creative Commons BY? See https://creativecommons.or >>> g/licenses/ >>> >>>> >>>> CC BY >>>> This license lets others distribute, remix, tweak, and build upon your >>>> work, even commercially, as long as they credit you for the original >>>> creation. This is the most accommodating of licenses offered. Recommended >>>> for maximum dissemination and use of licensed materials. >>> >>> >>> Otherwise, CC BY-SA would force downstream users to continue to license >>> it under similar terms, if you'd prefer. >>> >>> >>> On Thu, Dec 14, 2017 at 12:39 PM, Luca Bruno >>> wrote: >>> >>>> Uhm don't know :) They are there open for everyone to use and modify I >>>> guess :) >>>> >>>> 2017-12-14 16:30 GMT+00:00 Daniel Peebles: >>>> >>>>> Hi Luca, >>>>> >>>>> Since your wonderful Nix pills have been migrated to the Nix docs >>>>> site, I was wondering what license you wrote the originals under. Do you >>>>> have any opinions on that? >>>>> >>>>> Thank you, >>>>> Dan >>>>> |
||
---|---|---|
pills | ||
.editorconfig | ||
.gitignore | ||
.travis.yml | ||
book.xml | ||
default.nix | ||
LICENSE | ||
README.md | ||
release.nix | ||
style.css |
- List of Elements: http://tdg.docbook.org/tdg/5.2/chunk-part-d6252e15351.html
- Tracking Issue: https://github.com/NixOS/nixpkgs/issues/27908
When starting a new Pill, comment on the tracking issue which one you're doing. If you need help, ask there. If you make progress but don't finish in one go, make a PR anyway! I'm trying to not edit things as I go, in order to not get bogged down.
How I've built and tested:
nix-build release.nix && firefox result/share/doc/nix-pills/index.html
Emacs config for a nice docbook experience:
let
pkgs = import <nixpkgs> {};
inherit (pkgs) emacsPackagesNg docbook5 writeText;
schemas = writeText "schemas.xml" ''
<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
<documentElement localName="section" typeId="DocBook"/>
<documentElement localName="chapter" typeId="DocBook"/>
<documentElement localName="article" typeId="DocBook"/>
<documentElement localName="book" typeId="DocBook"/>
<typeId id="DocBook" uri="${docbook5}/xml/rng/docbook/docbookxi.rnc" />
</locatingRules>
'';
in emacsPackagesNg.emacsWithPackages (epkgs: [
(emacsPackagesNg.trivialBuild {
pname = "nix-docbook-mode";
version = "1970-01-01";
src = writeText "default.el" ''
(eval-after-load 'rng-loc
'(add-to-list 'rng-schema-locating-files "${schemas}"))
(global-set-key (kbd "<C-return>") 'nxml-complete)
'';
})
])
Then you can use the keys:
C-c C-b
to finish & close a tagC-c C-f
to close a tagC-return
to auto-complete a tag or attribute.