I have published my pages to https://ef-carbon.github.io/react-native-async-button/ from https://github.com/ef-carbon/react-native-async-button/tree/gh-pages. However, I cannot access any nested pages such as https://github.com/ef-carbon/react-native-async-button/blob/gh-pages/modules/_asyncbutton_component_.html, which should be exposed at https://ef-carbon.github.io/react-native-async-button/modules/_asyncbutton_component_.html. Do I have to configure something to make this be available through GitLab pages?
GitHub Pages uses Jekyll to build all sites by default, and as a result, files with a leading underscore are ignored during the build process by default. More information can be found here:
Since it doesn’t appear that you’re using Jekyll to build your site, the simplest fix for this would be to add an empty “.nojekyll” file to the root of your gh-pages branch. This will disable Jekyll’s build process and publish your site as is.