Skip to main content

Azure DevOps Wiki to Hugo

Project description

ADO2Hugo

With this program you will be able to export Azure DevOps wikis to Hugo

Azure DevOps offers two kinds of wiki: Project (managed by the platform) or "Wiki as code" (publish directly markdown files from a branch in your repository).

Currently, only wiki projects are supported, and it does not have sense to support the "wiki as code" option.

The program uses the Azure DevOps API to iterate over an organization's projects and, in accordance with Hugo's folder structure, exports all wiki pages with their corresponding attachments.

I have used Geekdoc theme.

You will have to supply, both, an organization name and a PAT (Personal Access Token) like environment variables.

Install

pip install ado2hugo

Usage

set ORGANIZATION=<YOUR_ORGANIZATION>
set PATH=<YOUR_PATH>
ado2hugo C:\Hugo\Sites\example.com\content

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

ado2hugo-1.0.0.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

ado2hugo-1.0.0-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

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