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

Raw html file inclusion doesn't work #869

Closed
slavakx opened this issue Dec 1, 2023 · 2 comments
Closed

Raw html file inclusion doesn't work #869

slavakx opened this issue Dec 1, 2023 · 2 comments
Labels
question A generic inquiry

Comments

@slavakx
Copy link

slavakx commented Dec 1, 2023

I am using the following block to include a raw hml file into the sphinx:
It works fine locally but not with confluence builder. The confluence page is empty.
Is there any workaround?

`

.. raw:: html
    :file: file.html

`

Thanks

@jdknight
Copy link
Member

jdknight commented Dec 1, 2023

The raw directive is passing through content (as expected) when using the html builder, for raw content flagged for html.

If looking for the tag to use to pass in raw Confluence storage format content into a document, the build format should be identified with the confluence_storage tag:

.. raw:: confluence_storage

   ...

Although, if looking to pass in raw HTML into Confluence builder, there may be an interest in the unsupported confluence_permit_raw_html option.

@jdknight jdknight added the question A generic inquiry label Dec 1, 2023
@jdknight
Copy link
Member

It is believed that there are existing options to handle OP's use case (mentioned above). Therefore, I will be marking this issue as closed. Please feel free to re-open this issue or create a new one with more details if there is an issue with any of these options (that should be supported by this extension).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A generic inquiry
Projects
None yet
Development

No branches or pull requests

2 participants