-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consider antora #9
Comments
For now we will continue with the master branch and leave the antora branch as is. At least we have a nice reference of how things could look, but it adds too much complexity imo. |
The next issue: This page is obviously in the gh-pages tree: |
@borkdude Can you try adding a |
Not sure what this is, but implementing search is fairly easy with Algolia Docsearch (it's something like 10 lines of code). |
That's it! https://book.babashka.org/_/intro.html |
From @bbatsov on Slack: Btw, if you need search - you can just copy a couple of snippets from https://github.com/nrepl/nrepl.org/blob/master/supplemental-ui/partials/ It's a manual change, but it's pretty simple. |
@bbatsov The ctrl-f thing is explained well in this tweet: |
According to this poll roughly 2/3rd of people prefer the simpler one-page approach: https://twitter.com/borkdude/status/1333429147855708160 The main reasons that were mentioned for #1:
Since I'm not writing docs for myself but for end users, I'm fine with this outcome. |
WIP branch: https://github.com/babashka/book/tree/antora
We have a working version:
References:
Example:
https://github.com/graphitefriction/asciidoctor/blob/issue-3861-import-docs/docs/antora.yml
This seems like a nice starting point:
https://blog.anoff.io/2019-02-15-antora-first-steps/
Trade-offs:
E.g. see https://git.sr.ht/~severeoverfl0w/anansi/tree/master/src2/io/dominic/anansi/adoc.clj
The text was updated successfully, but these errors were encountered: