sphalerite changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 19.03 released! https://discourse.nixos.org/t/nixos-19-03-release/2652 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html https://r13y.com | 19.03 RMs: samueldr,sphalerite | https://logs.nix.samueldr.com/nixos-dev
orivej has joined #nixos-dev
dhess has quit [Remote host closed the connection]
init_6 has joined #nixos-dev
psyanticy has quit [Quit: Connection closed for inactivity]
drakonis_ has joined #nixos-dev
Drakonis has quit [Ping timeout: 264 seconds]
Drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 258 seconds]
<samueldr> nixos:trunk-combined, last finished evaluation: 1528804 | job tested of that eval is successful *after a restart | link to latest successful build from a finished evaluation goes the the previous one
<samueldr> (finally caught one in the wild to show)
<samueldr> hm sorry
<samueldr> I think I'm wrong here
<samueldr> I confused myself, don't mind me
phreedom has quit [Ping timeout: 260 seconds]
phreedom has joined #nixos-dev
init_6 has quit []
alp has quit [Ping timeout: 252 seconds]
pie_ has quit [Ping timeout: 252 seconds]
init_6 has joined #nixos-dev
drakonis1 has quit [Quit: WeeChat 2.4]
orivej has quit [Ping timeout: 248 seconds]
cjpbirkbeck has joined #nixos-dev
init_6 has quit [Ping timeout: 272 seconds]
Drakonis has quit [Remote host closed the connection]
cjpbirkbeck has quit [Quit: Quitting now.]
FRidh has joined #nixos-dev
pie_ has joined #nixos-dev
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos-dev
pie__ has joined #nixos-dev
pie_ has quit [Ping timeout: 250 seconds]
pie__ has quit [Ping timeout: 250 seconds]
psyanticy has joined #nixos-dev
orivej has joined #nixos-dev
<arianvp> do we support power9?
<arianvp> not officially right?
<gchristensen> arianvp: not at all I think, but I have a friend-of-a-friend I could reach out to if we wanted to. what's up?
alp has joined #nixos-dev
lopsided98 has quit [Remote host closed the connection]
<arianvp> Friends and I were thinking of getting a raptor box
<arianvp> To play around with
lopsided98 has joined #nixos-dev
<ekleog> timokau[m]: well, so long as you are able to not use restricted-sudo it's great, but there are times you just have to and at these times you're going to want it as secure as possible :)
psyanticy has quit [Quit: Connection closed for inactivity]
pie__ has joined #nixos-dev
pie__ has quit [Ping timeout: 252 seconds]
<gchristensen> arianvp: nice
WilliButz has quit [Quit: WeeChat 2.5]
WilliButz has joined #nixos-dev
phreedom_ has joined #nixos-dev
phreedom has quit [Ping timeout: 260 seconds]
<timokau[m]> ekleog: true :)
Drakonis has joined #nixos-dev
alp has quit [Ping timeout: 252 seconds]
layeddie has quit [Quit: Connection closed for inactivity]
andi- has quit [Quit: WeeChat 2.5]
andi- has joined #nixos-dev
alp has joined #nixos-dev
<gchristensen> ~moving a chat over from #nixos-chat~ background: I'm hacking around on splitting the docs up in to many smaller pages, I've been fighting with xslt and what-not, great time of it all, 1-2-skip-a-few-99- here is a recent build of the docs with (I believe, still verifying) a full ToC on each page + a working search prototype: http://gsc.io/search-docs/
<gchristensen> samueldr: I think at this point I need some further direction from you on what the next step is
<samueldr> have to go before shops close, will look later this evening and think
<gchristensen> cool
<gchristensen> I suppose two possible next steps are: (1) if the node is outside of the document's context, collapse it somehow with CSS. (2) move the ToC to the end of the document for everything but the main page (is this right?)
<samueldr> do you have a way to "mark" (e.g. with a class) the active link in the TOC?
<samueldr> e.g. here the link to 3. Package-specific usage notes
<gchristensen> oh this is a fun example you've picked, as it has *two* tocs! one for the chapter, one for the section (noted for looking later on)
<samueldr> and in the generated output, having section-specific reduced TOC, but I think you looked at it and that didn't really work?
<samueldr> ooh
<samueldr> anyway, bbl
<gchristensen> I don't know :P
psyanticy has joined #nixos-dev
pie__ has joined #nixos-dev
<gchristensen> samueldr: I think it would be possible to add a class to the ToC element for which the ToC was generated, is that what you mean?
alp has quit [Ping timeout: 252 seconds]
pie__ has quit [Ping timeout: 252 seconds]
<gchristensen> samueldr: http://gsc.io/search-docs/sec-multiple-outputs-installing.html the link for 5.2. "Installing a split package" has a current-page class now
alp has joined #nixos-dev
<samueldr> gchristensen: that's good
<gchristensen> is that what is required? do you need the whole path of elements to be class'd as well?
<samueldr> for css-only solutions: needed
<samueldr> for js: not needed
<gchristensen> ok
<samueldr> so, ideally if you could have current-section on all parents of current-page it would be great
<gchristensen> I imagine there is a way to say "is element A an ancestor of element B?"
<gchristensen> but I don't know what it is yet
* samueldr is looking more closely to the DOM
<gchristensen> oh... string search.
<samueldr> the `dt` might be a better location for current-page, and `dd` for current-section
<samueldr> hmm, maybe both dt and dd would require current-section, considering otherwise it would be hard to make the section name show differently
<gchristensen> (fwiw, I can't do current-section, just current-page, since this is render-time)
<samueldr> hm? you know the section the page is in, no?
<gchristensen> oh I thought you meant like, a section selected by the URL fragment
<samueldr> ah, no, render-time only, then we can get *even fancier* later on :)
<gchristensen> :P
<gchristensen> I'll take a look at doing that in a bit. supper time!
<gchristensen> thank you for the help and direction!
orivej has quit [Ping timeout: 268 seconds]
v0|d has joined #nixos-dev
psyanticy has quit [Quit: Connection closed for inactivity]
noonien has quit [Quit: Connection closed for inactivity]
FRidh has quit [Quit: Konversation terminated!]
pie__ has joined #nixos-dev
pie__ has quit [Ping timeout: 250 seconds]
<gchristensen> samueldr: I am fed, enlighted, and have made progress!
<samueldr> after the first three words I got worried "up" was coming
<gchristensen> lol
<gchristensen> http://gsc.io/search-docs/sec-multiple-outputs-installing.html has .current-page and .current-section classes, I think in the right place. add .current-section {background-color: blue;} .current-page {background-color: red;} to see?
<gchristensen> should I give its peers the current-section class too?
<samueldr> is there an issue preventing it to be added to the element which holds the link; directly on `dt` (and current-section doubled on `dd`)
<gchristensen> hmm
<samueldr> it wouldn't end up working neatly with it set on spans without JS
<samueldr> you can't apply something on a parent depending on the children's classes
<samueldr> (might be possible in the future, and kinda breaks the cascade)
<gchristensen> got it on the dt
<gchristensen> looking in to dd
<gchristensen> oxygen has been so useful for this
<gchristensen> stack traces, break points, variable inspection, arbitrary xpath execution during a paused evaluation ... so good
<gchristensen> <xsl:when test="local-name(.) = 'simplesect'"><!-- sigh... --><xsl:choose>
<gchristensen> this docbook xsl code has fun to read bits
<gchristensen> samueldr: adding it to the dd is a bit ugly. necessary, though?
<samueldr> let me test something
<samueldr> should be workable without it on dd since dd is always after dt
<gchristensen> ok
<gchristensen> if it is, that makes it a lot easier
<gchristensen> otherwise I have to duplicate about 180 lines of xslt to add 2 lines of code in 1 place