makefu changed the topic of #nixos-wiki to: Welcome to the *unofficial* nixos wiki | https://nixos.wiki | chat logs: https://logs.nix.samueldr.com/nixos-wiki/
nixoswikibot has quit [Remote host closed the connection]
nixoswikibot has joined #nixos-wiki
ece3 has joined #nixos-wiki
<nixoswikibot> [[Python]] ! https://nixos.wiki/index.php?diff=5330&oldid=5118&rcid=5501 * Samuela * (+11) 
<nixoswikibot> [[Python]] ! https://nixos.wiki/index.php?diff=5331&oldid=5330&rcid=5502 * Samuela * (+26) 
<nixoswikibot> [[Python]] ! https://nixos.wiki/index.php?diff=5332&oldid=5331&rcid=5503 * Samuela * (+27) /* Emulating virtualenv with nix-shell */
<nixoswikibot> [[Python]] ! https://nixos.wiki/index.php?diff=5333&oldid=5332&rcid=5504 * Samuela * (-2) /* Emulating virtualenv with nix-shell */
<nixoswikibot> [[Talk:Python]] ! https://nixos.wiki/index.php?diff=5334&oldid=3576&rcid=5505 * Samuela * (+150) /* shellHook explanation */ new section
Mic92 has quit [Ping timeout: 260 seconds]
Mic92 has joined #nixos-wiki
{\_\} has joined #nixos-wiki
{\_\} has quit [Remote host closed the connection]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
growpotkin has joined #nixos-wiki
<nixoswikibot> [[Special:Log/newusers]] create  * Matthewcroughan * New user account
matthewcroughan has joined #nixos-wiki
<matthewcroughan> how does one add a new page to the wiki?
<matthewcroughan> samueldr:
<samueldr> visit an url that doesn't exist yet
<samueldr> the URL you wish to create
<matthewcroughan> Ah, intuitive now that I know :D
<matthewcroughan> samueldr: Are there any plans to have the wiki work with markdown in future?
<samueldr> it's mediawiki
<samueldr> it'll do what mediawiki does
<matthewcroughan> Oh dear, I'm having second thoughts about contributing now after seeing that edit window ;D
<matthewcroughan> I really wanted to make a simple page.
<matthewcroughan> Not learn some new markup
<matthewcroughan> Is there no tooling that converts to media wiki markup from markdown/rst or something?
<matthewcroughan> Having an editor makes it better than most wikis, but it's still really just a bit crazy.
<matthewcroughan> It has made it from something I feel like doing in 30 minutes tonight, into something I don't feel like doing.
<samueldr> that a software released 2 years before markdown was invented as a custom markup for one guy's blog?
<samueldr> wouldn't use markdown*
<matthewcroughan> RST then, whatever you need
<samueldr> predates RST too :)
<samueldr> mediawiki is old
<matthewcroughan> and very much not gold
<samueldr> and its markup is not new, IIRC it's evolution of other wiki markup
<matthewcroughan> sure, but it's far less pretty to look at.
<matthewcroughan> it matters, because I have to learn it now to contribute anything
<matthewcroughan> I write rst and markdown and jinja all day
<matthewcroughan> Seeing this has ruined me :D
* matthewcroughan sleeps
<matthewcroughan> samueldr: actually no, this is real bad
<matthewcroughan> where is the wiki's source files?
<samueldr> a database
<matthewcroughan> this is nightmare fuel and it needs to be stopped lmao
<matthewcroughan> why are the files not here?
<samueldr> ugh
<samueldr> because that's not how mediawiki works
<matthewcroughan> the fact that this is in a database on someone's computer is crazy, it's just docs
<samueldr> that's, like, your opinion
<matthewcroughan> I understand the need for a database when it's a massive forum, like Discourse.
<samueldr> a bit rude to jump in and directly jump to "not like I want to do it so it must be bad" :/
<matthewcroughan> But putting docs and things like that behind a database, and hiding it from Git (makes attributions less rich and meaningful), makes it a bit weird and anti-nix in a way.
<matthewcroughan> samueldr: not what I'm saying at all, I can see the advantage of it having its own user system, but this is in my opinion just going to be a nightmare if the docs are under the control of an individual
<matthewcroughan> How can I host/compile the wiki myself?
<matthewcroughan> Is the database given out to people?
<samueldr> the data is, I don't remember how at the time being, but it is freely available
<samueldr> the setup itself, the user who contributes hosting and managing it hasn'g gotten around to extracting the configuration
<matthewcroughan> as long as it's something I could run on my machine with minimal effort, I'm happy
<samueldr> (mainly secrets were an issue IIRC)
<matthewcroughan> but it seems like a lot to give away for the small advantage of making user contributions easier.
<samueldr> but that user hasn't had the time to do it
<matthewcroughan> Having anything less than static pages for Docs just seems wrong to me. It's an opinion, sure, but I can make a lot of very good arguments for it.
<matthewcroughan> I'm going to pay attention and look for opportunities to improve this, I'll use this for now.
<matthewcroughan> samueldr: have you seen docusaurus?
orivej has joined #nixos-wiki
<matthewcroughan> samueldr: what does the constant `|-` mean in the docs?
<matthewcroughan> I'm confused by nothing but that
<matthewcroughan> This is what you get when you have too much control over the docs and no framework like Sphinx/MkDocs. And I know that Sphinx/MkDocs can be limiting in certain contexts>
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<Mic92> feel free to contribute to the manual instead if you don't like wikis
<nixoswikibot> [[Packaging/Python]] ! https://nixos.wiki/index.php?diff=5335&oldid=3737&rcid=5507 * Samuela * (-9) /* Pip and Virtualenv enabled nix-shell */
orivej has quit [Ping timeout: 240 seconds]
<makefu> https://documentation.divio.com/ just came around yesterday again. It is a reminder, that there cannot be a single source of documentation but there need to be different types for different use cases. the wiki is mostly problem oriented where the manual is more explanation and reference oriented
nixoswikibot has quit [Remote host closed the connection]
nixoswikibot has joined #nixos-wiki
srk has quit [Remote host closed the connection]
srk has joined #nixos-wiki
nixoswikibot has quit [Remote host closed the connection]
nixoswikibot has joined #nixos-wiki
orivej has joined #nixos-wiki
<matthewcroughan> Mic92: I would just like a place for board docs that is not hidden behind a database.
<matthewcroughan> I'd make it in mkdocs, but obviously I can't maintain that alone.
<{^_^}> #108063 (by ryantm, 4 weeks ago, open): add minimal manual prototype
<matthewcroughan> I wish there were tools for Github that let you upload a database and have it browsable on Github
<matthewcroughan> databases aren't necessarily blobs, the tooling to view them like a FS just doesn't exist
<matthewcroughan> There's a nice tool called filestash that can actually browse mysql and pretend it's a filesystem.
<matthewcroughan> ryantm: When I grow up, I wanna be just like you. Minimal everything wow :D
<Mic92> I am sure ryantm could need some help to get the manual working with the new markdown format
<matthewcroughan> Markdown would be a limiting factor, probably, at some stage since it's not necessarily standardised
<matthewcroughan> for that reason RST might be more applicable.
<Mic92> There are also docbook files that still need to be converted to mardkown
<Mic92> Are you just talking or do you actualy intend to work on something?
<matthewcroughan> Well, I'm not going to pretend like I know how to work on it, but yes I do intend to.
<matthewcroughan> Mic92: maybe give me some direction? I'm learning. I had no idea how u-boot worked but got that working on the orange pi 3
<ryantm> I think at some point we can maybe flip the direction of pandoc and have our nixpkgs manual built from markdown.
<matthewcroughan> ryantm: why do you think that's a good idea? I've heard that markdown not having a widely accepted standardisation is a problem.
<Mic92> there is an pr to add u-boot support for orange pi
<matthewcroughan> Mic92: yes, by me
<matthewcroughan> and I had absolutely no idea how that worked, but fuzzed it with massive help from samueldr
<matthewcroughan> so maybe I can learn something about implementing markdown here too :P
<ryantm> Matthewcroughan: https://github.com/NixOS/nixpkgs/projects/37 if you want to help there are issues here with instructions
<matthewcroughan> sweet
<matthewcroughan> md-to-db.sh~? :O
<ryantm> With mmdoc I'm using cmark-gfm which is mostly standardized plus a few github extensions plus a very minimal form of bracketed spans (just anchors)
<ryantm> Oh I guess I added did lists and admonitions too 😞
<ryantm> DD lists
<matthewcroughan> Sweet :)
<matthewcroughan> ryantm: I will take a look at contributing after work today
<matthewcroughan> Is there a way I can submit the Orange Pi 3 docs today? Or is this thing not public yet?
<ryantm> Oh and the time to rethink using Markdown is basically over. We don't want to have to relive the RFC process of https://github.com/NixOS/rfcs/pull/72
<{^_^}> rfcs#72 (by mboes, 29 weeks ago, merged): [RFC 0072] Switch to CommonMark for documentation
<matthewcroughan> If I want to submit my docs in this fashion, what do I do?
<ryantm> You can submit markdown docs in nixpkgs already. You'll need to write like one line of DocBook to get it integrated.
<ryantm> The instructions in those issues would basically work for adding new docs.
<nixoswikibot> [[OSX-KVM]] ! https://nixos.wiki/index.php?diff=5336&oldid=4852&rcid=5508 * Wineee * (+36) 
<matthewcroughan> ryantm: would you accept markdown docs for boards and board support in general?
<matthewcroughan> ryantm: is there an example set of docs for boards even?
<ryantm> Looks like there isn't a boards section yet. Are you documenting something in nixpkgs?
<matthewcroughan> ryantm: nope, I just wanted to document getting NixOS running on the Orange Pi 3.
<matthewcroughan> But don't really like the idea of contributing to nixos.wiki because it's in a format I really don't think will last
<ryantm> matthewcroughan that sounds more like a NixOS manual thing and it does not support markdown yet.
<ryantm> That's why I'm building mmdoc.
<makefu> matthewcroughan: you do not have to worry about the wiki this time at least. fadenb is preparing to open up the configuration of the wiki deployment so at worst case someone else can take over the instance.
{\_\} has joined #nixos-wiki
{\_\} has quit [Remote host closed the connection]
<matthewcroughan> ryantm: yes, so is there an example of mmdocs being used to describe a board yet?
<matthewcroughan> Whatever the case I'll try and figure it out and make that example.
orivej has quit [Ping timeout: 272 seconds]
nixoswikibot has quit [Remote host closed the connection]
nixoswikibot has joined #nixos-wiki
<ryantm> matthewcroughan I haven't integrated mmdoc with the NixOS manual yet. Also, there hasn't been widespread consensus we should use it.
growpotkin has joined #nixos-wiki
orivej has joined #nixos-wiki
orivej has quit [Ping timeout: 256 seconds]
<nixoswikibot> [[Rust]] !M https://nixos.wiki/index.php?diff=5337&oldid=5276&rcid=5509 * Konfou * (+0) Capitalization
<Mic92> actually a lot of arm stuff is currently on the wiki and not in the manual
orivej has joined #nixos-wiki
orivej has quit [Ping timeout: 240 seconds]