GitHub Enterprise Submodules Not Load
Posted: Wed Nov 16, 2022 5:04 am
Hi,
I'm experiencing an issue where Web Author does not load the contents of a submodule in either the file browser, or in the Author view with a relative path to a file in the submodule (an image href).
The file structure of the main repository is the following:
In the GitHub file browser, when loading the main repository and navigating to the submodule folder (shared-media), the submodule folder appears empty and no files display.
Additionally, in the Author view when a topic in the main repo references a resource in the shared-media submodule, for example in topic1.dita:
The actual image is replaced with placeholder image icon.
If it helps, the contents of the .gitmodules file is as follows:
I've confirmed that the Web Author option Enable Git submodules support is enabled. Are there any other steps needed to configure Web Author to load the submodule contents?
We need to have images (and possibly xrefs to DITA topics) sourced from a submodule display in the Author mode for our content contributors.
Please let me know if there's any other information I can provide to help investigate.
Thank you!
Daniel
I'm experiencing an issue where Web Author does not load the contents of a submodule in either the file browser, or in the Author view with a relative path to a file in the submodule (an image href).
The file structure of the main repository is the following:
Code: Select all
|en
|users-guide
|users-guide.ditamap
|topic1.dita
|topic2.dita
|image1.png
|shared-media <= this is the submodule
|image1.png
|image2.png
Additionally, in the Author view when a topic in the main repo references a resource in the shared-media submodule, for example in topic1.dita:
Code: Select all
<image href="./shared-media/image1.png"/>
If it helps, the contents of the .gitmodules file is as follows:
Code: Select all
[submodule "en/users-guide/shared-media"]
path = en/users-guide/shared-media
url = <https url to the GitHub Enterprise repo>
We need to have images (and possibly xrefs to DITA topics) sourced from a submodule display in the Author mode for our content contributors.
Please let me know if there's any other information I can provide to help investigate.
Thank you!
Daniel