conventionalcommits.org/README.md

52 lines
2.4 KiB
Markdown
Raw Normal View History

# ConventionalCommits.org
2016-04-05 06:38:10 +02:00
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
2016-04-05 06:38:10 +02:00
This repo is the home of the Conventional Commits specification.
## Repo Layout
2018-09-13 22:36:30 +02:00
We use [HUGO](https://gohugo.io/) as static site generator, so we use the [directory structure](https://gohugo.io/getting-started/directory-structure/) HUGO proposes.
#### Our implementation
* `./content`: contains all the versions of the specification.
* `./content/next/`: contains the version of the specification (where all the changes SHOULD be made).
* `./content/**/index[.lang].md`: contains the content of the specification, if a language is specified it's a translation.
## Contributing
We'd love your help refining the language of this specification,
fixing typos, or adding more translations. Please don't hesitate
to send a pull request.
### Adding a translation
2018-09-13 22:36:30 +02:00
1. Create a new file in `./content/version/index.{lang}.md` using the hugo command `hugo new {version}/index.{lang}.md`.
1. Ensure all files have the appropriate fields required (see others as an example)..
1. Add the language to the `config.yaml` file (see others as an example).
2018-07-04 02:01:55 +02:00
### Running project locally
There's a docker-compose.yml file ready that will help you to check if the website looks good!
To run it make sure you have [docker-compose installed](https://docs.docker.com/compose/install/#install-compose) on your machine and just use the command `docker-compose up` to make it run locally.
2018-09-13 22:36:30 +02:00
Once the website will be compiled, you can see the website visiting `http://localhost:1313`
## Badges!
Tell your users that you use the Conventional Commits specification:
```markdown
2019-02-18 21:27:16 +01:00
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) [![Greenkeeper badge](https://badges.greenkeeper.io/conventional-commits/conventionalcommits.org.svg)](https://greenkeeper.io/)
```
2018-09-13 22:36:30 +02:00
## Thank you
2018-09-16 23:43:09 +02:00
To ***[Lorenzo D'Ianni](https://github.com/lorenzodianni)*** for the great effort creating the CSS and the HTML for the new UI.
2018-09-13 22:36:30 +02:00
To [Netlify](https://www.netlify.com/) to host our project, giving us a lot of [amazing built in functionality](https://www.netlify.com/features/) for free.
2018-09-13 22:36:30 +02:00
To `semver.org`: we used [semver.org](https://github.com/mojombo/semver.org) as a blueprint for
2018-09-16 23:43:09 +02:00
the structure of this specification and the first version of the website.