-
Notifications
You must be signed in to change notification settings - Fork 3
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
AsciiDoc include macro isn't working #86
Comments
Re-opening this issue. I've found other instances where the See the following links. This isn't a comprehensive list, it's just what I spot checked:
|
since the HTML format changed on the worker to make the include fragments, those docs were broken until republish just republished all, seems to be working now |
@maxakuru This still isn't completely working. This page still has the issue: |
@maxakuru Also, quick question: What's the best way to force a republish on all content? |
@iansk I republished all, seems to be working now.. could you take another look? by design we don't have a convenient button to republish all docs, since we want to be selective for performance... however there is a script in the # publish one
npm run publish:batch docs/en/compute/pcee/admin-guide/waas/deploy-waas/deployment-hosts
# publish all in specific folder
npm run publish:batch docs/en/compute/pcee/admin-guide/waas/deploy-waas/fragments/**/*
# publish all (takes ~30 mins)
npm run publish:batch docs/**/* |
@maxakuru Awesome, that's good stuff. Thanks for providing the script |
@maxakuru I'm still seeing issues with this. If I grep through the doc content for As an example, these pages still show the issue. I'm not sure if was previously fixed, and now showing up again. But currently, the latest published content shows the issue:
|
@iansk these are because we changed the rules for document naming to normalize paths, but didn't change the content of the documents to correctly reference those new names.
for each of these we just need to replace the |
@maxakuru Yes, that helps, thanks. I updated the underscore to a dash, but it's still not working completely working for me. Also, I now see some HTML code being rendered on the page. Franklin preview: GitHub pull request: BTW, our embedded Gdocs stopped working since you merged some recent fixes. I see the same weird HTML code on the page, so it may be related to this issue.
|
@iansk yep my bad, I forgot to merge a fix for a typo yesterday, fix was merged in hlxsites/prisma-cloud-docs#70 |
@maxakuru Thanks, the gdocs are loading again now. But the I tried republishing the page, but nothing changed. When I inspect the element on the page, I see it's rendered (incorrectly) as a link:
|
@iansk looking at logs and I see also on remember that the |
AsciiDoc has a macro that lets you pull in adoc content from other files. The
include::
macro isn't working on our Franklin pages. See the official documentation forinclude::
here.This page shows the issue (scroll to the bottom of the page):
Link: Onboard Accounts for Agentless Scanning
Relevant underlying doc source:
Screenshot:
The text was updated successfully, but these errors were encountered: