Skip to main content

Enable GitLab pages to provide documentation for multiple versions

Project description

Lightweight versioned GitLab Pages

Generate index page with links to all previously archived folders during a tag build


Installation

pip install lightweight-versioned-gitlab-pages

Usage

Help

generate-versioned-pages --help

Generate lightweight versioned pages

The following command will create a folder named public at the current location and place an index HTML file inside.

This index file contains a very basic Bootstrap cards list with all previously built tags and the URL to the public pages archive files

generate-versioned-pages --private_token asdf-carlTheLamaIsHere --project-id 43170198 --job-name pages
.. warning::
    A tag will be listed even if there has been no public folder archived.
This repo and package is under construction! Fixes and improvements are on the
way.

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

Built Distribution

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