Skip to content

Commit 2043885

Browse files
committed
Fix merge conflict
2 parents 5da0214 + 22f7bcf commit 2043885

File tree

353 files changed

+4207
-810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

353 files changed

+4207
-810
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ indent_style = space
66
indent_size = 2
77
insert_final_newline = true
88
trim_trailing_whitespace = true
9+
10+
[*.md]
11+
trim_trailing_whitespace = false

.github/CONTRIBUTING.md

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,18 @@ Want to contribute? Great. Please review the following guidelines carefully and
2424
## Requesting new features
2525

2626
1. Search for similar feature requests; someone may have already requested it.
27-
2. Make sure your feature fits DevDocs's [vision](https://github.com/freeCodeCamp/devdocs/blob/master/README.md#vision).
27+
2. Make sure your feature fits DevDocs's [vision](../README.md#vision).
2828
3. Provide a clear and detailed explanation of the feature and why it's important to add it.
2929

30-
For general feedback and ideas, please use the [mailing list](https://groups.google.com/d/forum/devdocs).
31-
3230
## Requesting new documentations
3331

34-
Please don't open issues to request new documentations.
32+
Please don't open issues to request new documentations.
3533
Use the [Trello board](https://trello.com/b/6BmTulfx/devdocs-documentation) where everyone can vote.
3634

3735
## Contributing code and features
3836

3937
1. Search for existing issues; someone may already be working on a similar feature.
40-
2. Before embarking on any significant pull request, please open an issue describing the changes you intend to make. Otherwise you risk spending a lot of time working on something I may not want to merge. This also tells other contributors that you're working on the feature.
38+
2. Before embarking on any significant pull request, please open an issue describing the changes you intend to make. Otherwise you risk spending a lot of time working on something we may not want to merge. This also tells other contributors that you're working on the feature.
4139
3. Follow the [coding conventions](#coding-conventions).
4240
4. If you're modifying the Ruby code, include tests and ensure they pass.
4341
5. Try to keep your pull request small and simple.
@@ -46,7 +44,7 @@ Use the [Trello board](https://trello.com/b/6BmTulfx/devdocs-documentation) wher
4644

4745
## Contributing new documentations
4846

49-
See the [wiki](https://github.com/freeCodeCamp/devdocs/wiki) to learn how to add new documentations.
47+
See the [`docs` folder](https://github.com/freeCodeCamp/devdocs/tree/master/docs) to learn how to add new documentations.
5048

5149
**Important:** the documentation's license must permit alteration, redistribution and commercial use, and the documented software must be released under an open source license. Feel free to get in touch if you're not sure if a documentation meets those requirements.
5250

@@ -57,20 +55,12 @@ In addition to the [guidelines for contributing code](#contributing-code-and-fea
5755
* Remove as much content and HTML markup as possible, particularly content not associated with any entry (e.g. introduction, changelog, etc.).
5856
* Names must be as short as possible and unique across the documentation.
5957
* The number of types (categories) should ideally be less than 100.
60-
* Don't modify the icon sprite. I'll do it after your pull request is merged.
6158

6259
## Updating existing documentations
6360

64-
Please don't submit a pull request updating the version number of a documentation, unless a change is required in the scraper and you've verified that it works.
65-
66-
To ask that an existing documentation be updated, please use the [Trello board](https://trello.com/c/2B0hmW7M/52-request-updates-here).
67-
68-
## Other contributions
69-
70-
Besides new docs and features, here are other ways you can contribute:
61+
Please don't submit a pull request updating only the version number and/or the attribution of a documentation. Do submit a pull request if a bigger change is required in the scraper and you've verified that it works.
7162

72-
* **Improve our copy.** English isn't my first language so if you notice grammatical or usage errors, feel free to submit a pull request — it'll be much appreciated.
73-
* **Participate in the issue tracker.** Your opinion matters — feel free to add comments to existing issues. You're also welcome to participate to the [mailing list](https://groups.google.com/d/forum/devdocs).
63+
To ask that an existing documentation be updated, first check the latest [documentation versions report](https://github.com/freeCodeCamp/devdocs/issues?utf8=%E2%9C%93&q=Documentation+versions+report+is%3Aissue+author%3Adevdocs-bot+sort%3Acreated-desc). Only create an issue if the documentation has been wrongly marked as up-to-date.
7464

7565
## Coding conventions
7666

@@ -80,4 +70,4 @@ Besides new docs and features, here are other ways you can contribute:
8070

8171
## Questions?
8272

83-
If you have any questions, please feel free to ask on the [mailing list](https://groups.google.com/d/forum/devdocs).
73+
If you have any questions, please feel free to ask them on the contributor chat room on [Gitter](https://gitter.im/FreeCodeCamp/DevDocs).

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
Please read the contributing guidelines before opening an issue:
33
https://github.com/freeCodeCamp/devdocs/blob/master/.github/CONTRIBUTING.md
44
5-
To request a new documentation, or an update of an existing documentation, go here:
5+
Go here to request a new documentation:
66
https://trello.com/b/6BmTulfx/devdocs-documentation
77
-->

.gitignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
.DS_Store
22
.bundle
3-
*.pxm
4-
*.sketch
3+
log
54
tmp
65
public/assets
76
public/fonts
87
public/docs/**/*
9-
!public/docs/docs.json
10-
!public/docs/**/index.json
11-
/docs/
8+
docs/**/*
9+
!docs/*.md

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.5.1
1+
2.6.3

.slugignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
public/icons
2-
test
1+
test

.travis.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
11
language: ruby
22

3+
addons:
4+
apt:
5+
packages:
6+
- libcurl4-openssl-dev
7+
38
cache: bundler
49

5-
before_script:
10+
before_install:
11+
- "echo 'gem: --no-document' > ~/.gemrc"
612
- gem update --system
713
- gem install bundler
14+
15+
script:
16+
- if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then bundle exec rake; fi
17+
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then bundle exec thor updates:check --github-token $GH_TOKEN --upload; fi
18+
19+
deploy:
20+
provider: heroku
21+
app: devdocs
22+
on:
23+
branch: master
24+
condition: $TRAVIS_EVENT_TYPE != cron
25+
api_key:
26+
secure: "4p1klvWJZSOImzFcKOduILjP93hlOlAhceWlYMKS4tU+TCFE8qTBzdKdFPSCsCgjB+YR9pBss+L0lJpVVMjSwFHXqpKe6EeUSltO2k7DFHfW7kXLUM/L0AfqXz+YXk76XUyZMhvOEbldPfaMaj10e8vgDOQCSHABDyK/4CU+hnI="

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
> Our Code of Conduct is available here: <https://code-of-conduct.freecodecamp.org/>

COPYRIGHT

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Copyright 2013-2018 Thibaut Courouble and other contributors
1+
Copyright 2013-2019 Thibaut Courouble and other contributors
22

33
This Source Code Form is subject to the terms of the Mozilla Public
44
License, v. 2.0. If a copy of the MPL was not distributed with this
55
file, You can obtain one at http://mozilla.org/MPL/2.0/.
66

77
Please do not use the name DevDocs to endorse or promote products
8-
derived from this software without my permission, except as may be
9-
necessary to comply with the notice/attribution requirements.
8+
derived from this software without the maintainers' permission, except
9+
as may be necessary to comply with the notice/attribution requirements.
1010

11-
I also wish that any documentation file generated using this software
11+
We also wish that any documentation file generated using this software
1212
be attributed to DevDocs. Let's be fair to all contributors by giving
1313
credit where credit's due. Thanks.

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
FROM ruby:2.5.1
1+
FROM ruby:2.6.3
22

33
ENV LANG=C.UTF-8
4+
ENV ENABLE_SERVICE_WORKER=true
45

56
WORKDIR /devdocs
67

78
RUN apt-get update && \
8-
apt-get -y install git nodejs && \
9+
apt-get -y install git nodejs libcurl4 && \
910
gem install bundler && \
1011
rm -rf /var/lib/apt/lists/*
1112

0 commit comments

Comments
 (0)