Gets and displays Gitlab source contents on a Confluence macro.
STEP-1
Go to manage apps and configure Connector for GitLab and Confluence app.
Please see, Generate Gitlab Access Token
STEP-2
Go to Page edit and add GitLab Contents macro and Configure.
Demo configurations:
Project ID: 16488249
URL: https://gitlab.com/gitlab-org/application-performance-team/team-tools/-/blob/master/crunch/crunch.rb
DEMO