-
Notifications
You must be signed in to change notification settings - Fork 335
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
Asciidoctor support #505
Comments
I wasn't able to build the APM Server documentation due to a bunch of parser errors, but the agents look lovely! Two additional things I noticed:
|
I've added it to my checklist! |
Pinging @clintongormley who wanted to have a look at these. My plan was to make some asciidoctor plugins to try and smooth out the differences that I've listed. |
Related to #567, I would like to use this asciidoctor functionality: https://asciidoctor.org/docs/asciidoc-writers-guide/#target-window-and-role-attributes-for-links
... it's not recognizing the role attribute. It outputs it as additional text: |
You might already be aware, but when I test the Kibana Guide via "docbldkb --asciidoctor --lenient", it fails as follows:
The above error disappears when I clean up the unnecessary float per elastic/kibana#29875 The following error persists, however:
|
Here's another issue that might be related to #541. I found it while working on elastic/stack-docs#197 The images that get added for special blocks (like IMPORTANT) are missing. For example, see: When those are fixed, however, I think the Installation and Upgrade Guide is in a good state to start using Asciidoctor. |
Nice! I did know about the issue but hadn't added it to the list. I don't really have an excuse. I just suck it in my head. Anyway. I'm glad to know that is working well there.
Yikes! That is in my code. I'll add it to the list as well. |
The Stack Overview build (using the alias in #649) is failing now:
Nevermind, I was able to debug the cause with the --lenient parameter. It's related to callouts and mismatched separators. |
I hadn't tested building the X-Pack Reference until now: #653 It's failing with the following errors:
Those errors remind me of the problems we had earlier with the --resource paths, but I can't find the relevant PR. Is it #601 ? Alternatively, they might be related to the fact that these x-pack-elasticsearch and x-pack-kibana repos exist under *-extra folders. |
Yeah no think it is the extra thing. I'll look at it. I expect it has to
do with how I mount the repos for docker.
…On Wed, Feb 27, 2019, 12:18 Lisa Cawley ***@***.***> wrote:
I hadn't tested building the X-Pack Reference until now: #653
<#653>
It's failing with the following errors:
Lisas-MBP-2:GitRepo lcawley$ docbldx --open --lenient
INFO:docker build:Building the docker image that will build the docs.
Expect this to take somewhere between a hundred milliseconds and five
minutes.
INFO:build_docs:Building HTML from /doc/x-pack/docs/en/index.asciidoc
INFO:build_docs:
INFO:build_docs:asciidoctor: ERROR: index.asciidoc: line 22: include file
not found:
/doc/elasticsearch-extra/x-pack-elasticsearch/docs/en/security/index.asciidoc
INFO:build_docs:asciidoctor: ERROR: index.asciidoc: line 26: include file
not found:
/doc/elasticsearch-extra/x-pack-elasticsearch/docs/en/watcher/index.asciidoc
INFO:build_docs:asciidoctor: ERROR: index.asciidoc: line 28: include file
not found:
/doc/elasticsearch-extra/x-pack-elasticsearch/docs/en/ml/index.asciidoc
Those errors remind me of the problems we had earlier with the --resource
paths, but I can't find the relevant PR. Alternatively, they might be
related to the fact that these x-pack-elasticsearch and x-pack-kibana repos
exist under *-extra folders.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#505 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AANLouFJKrt01O25e6Tz5A0DNpCN1229ks5vRr3hgaJpZM4ZQQRi>
.
|
All done! |
The Elastic doc toolchain migrated from the original Python Asciidoc to Asciidoctor, a re-implementation in Ruby (tracked in elastic#505). During the migration, the README referenced both Asciidoc and Asciidoctor. After the migration, elastic#1414 removed all references to the original Asciidoc and standardized the README on Asciidoctor. However, I found one lingering reference to the days when both tools were being used. Remove a reference to the obsolete `--asciidoctor` command line option and a note about Asciidoc vs Asciidoctor.
The Elastic doc toolchain migrated from the original Python Asciidoc to Asciidoctor, a re-implementation in Ruby (tracked in #505). During the migration, the README referenced both Asciidoc and Asciidoctor. After the migration, #1414 removed all references to the original Asciidoc and standardized the README on Asciidoctor. However, I found one lingering reference to the days when both tools were being used. Remove a reference to the obsolete `--asciidoctor` command line option and a note about Asciidoc vs Asciidoctor.
I'm using this to track things left to do for the initial Asciidoctor support:
Archived bullets:
[[float]]
/chunking doesn't work (this might be the same as "Table of contents doesn't explode"?) (Asciidoctor: Fix raw xslt opts #527)OPEN IN CONSOLE
isn't kicking in (Asciidoctor: Support for "open in widget" #627)_whats_next
in asciidoctor vs_what_8217_s_next
in asciidoc)The text was updated successfully, but these errors were encountered: