[Nix-dev] Fwd: Wiki is dead

Anthony Cowley acowley at gmail.com
Sat Feb 20 21:11:27 CET 2016


Bringing together what Thomas and Freddy say here, it seems to me that a rather ideal mixture would be something unstructured like a wiki with buttons for readers saying, "This helped me" or "This did not work".

The point being that once a wiki item gets a handful of positive votes, it gets turned into an Issue on the manual for someone with a better understanding of how things are put together to find it a home. At that point, the wiki item could have a link to the manual added. Similarly, things marked obsolete could at some point get a review from an expert who could make the obsolescence official so that the item gets a big red banner warning future readers. The expert reviewer could zero out the counts if the votes are due to misunderstandings. The votes are not for publicity, but for triage.

This does not address spam, but offloading authentication to someone like github could still be used. What this does is free would-be doc or recipe contributors from being paralyzed by unfamiliarity with language style or naming conventions, while still establishing a path for their contributions to make it into the manual.

Anthony

> On Feb 20, 2016, at 8:54 AM, Freddy Rietdijk <freddyrietdijk at fridh.nl> wrote:
> 
> Adding documentation is one thing, maintaining it is a second. It's great if someone is willing to convert contributions to Docbook, and I'm thankful for that. However, that does not help much if you want to modify parts of it. And as Nixpkgs is updated, so should the documentation.
> 
> I agree writing docs isn't peoples favorite activity, but somehow, when I see the amount of content that's on the Wiki, I do wonder: how come people chose to put it there instead of in the manual? Was it because there never really was a manual where the contents would fit in? Or was it because it was more convenient to contribute to the wiki instead of the manual?
> I haven't been around long enough with this project, so I don't know. Some of you will have a better idea.
> 
> Being able to convert to Docbook like is done with the Haskell guide makes it easier for others to contribute, at least, if you know how that conversion is done.
> 
> Some time ago I began using Nix because I like it. Python packaging is a mess as Domen explained during NixCon, but with Nix it works much better. I've contributed Python packages, and now I would like to share how it is done. As acoustician/researcher my work activities are quite different from I bet most other Nix users. Learning Nix was a big investment, but is I think worth it. Learning Docbook on the other hand...
> 
> If you want to scare away contributors by keeping the barrier high, then keep the documentation the way it is.
> 
> 
> 
>> On Sat, Feb 20, 2016 at 2:04 PM, Thomas Hunger <tehunger at gmail.com> wrote:
>> I'm tool agnostic but +1 on having a cookbook in git for the review-workflow (avoids wiki spam). I have a number of snippets (how to remove gc roots, haskell profiling, how to use ihaskell properly, many more) but no good place to put them.
>> 
>> I've started a git-book thing [1] a while back to collect these but didn't get very far. I'd much rather contribute to a common, low-barrier-to-entry repository than rolling my own.
>> 
>> In my experience just providing the structure will eventually attract content because adding a small snippet is the path of least resistance for each individual contributor. Maybe we could add a banner "This is how you add a snippet" and buttons "File a bug that this is wrong / outdated" to each snippet?
>> 
>> Rok - I know it's not free software but maybe it's worth setting up a google docs spreadsheet for coordinating the migration once we've settled on a tool? I will contribute.
>> 
>> ~
>> 
>> [1]
>> https://github.com/WeAreWizards/nixbyexample
>> 
>>> On 20 February 2016 at 12:06, Freddy Rietdijk <freddyrietdijk at fridh.nl> wrote:
>>> I agree with Vladimir that we already have the infrastructure, the Nixpkgs repository.
>>> 
>>> What is needed is a clearer way where to put certain documentation and a lower barrier for contributing. In `Redesign of documentation` I came with a proposal of how to structure the documentation. A wiki has a low barrier for contributing, however, it also has many disadvantages, which you would not have if we use, say, the Nixpkgs repository.
>>> 
>>> A big barrier, in my opinion and I'm pretty sure also in that of others, is the current format of the Nixpkgs manual. I can understand why docbook is used, and I think it should be used for say the Nix manual, but for a User's Guide to which many of us would/should contribute, the barrier is just too high.
>>> 
>>> On the branch https://github.com/FRidh/nixpkgs/tree/usersguide I implemented the proposed redesign. 
>>> The documentation is split into two documents, the User's Guide, and the Contributor's Guide. The User's Guide is divided into three parts:
>>> Introduction
>>> Reference
>>> Cookbook
>>> There have been several proposals already for tools/implementations (Matthias' Jekyll implementation, Domens Sphinx docs) . Here I chose to go also for the Sphinx documentation generator. It allows you to write RestructuredText. With a small plugin, which I enabled, you can also include CommonMark/Markdown. Nix highlighting is supported.
>>> The result can be found at http://nixpkgs.readthedocs.org/en/latest/ . It's mostly empty still.
>>> 
>>> Now this is only a proposal, and I'm open to other ways. But I really think we should do something about the current state of the docs, in both content and lowering the barrier. ReStructuredText/Markdown obviously doesn't have as much possibilities as Docbook but what matters eventually is whether it is enough, and I think it will be, at least for now.
>>> 
>>> 
>>>> On Sat, Feb 20, 2016 at 12:30 PM, Vladimír Čunát <vcunat at gmail.com> wrote:
>>>> On 02/20/2016 12:52 AM, zimbatm wrote:
>>>> > It's a great staging area for content where people can edit without
>>>> > asking for permission. [...]
>>>> 
>>>> What are the advantages in comparison to standard pull requests with
>>>> discussion underneath? We already have lots of infrastructure advantages
>>>> in there, such as merging changes at once with documentation for them,
>>>> auto-mention bot, etc.
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> nix-dev mailing list
>>>> nix-dev at lists.science.uu.nl
>>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>> 
>>> 
>>> _______________________________________________
>>> nix-dev mailing list
>>> nix-dev at lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160220/fa7538a5/attachment-0001.html 


More information about the nix-dev mailing list