Skip to content

Infrastrukturait/READMEgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README generator

WeSupportUkraine

About

This is a simple templating method that allows us to standardize way to create README.md in our organization. Idea was taken from cloudposse and them build-harness.

License

License: GPL v3

GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Authors

Variables

Name "" Main pretty name of repository
repo_name ""
repo_url "" Url to repository
license GPLv3 License Type. Available licenses: APACHE2, CC-BY-NC-SA-4.0, MIT, ISC, GPLv3.
logo "" Logo from url that will be added under name of repository in README file
badges [{}] Array with badges will be added on the same line with name of repository in README file.
includes [] List of path to extra RAW markdown files that be included
references [] List of reference links to generate a shortcut in the format [1..n]
authors [{}] List of authors. Contributes at this moment you can add by includes block from external markdown file.
context [] block of text with multiple lines
references [] List of references links list, generated with integer indexes from 1..n to easy manage links on context. Always predefinied link is a [repo_url].
deprecated "" this flag accept all content. This is no metter, if script find this flag, will add infromation about deprecation.

Requirements

Examples

This README.md was generated by this script with above configuration:

{
  "name": "README generator",
  "repo_url": "https://github.com/InfrastrukturaIT/readmegen",
  "license": "GPLv3",
  "includes": [
    "docs/vars.md",
    "docs/requirements.md"
  ],
  "badges": [
    {
      "name": "WeSupportUkraine",
      "image": "https://raw.githubusercontent.com/Infrastrukturait/WeSupportUkraine/main/banner.svg",
      "url": "https://github.com/Infrastrukturait/WeSupportUkraine"
    }
  ],
  "authors": [
    {
      "name": "Rafał Masiarek",
      "email": "rafal@masiarek.pl",
      "github": "rafalmasiarek",
      "website": "https://masiarek.pl"
    }
  ],
  "context": [
  "## About\n",
  "This is a simple templating method that allows us to standardize way to create README.md in our organization.",
  "Idea was *taken* from [cloudposse][1] and them [build-harness][2]."
  ],
  "references": [
    "https://cloudposse.com",
    "https://github.com/cloudposse/build-harness"
  ]
}

About

Functionality to easy generated README.md

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published