Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Antora assembler simplification #910

Draft
wants to merge 9 commits into
base: release/3.2
Choose a base branch
from

Conversation

osfameron
Copy link
Collaborator

WIP with antora-assembler

Android database page looks pretty good to me, but haven't done full test!

Run
    perl -ni -e 'print unless /^(\s*$|\/\/)/' \
         modules/ROOT/pages/_partials/_show_glossary_links.adoc
         ...

on the main abstracted partials. This is so that when antora-assembler inlines them,
they won't have extra newlines and // comment lines that confuse the output.

Additionally, manually add a comment to the block_tabbed_code partials, so that
the source of includes can be tracked.
run:

  ./simplify/simplify.sh

This assumes that docs-site and docs-sync-gateway are siblings in the file tree.

This sample only updates the android/database.adoc page for now
(it builds everything, and all the rest should work in exactly the same way,
I just haven't wired that part together yet.)
* Extract `process` call to run on all modules, and all asciidoc files

* {tabs} declarations get mangled
  (possibly same issue as https://gitlab.com/antora/antora-assembler/-/issues/17 ?)
  We now de-munge these
these auto-generated anchors break tabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant