Replies: 3 comments 5 replies
-
You should be able to use the |
Beta Was this translation helpful? Give feedback.
-
I was trying to get a readme file from a private gitlab repository as a test but every time I start from my local docusaurus it saves an html file from the gitlab login page. 'docusaurus-plugin-remote-content', |
Beta Was this translation helpful? Give feedback.
-
Just as an FYI for anyone finding this topic in the future: not sure if it's a Docusaurus configuration option, but when adding an auth token for a private repo to pull documentation into a public repo with this plugin and attempting to deploy it to GitHub pages, GitHub flagged it as attempting to expose the auth token. Sure enough: looking the assets/js/main.#######.js file that gets generated as part of the Docusaurus build and is bundled into the deployed website, it appears to include a post-processed version of the Docusaurus config file--so despite having the auth token as an Environment secret for the repo/GitHub Action and accessing via Fortunately, the private repo is being made public soon so it's whatever to just manually propagate over the doc and automate it later, but figured I'd give a heads up that, at least with how our Docusaurus/build process is configured, it may be exposing your private repo auth token. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
To connect to some repositories like gitlab or private github repositories we need an access token key to use it into the config file.
But I didn't find any option like that.
Can you help me?
Beta Was this translation helpful? Give feedback.
All reactions