Fork me on GitHub
#clerk
<
2023-03-25
>
Yuhrão12:03:24

Hi everyone. I'm thinking about use clerk for docs but I didn't found guides for: 1- Navigation between pages 2- Build static files Does anyone have an example or links that could help me? thanks

Yuhrão12:03:48

Right. Found how to build static files 😬

😆 2
jackrusher12:03:51

Can you expand on (1) a bit?

genmeblog15:03:53

When you build static pages from several notebooks it would be nice to have easy way to link chapters between pages. Codox has wiki links: [[symbol]]. It can be something like this.

jackrusher06:03:58

Ah, yeah, we're working on something like that. 🙂

👍 2
Yuhrão12:03:19

Hi @U07SQTAEM sorry abou the delay. It’s exactly as @U1EP3BZ3Q says. Thank guys.

borkdude13:03:46

Isn’t that what the index page is for?

jackrusher14:03:29

The request, IIUC, is to be able to reference other documents from within a given document.

👍 3
otfrom16:03:29

I know this is a silly question, but I'm failing to find the link on building static pages (/me is made of fail)

Yuhrão21:03:01

@U0525KG62 I found on dev namespace or deps.edn on a alias (don't remember which one exactly 😅)in clerk demo repo

jackrusher07:03:25

It seems to be under-documented atm 🙈

otfrom07:03:58

I vaguely remember some babashka related instructions as well, but I've failed to find them

Yuhrão11:03:43

@U0525KG62 Here's how I'm building them atm 😬 There's a <someghing>-static! function that's in nextjournal.clerk namespace that could be used as well (sorry about not being precise with that information)

jackrusher07:03:23

We're adding some docs around build! to the Book of Clerk, should drop soon.

❤️ 4