Skip to main content

Include documentation for multiple project versions in a single GitLab page

Project description

gitlab-versioned-pages

conda docs pipeline status coverage report

Include documentation for multiple project versions in a single GitLab page.

Overview

This file creates a ./public folder containing documentation created for multiple versions (tags) of this repository.

When the repository is public, our job is easy: we simply download the artifact.zip file from a publicly-accessible URL (see: downloading the latest artifacts). However, when the repository is private, using the above-mentioned URL does not work (see: gitlab-org/gitlab-ce#22957). In that case, we resort to using the GitLab API instead.

If gitlab-org/gitlab-ce#22957 is ever fixed, we would be able to specify --header "Private-Token: XXXXX" or attach &private_token=XXXXX to the query string, and keep using the original URL:

curl --header "Private-Token: XXXXX" \
    "https://gitlab.com/user/repo/-/jobs/artifacts/ref/download?job=job_name"

Good resource: https://docs.gitlab.com/ee/api/jobs.html#download-the-artifacts-archive.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitlab-versioned-pages-0.1.2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

gitlab_versioned_pages-0.1.2-py2.py3-none-any.whl (6.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gitlab-versioned-pages-0.1.2.tar.gz.

File metadata

  • Download URL: gitlab-versioned-pages-0.1.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.6

File hashes

Hashes for gitlab-versioned-pages-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2233dd363c4f4a1d5307960a91ba4f4698bd5a79c6d9ae8214524841b5fbfa5d
MD5 7791360e635676200aab325544f9bddb
BLAKE2b-256 6c79868b5ab9d224407103e6336ee97a3bea7ece406c3ca7eff3073e19ad7f92

See more details on using hashes here.

File details

Details for the file gitlab_versioned_pages-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: gitlab_versioned_pages-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.6

File hashes

Hashes for gitlab_versioned_pages-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4e5589d7868ac06907262a7f67589ad4d1f77e78d8e010e546ec6aa855d4c9fb
MD5 0dc4a88b7d20e321506cc3818e41bb3f
BLAKE2b-256 6ca5411442e54a2e53d92cfa9aeb83f4b87444088cb93178f1f7391fd54eef3c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page