!tPxtoBdChSsxHuBlNW:nixos.org

NixOS Marketing

264 Members
NixOS website + marketing team: https://nixos.org/community/teams/marketing.html58 Servers

Load older messages


SenderMessageTime
12 Jul 2021
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneHave you got the sources for how this was done? I have never implemented anything like that before and wonder how hard it could be.15:24:20
@andi:kack.itandi-
In reply to @matthewcroughan:defenestrate.it
Have you got the sources for how this was done? I have never implemented anything like that before and wonder how hard it could be.
Yeah, it is mostly just using lunr and hacking around it to make it useful for that POC https://github.com/andir/nixos.dev-option-search/blob/master/create-index.js
15:28:35
20 Jul 2021
@sumner:sumnerevans.comsumner left the room.21:43:02
21 Jul 2021
@samueldr:matrix.orgsamueldranother person also had a similar PoC with the package search18:39:51
@samueldr:matrix.orgsamueldr(shared when we were already committed to going with ES)18:40:03
@samueldr:matrix.orgsamueldrnot sure how/where it differs18:40:11
@samueldr:matrix.orgsamueldrI've been using the options search a lot these past few days and... not been pleased with the irrelevance of the "relevant" results :(18:40:42
@samueldr:matrix.orgsamueldr garbas: reminder that in 19 minutes there's that bi-weekly call 18:41:30
@samueldr:matrix.orgsamueldr(or not?)19:01:03
@samueldr:matrix.orgsamueldr(there is)19:18:27
@samueldr:matrix.orgsamueldr(there was)20:18:14
@tomberek:matrix.orgtombereksamueldr: this is what I meant by a non-invasive way to try out Nix: https://github.com/nix-dot-dev/nix.dev/pull/16920:33:42
@samueldr:matrix.orgsamueldrnice!20:34:21
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone Huh I didn't realise you could contribute to nix.dev. That is certainly cool. Though I believe sphinx/rst are the wrong format to use, I may set up an alternative that uses MkDocs. MkDocs lets you use templating (jinja) and python to change the page contents, from within the MD file so you can have smart pages that have logic in them. Like if page.metadata == arm64 then include ../common/arm64.md 20:42:37
@samueldr:matrix.orgsamueldrugh, please, not yet another source of documentation, it's already too fragmented20:43:35
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI was looking for evidence of automation/coding in the official Nix docs, and it looks like it's 100% hand written?20:43:43
@samueldr:matrix.orgsamueldr"official docs" is still un flux because of RFC#whatever the one for markdown20:44:08
@samueldr:matrix.orgsamueldr * "official docs" is still in flux because of RFC#whatever the one for markdown20:44:15
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI just don't think a lot of the stuff that is handwritten can be maintained.20:44:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneWell it can, with dedication! But it's harder than it has to be.20:46:05
@andi:kack.itandi-Isn't everything apart from API docs manual writing anyway? How can you automate that and nix.dev is mostly not api docs IIRC.20:46:59
@samueldr:matrix.orgsamueldr (to circle back to the actual topic, rather than fresh bikeshedding) tomberek: thanks, this will help with my lack of knowledge with docker when actually writing docs for $PROJECT 20:47:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneOf course not all can be. I'm just suggesting that sphinx/rst make it practically impossible to automate.20:48:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone* Of course not all can be. I'm just suggesting that sphinx/rst make it practically impossible to automate anything other than Python docs.20:48:30
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonehttps://squidfunk.github.io/mkdocs-material/reference/variables/20:49:16
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI will not discuss here any further since I realise I'm overtaking the topic. My bad.20:49:37
@samueldr:matrix.orgsamueldr right, tomberek, "authoring format" is probably another reason I forgot about when discussing that earlier 20:53:48
@tomberek:matrix.orgtombereksamueldr: I’d be happy to do an bit of Docker introduction with you23:37:57
@samueldr:matrix.orgsamueldrI kind of don't want to ;)23:38:21
@samueldr:matrix.orgsamueldrmakes it easier to gauge whether things only make sense to a docker enthusiast or not :)23:38:40

Show newer messages


Back to Room ListRoom Version: 6