Browse code

Created repository.

DoubleBastionAdmin authored on 26/01/2022 20:32:42
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,106 @@
1
+# Contributing to Font Awesome
2
+
3
+Looking to contribute something to Font Awesome? **Here's how you can help.**
4
+
5
+
6
+
7
+## Requesting new icons
8
+
9
+New icons mostly start as requests by the [Font Awesome community on GitHub](../../issues). Want to request a new icon? Here are some things to keep in mind:
10
+
11
+1. Please be nice. Font Awesome is a happy place.
12
+2. Please do not request comprehensive sets of icons related to a very specific field.
13
+3. Please [search](../../search?type=Issues) to see if your icon request already exists. If a request is found, please add a 👍 reaction to that one.
14
+4. Please make requests for single icons, unless you are requesting a couple of strictly related icons (e.g., thumbs-up/thumbs-down).
15
+5. Please and thank you if you include the following:
16
+  - Title your [new issue](../../issues/new?title=Icon%20Request:%20icon-) `Icon request: icon-name` (e.g., `Icon request: icon-car`).
17
+  - Include a few use cases for your requested icon. How do you plan on using it?
18
+  - Attach a single color image or two that represent the idea you're going for.
19
+  - Request concrete objects: it's harder to make an icon to represent happiness, it's easier to make a smiley face. ☺
20
+
21
+
22
+
23
+## Suggesting icon keyword addition/removal
24
+
25
+Icon filters are maintained by the [Font Awesome community on GitHub](../../pulls?q=is%3Apr+label%3Adoc).
26
+
27
+If you feel that an icon
28
+
29
+* is missing keyword(s)
30
+* contains invalid keyword(s)
31
+
32
+please send a [PR](https://help.github.com/articles/using-pull-requests/) to the `master` branch.
33
+
34
+
35
+
36
+## Reporting issues
37
+
38
+We only accept issues that are icon requests, bug reports, or feature requests. Bugs must be isolated and reproducible problems that we can fix within the Font Awesome core. Please read the following guidelines to ensure you are the paragon of bug reporting.
39
+
40
+1. **Search for existing issues.** We get a lot of duplicate issues, and you'd help us out a lot by first checking if someone else has reported the same issue. Moreover, the issue may have already been resolved with a fix available.
41
+2. **Create an isolated and reproducible test case.** Be sure the problem exists in Font Awesome's code with a [reduced test case](http://css-tricks.com/reduced-test-cases/) that should be included in each bug report.
42
+3. **Include a live example.** Make use of jsFiddle, jsBin, or Codepen to share your isolated test cases.
43
+4. **Share as much information as possible.** Include operating system and version, browser and version, version of Font Awesome, etc. where appropriate. Also include steps to reproduce the bug.
44
+
45
+
46
+
47
+## Key branches
48
+
49
+- `master` is the latest, deployed version (use for pull request if they only affect the docs)
50
+- `gh-pages` is the hosted docs (not to be used for pull requests)
51
+- `*-wip` branches are the official work in progress branches for the next releases. All pull requests should be submitted against the appropriate branch
52
+
53
+
54
+
55
+## Notes on the repo
56
+
57
+As of v3.2.0, Font Awesome's CSS, LESS, SCSS, and documentation are all powered by Jekyll templates and built before each commit and release.
58
+- `_config.yml` - much of the site is driven off variables from this file, including Font Awesome and Bootstrap versions
59
+- `src/` - All edits to documentation, LESS, SCSS, and CSS should be made to files and templates in this directory
60
+- `src/icons.yml` - all LESS, SCSS, and CSS icon definitions are driven off this single file
61
+
62
+
63
+
64
+## Pull requests
65
+
66
+- At the moment we are not accepting pull requests containing icons
67
+- Submit all pull requests against the appropriate `*-wip` branch for easier merging
68
+- If your PR only affect the docs, feel free to push against the `master` branch
69
+- Any changes to the docs must be made to the Liquid templates in the `src` directory
70
+- Any changes to the styles must be made to the .less and .scss files in the `src` directory
71
+- If modifying the .less and .scss files, always recompile and commit the compiled files
72
+- Try not to pollute your pull request with unintended changes--keep them simple and small
73
+- Try to share which browsers your code has been tested in before submitting a pull request
74
+
75
+
76
+
77
+## Coding standards: HTML
78
+
79
+- Two spaces for indentation, never tabs
80
+- Double quotes only, never single quotes
81
+- Always use proper indentation
82
+- Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags)
83
+
84
+
85
+
86
+## Coding standards: CSS
87
+
88
+- Adhere to the [Recess CSS property order](http://markdotto.com/2011/11/29/css-property-order/)
89
+- Multiple-line approach (one property and value per line)
90
+- Always a space after a property's colon (e.g., `display: block;` and not `display:block;`)
91
+- End all lines with a semi-colon
92
+- For multiple, comma-separated selectors, place each selector on its own line
93
+- Attribute selectors, like `input[type="text"]` should always wrap the attribute's value in double quotes, for consistency and safety (see this [blog post on unquoted attribute values](http://mathiasbynens.be/notes/unquoted-attribute-values) that can lead to XSS attacks)
94
+
95
+
96
+
97
+## License
98
+
99
+By contributing your code, you agree to license your contribution under the terms of the MIT License:
100
+- http://opensource.org/licenses/mit-license.html
101
+
102
+
103
+
104
+## Thanks
105
+
106
+Thanks to Bootstrap for their wonderful CONTRIBUTING.MD doc. It was modified to create this one.