Zulip Chat Archive

Stream: general

Topic: Autolinking in docs


Eric Wieser (Oct 27 2020 at 18:05):

I notice that the link to leval in docs#finsupp.leval' does not work. Is that because it ought to be spelt finsupp.leval, or can links only point to definitions that come before the current definition?

Gabriel Ebner (Oct 27 2020 at 18:06):

They need to be fully-qualified names.

Yury G. Kudryashov (Oct 27 2020 at 18:10):

BTW, how should we link to other lean files in the docs?

Gabriel Ebner (Oct 27 2020 at 18:14):

How about relative links in the markdown files?

/--
... [finitely-supported functions](../../data/finsupp/basic.lean) ...
-/

(no file links are supported yet)

Yury G. Kudryashov (Oct 27 2020 at 18:15):

And doc-gen will have to replace .lean with .html?

Gabriel Ebner (Oct 27 2020 at 18:16):

Yes.


Last updated: Dec 20 2023 at 11:08 UTC