3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
guix/doc
Ludovic Courtès da9deba13d
doc: Emit hyperlinks in HTML output for @lisp snippets.
This makes it easier to jump to the definition of a procedure or
variable when looking at a code snippet.  There can be false-positive
because scoping rules are ignored, for example, but it should be a good
approximation.

* doc/build.scm (syntax-highlighted-html)[build](highlights->sxml*): Add
'anchors' parameter.  Add clause for ('symbol text).
(syntax-highlight): Add 'anchors' parameter.  Wrap body in named let and
use it in recursive calls.  Pass ANCHORS to 'highlights->sxml*'.
(underscore-decode, anchor-id->key, collect-anchors, html?): New procedures.
(process-file): Add 'anchors' parameter. and honor it.
Rewrite mono-node and multi-node HTML files separately.
2020-04-13 01:21:49 +02:00
..
images Merge branch 'staging' into core-updates 2019-03-14 16:30:19 +01:00
build.scm doc: Emit hyperlinks in HTML output for @lisp snippets. 2020-04-13 01:21:49 +02:00
contributing.texi doc: Update guidance about Python 2 package variants. 2020-03-13 19:27:33 -04:00
environment-gdb.scm doc: Add 'guix environment' examples. 2015-06-29 23:08:36 +02:00
fdl-1.3.texi doc: Use HTTPS for external links. 2020-03-10 20:26:52 +01:00
guix-cookbook.texi gnu: Add sbcl-stumpwm-ttf-fonts. 2020-03-30 23:20:54 +03:00
guix.texi doc: Mention HTTP/HTTPS proxy in the system installation instructions. 2020-04-08 12:42:41 +02:00
htmlxref.cnf doc: Update htmlxref.cnf. 2020-01-12 00:19:10 +01:00
local.mk doc: Add German Cookbook translation. 2020-02-17 06:52:11 +00:00
package-hello.scm doc: Use the recommended Scheme format. 2015-09-14 23:10:58 +02:00