Re: Hyperlinks!

2020-04-14 Thread Christopher Lemmer Webber
t; Scheme code snippets in the on-line manual now have hyperlinks for all > the symbols documented in the manual: > > > https://guix.gnu.org/manual/devel/en/html_node/Using-the-Configuration-System.html > https://guix.gnu.org/manual/devel/en/html_node/Defining-Packages.html &g

Re: Hyperlinks!

2020-04-14 Thread Konrad Hinsen
On 13/04/2020 13:13, Pierre Neidhardt wrote: Ludovic Courtès writes: I’d like to extend it to include references to the Guile manual, so that one could click on, say, ‘append’, but there might be too many false positives at that point. And then we would need DrRacket fanciness to be able to d

Re: Hyperlinks!

2020-04-14 Thread Ludovic Courtès
Hi, "pelzflorian (Florian Pelz)" skribis: > https://guix.gnu.org/manual-devel/ I’m surprised this URL works; should be . > currently contains new stuff like the earlyoom service , while > > https://guix.gnu.org/manual/ > > does not. I do not know what the p

Re: Hyperlinks!

2020-04-14 Thread pelzflorian (Florian Pelz)
On Tue, Apr 14, 2020 at 09:09:24AM +0200, Bengt Richter wrote: > I think it important to have a very up-to-date version of docs > that can be downloaded like the single-page html doc alternatives > usually offered on gnu.org, for off-line use, and not have it too dependent > on secondary external l

Re: Hyperlinks!

2020-04-14 Thread Bengt Richter
Hi Ludo, On +2020-04-13 12:58:42 +0200, Ludovic Courtès wrote: > Hello Guix! > > Scheme code snippets in the on-line manual now have hyperlinks for all > the symbols documented in the manual: > > > https://guix.gnu.org/manual/devel/en/html_node/Using-the-Configuration-

Re: Hyperlinks!

2020-04-13 Thread Ludovic Courtès
Hi! Thanks all for the clarifications! I’ve pushed an update to ‘code.css’ that gives me the result I wanted (should show up on-line soonish, just reload the page). Ludo’.

Re: Hyperlinks!

2020-04-13 Thread Danny Milosavljevic
Hi Ricardo, On Mon, 13 Apr 2020 23:05:00 +0200 Ricardo Wurmus wrote: > Oh, thanks for the clarification. I must have misunderstood Ludo’s request. No, it's totally possible that he meant it like you meant it. Thanks for your version! pgpQ6RCrghqEr.pgp Description: OpenPGP digital signature

Re: Hyperlinks!

2020-04-13 Thread Ricardo Wurmus
Danny Milosavljevic writes: > Hi Ricardo, > > On Mon, 13 Apr 2020 20:09:26 +0200 > Ricardo Wurmus wrote: > >> Danny Milosavljevic writes: >> >> > On Mon, 13 Apr 2020 12:58:42 +0200 >> > Ludovic Courtès wrote: >> > >> >> (If anyone knows how to get ‘a.syntax-symbol’ CSS different from just

Re: Hyperlinks!

2020-04-13 Thread Danny Milosavljevic
Hi Ricardo, On Mon, 13 Apr 2020 20:09:26 +0200 Ricardo Wurmus wrote: > Danny Milosavljevic writes: > > > On Mon, 13 Apr 2020 12:58:42 +0200 > > Ludovic Courtès wrote: > > > >> (If anyone knows how to get ‘a.syntax-symbol’ CSS different from just > >> ‘a’, I’m all ears!) > […] > > a.syntax

Re: Hyperlinks!

2020-04-13 Thread Ricardo Wurmus
Danny Milosavljevic writes: > On Mon, 13 Apr 2020 12:58:42 +0200 > Ludovic Courtès wrote: > >> (If anyone knows how to get ‘a.syntax-symbol’ CSS different from just >> ‘a’, I’m all ears!) […] > a.syntax-symbol { > color: red; > } > a:not(.syntax-symbol) { > background-color: blue; > } The f

Re: Hyperlinks!

2020-04-13 Thread sirgazil
On Mon, 13 Apr 2020 10:58:42 + Ludovic Courtès wrote > Hello Guix! > > Scheme code snippets in the on-line manual now have hyperlinks for all > the symbols documented in the manual: > > > https://guix.gnu.org/manual/devel/en/html_node/Us

Re: Hyperlinks!

2020-04-13 Thread Christopher Baines
Ludovic Courtès writes: > Hello Guix! > > Scheme code snippets in the on-line manual now have hyperlinks for all > the symbols documented in the manual: > > > https://guix.gnu.org/manual/devel/en/html_node/Using-the-Configuration-System.html > https://guix.gnu.org/m

Re: Hyperlinks!

2020-04-13 Thread Julien Lepiller
Le 13 avril 2020 11:10:32 GMT-04:00, "Ludovic Courtès" a écrit : >Hi, > >Danny Milosavljevic skribis: > >> a:not(.syntax-symbol) { >> background-color: blue; >> } > >Nice! It works, but I’d have to spread “not(.syntax-symbol)” in CSS >files that shouldn’t know about ‘syntax-symbol’ in the first

Re: Hyperlinks!

2020-04-13 Thread Ludovic Courtès
Hi, Danny Milosavljevic skribis: > a:not(.syntax-symbol) { > background-color: blue; > } Nice! It works, but I’d have to spread “not(.syntax-symbol)” in CSS files that shouldn’t know about ‘syntax-symbol’ in the first place. Is there a way to somehow have an ‘a.syntax-symbol’ rule take prece

Re: Hyperlinks!

2020-04-13 Thread Danny Milosavljevic
Or visibility: hidden instead of display: none and visibility: visible instead of display: inline if we don't want the actual layout to change (probably a good idea not to recompute the layout every time someone hovers over something :) ). pgpySbempLVqb.pgp Description: OpenPGP digi

Re: Hyperlinks!

2020-04-13 Thread Danny Milosavljevic
Hi Ludo, On Mon, 13 Apr 2020 15:56:22 +0200 Ludovic Courtès wrote: > > when you mouse-over the function name line, a > > "permalink to this definition" appears. > > I’m not sure how to do that. Isn’t there some JavaScript involved? The CSS selector ":hover" selects the block only when you a

Re: Hyperlinks!

2020-04-13 Thread Ludovic Courtès
Vincent Legoll skribis: > I see there are "#index${SOMETHING}" url suffixes, > > What about adding anchors like on: > > https://docs.python.org/3/library/functions.html#eval There are already anchors, but they look like #index-procedure. > when you mouse-over the function name line, a > "permal

Re: Hyperlinks!

2020-04-13 Thread Vincent Legoll
Hello, On 13/04/2020 15:48, Ludovic Courtès wrote: Vincent Legoll skribis: 1st bug report ? :P OK, not strictly a bug report since it's on the wrong ML... on the page: https://guix.gnu.org/manual/devel/en/html_node/Using-the-Configuration-System.html The %base-packages is not cross-referen

Re: Hyperlinks!

2020-04-13 Thread Ludovic Courtès
Hi, Vincent Legoll skribis: > 1st bug report ? :P > > OK, not strictly a bug report since it's on the > wrong ML... > > on the page: > https://guix.gnu.org/manual/devel/en/html_node/Using-the-Configuration-System.html > > The %base-packages is not cross-referenced, > whereas all the other %base-

Re: Hyperlinks!

2020-04-13 Thread Vincent Legoll
I see there are "#index${SOMETHING}" url suffixes, What about adding anchors like on: https://docs.python.org/3/library/functions.html#eval when you mouse-over the function name line, a "permalink to this definition" appears. I often want to give pointers to specific parts of the doc, and did

Re: Hyperlinks!

2020-04-13 Thread Vincent Legoll
1st bug report ? :P OK, not strictly a bug report since it's on the wrong ML... on the page: https://guix.gnu.org/manual/devel/en/html_node/Using-the-Configuration-System.html The %base-packages is not cross-referenced, whereas all the other %base-* are. Should I create an issue for it ? -- V

Re: Hyperlinks!

2020-04-13 Thread Vincent Legoll
Hello, On 13/04/2020 12:58, Ludovic Courtès wrote: Scheme code snippets in the on-line manual now have hyperlinks for all the symbols documented in the manual: https://guix.gnu.org/manual/devel/en/html_node/Using-the-Configuration-System.html https://guix.gnu.org/manual/devel/en

Re: Hyperlinks!

2020-04-13 Thread Danny Milosavljevic
Hi Ludo, On Mon, 13 Apr 2020 12:58:42 +0200 Ludovic Courtès wrote: > (If anyone knows how to get ‘a.syntax-symbol’ CSS different from just > ‘a’, I’m all ears!) a.syntax-symbol { color: red; } a:not(.syntax-symbol) { background-color: blue; } http://www.a.com/";>without class http://ww

Hyperlinks!

2020-04-13 Thread Ludovic Courtès
Hello Guix! Scheme code snippets in the on-line manual now have hyperlinks for all the symbols documented in the manual: https://guix.gnu.org/manual/devel/en/html_node/Using-the-Configuration-System.html https://guix.gnu.org/manual/devel/en/html_node/Defining-Packages.html Hyperlinks are