This Action will crawl through a repository on github and create a tree of pages on confluence for all markdown / images:
When this action is run:
A confluence page will be created containing the markdown documentation of a repository
Any new markdown pages in the repository will be uploaded or updated
A plaintext markup page will be generated and uploaded for code in pages with markdown
Old markdown pages online that have been removed in the repository will be deleted
Features:
Folders with no content will be skipped to prevent a long chain of child pages & general confusion.
Images will be displayed in markdown pages.
Important:
This creates a mirror image of documentation in github in confluence - you can add comments to pages but any edits to the pages in confluence will be deleted when the page is next updated. So don't bother editing these pages in confluence!
There must be at least one markdown file in the root repository i.e README.md
Markdown title taken by the name of the markdown file.
Alternatively, title can be grabbed via TOML frontmatter. For more information on this, see the next section.
TOML frontmatter:
Frontmatter is essentially a location where you can add metadata to your markdown.
Here is an example of TOML frontmatter including the title.
+++
title = "example title goes here"
+++
For this to function, just place this frontmatter at the start of your markdown.
TOML frontmatter can include many more properties. For more information on TOML
please visit this link here --> https://gohugo.io/content-management/front-matter/
At the moment this application only makes use of 'title' from frontmatter. Over time
however this feature could grow. I guess it depends on the uptake of usage of frontmatter
against just using the # / ## titles.
Package todo is to gather all TODO's in a repo and store them in one file for people to look through notodo: this is the TODO PACKAGE so we don't need to pick this up
Package todo is to gather all TODO's in a repo and store them in one file for people to look through notodo: this is the TODO PACKAGE so we don't need to pick this up
Click to show internal directories.
Click to hide internal directories.
go.dev uses cookies from Google to deliver and enhance the quality of its services and to
analyze traffic. Learn more.