diff --git a/Dockerfile b/Dockerfile index aaec8dc..d721a49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,9 @@ RUN pip install --no-cache-dir -r requirements.txt COPY . . -ARG GITHUB_TOKEN="" -RUN if [ -n "$GITHUB_TOKEN" ]; then \ - git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"; \ +ARG FORGEJO_TOKEN="" +RUN if [ -n "$FORGEJO_TOKEN" ]; then \ + git config --global url."https://x-access-token:${FORGEJO_TOKEN}@git.daelon.cloud/".insteadOf "https://git.daelon.cloud/"; \ fi \ && mkdocs build --strict --site-dir /site diff --git a/mkdocs.yml b/mkdocs.yml index 27d1bb7..7fb1a1e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -50,9 +50,9 @@ plugins: keep_docs_dir: true repos: - section: LiquidCore15 - import_url: 'https://github.com/daelon-eng/LiquidCore15?branch=main&docs_dir=docs/*' + import_url: 'https://git.daelon.cloud/daelon/LiquidCore15?branch=main&docs_dir=docs/*' - section: LCGUI - import_url: 'https://github.com/daelon-eng/LCGUI?branch=main&docs_dir=docs/*' + import_url: 'https://git.daelon.cloud/daelon/LCGUI?branch=main&docs_dir=docs/*' markdown_extensions: - admonition @@ -81,5 +81,5 @@ markdown_extensions: nav: - Home: index.md - - LiquidCore15: '!import https://github.com/daelon-eng/LiquidCore15?branch=main' - - LCGUI: '!import https://github.com/daelon-eng/LCGUI?branch=main' + - LiquidCore15: '!import https://git.daelon.cloud/daelon/LiquidCore15?branch=main' + - LCGUI: '!import https://git.daelon.cloud/daelon/LCGUI?branch=main'