From d27ee8d931d7d301f0ea0094c85d2c173be3789b Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Wed, 8 Feb 2023 23:22:41 -0800 Subject: [PATCH] remove yaml frontmatter so github won't show it --- README.md | 10 +--------- docs/gemstash-authorize.1.md | 6 +----- docs/gemstash-configuration.5.md | 6 +----- docs/gemstash-customize.7.md | 6 +----- docs/gemstash-debugging.7.md | 6 +----- docs/gemstash-deploy.7.md | 6 +----- docs/gemstash-mirror.7.md | 6 +----- docs/gemstash-multiple-sources.7.md | 6 +----- docs/gemstash-private-gems.7.md | 6 +----- docs/gemstash-setup.1.md | 6 +----- docs/gemstash-start.1.md | 6 +----- docs/gemstash-status.1.md | 6 +----- docs/gemstash-stop.1.md | 6 +----- docs/gemstash-version.1.md | 6 +----- rakelib/doc.rake | 1 + 15 files changed, 15 insertions(+), 74 deletions(-) diff --git a/README.md b/README.md index 152f7ce3..f41833c7 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,5 @@ ---- -date: November 30, 2015 -html_link_name: index.html -insert_images: true -markdown_github_link_name: README.md -markdown_github_link_path: . -section: 7 -title: gemstash-readme ---- + # Gemstash diff --git a/docs/gemstash-authorize.1.md b/docs/gemstash-authorize.1.md index 0a8cabb7..f49c96f5 100644 --- a/docs/gemstash-authorize.1.md +++ b/docs/gemstash-authorize.1.md @@ -1,9 +1,5 @@ ---- -date: October 9, 2015 -section: 1 -title: gemstash-authorize ---- + # Name diff --git a/docs/gemstash-configuration.5.md b/docs/gemstash-configuration.5.md index 31f5c201..1d1d98d0 100644 --- a/docs/gemstash-configuration.5.md +++ b/docs/gemstash-configuration.5.md @@ -1,9 +1,5 @@ ---- -date: October 13, 2015 -section: 5 -title: gemstash-configuration ---- + # Name diff --git a/docs/gemstash-customize.7.md b/docs/gemstash-customize.7.md index dc68910a..cfcfe20f 100644 --- a/docs/gemstash-customize.7.md +++ b/docs/gemstash-customize.7.md @@ -1,9 +1,5 @@ ---- -date: October 28, 2015 -section: 7 -title: gemstash-customize ---- + # Customizing the Server diff --git a/docs/gemstash-debugging.7.md b/docs/gemstash-debugging.7.md index eadcf722..49123e77 100644 --- a/docs/gemstash-debugging.7.md +++ b/docs/gemstash-debugging.7.md @@ -1,9 +1,5 @@ ---- -date: October 28, 2015 -section: 7 -title: gemstash-debugging ---- + # Debugging Gemstash diff --git a/docs/gemstash-deploy.7.md b/docs/gemstash-deploy.7.md index e02646ae..6ecb696a 100644 --- a/docs/gemstash-deploy.7.md +++ b/docs/gemstash-deploy.7.md @@ -1,9 +1,5 @@ ---- -date: October 25, 2015 -section: 7 -title: gemstash-deploy ---- + # Deploying Gemstash diff --git a/docs/gemstash-mirror.7.md b/docs/gemstash-mirror.7.md index 816d0589..7d67c77f 100644 --- a/docs/gemstash-mirror.7.md +++ b/docs/gemstash-mirror.7.md @@ -1,9 +1,5 @@ ---- -date: October 25, 2015 -section: 7 -title: gemstash-mirror ---- + # Using Gemstash as a Mirror diff --git a/docs/gemstash-multiple-sources.7.md b/docs/gemstash-multiple-sources.7.md index a28beca8..589a0fbf 100644 --- a/docs/gemstash-multiple-sources.7.md +++ b/docs/gemstash-multiple-sources.7.md @@ -1,9 +1,5 @@ ---- -date: October 8, 2015 -section: 7 -title: gemstash-multiple-sources ---- + # Multiple Gem Sources diff --git a/docs/gemstash-private-gems.7.md b/docs/gemstash-private-gems.7.md index ccf8cde9..80f687ae 100644 --- a/docs/gemstash-private-gems.7.md +++ b/docs/gemstash-private-gems.7.md @@ -1,9 +1,5 @@ ---- -date: October 8, 2015 -section: 7 -title: gemstash-private-gems ---- + # Private Gems diff --git a/docs/gemstash-setup.1.md b/docs/gemstash-setup.1.md index 9539dd74..79b5eb72 100644 --- a/docs/gemstash-setup.1.md +++ b/docs/gemstash-setup.1.md @@ -1,9 +1,5 @@ ---- -date: October 9, 2015 -section: 1 -title: gemstash-setup ---- + # Name diff --git a/docs/gemstash-start.1.md b/docs/gemstash-start.1.md index ae40333e..a5c866db 100644 --- a/docs/gemstash-start.1.md +++ b/docs/gemstash-start.1.md @@ -1,9 +1,5 @@ ---- -date: October 9, 2015 -section: 1 -title: gemstash-start ---- + # Name diff --git a/docs/gemstash-status.1.md b/docs/gemstash-status.1.md index 91d44449..eb18bd23 100644 --- a/docs/gemstash-status.1.md +++ b/docs/gemstash-status.1.md @@ -1,9 +1,5 @@ ---- -date: October 28, 2015 -section: 1 -title: gemstash-status ---- + # Name diff --git a/docs/gemstash-stop.1.md b/docs/gemstash-stop.1.md index bdb89403..b913e08e 100644 --- a/docs/gemstash-stop.1.md +++ b/docs/gemstash-stop.1.md @@ -1,9 +1,5 @@ ---- -date: October 9, 2015 -section: 1 -title: gemstash-stop ---- + # Name diff --git a/docs/gemstash-version.1.md b/docs/gemstash-version.1.md index eb6e17c2..17a3b6eb 100644 --- a/docs/gemstash-version.1.md +++ b/docs/gemstash-version.1.md @@ -1,9 +1,5 @@ ---- -date: December 14, 2015 -section: 1 -title: gemstash-version ---- + # Name diff --git a/rakelib/doc.rake b/rakelib/doc.rake index 28a2ab0a..1dbff0ee 100644 --- a/rakelib/doc.rake +++ b/rakelib/doc.rake @@ -90,6 +90,7 @@ class Doc system "pandoc -s -f markdown -t #{format} -o '#{to_file}' '#{file}'" content = ::File.read(to_file) content.gsub!("](./", "](docs/") + content.gsub!(/\A---(.|\n)*?---/, "") ::File.write to_file, "\n#{content}" end