You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ Want to contribute? Great. Please review the following guidelines carefully and
24
24
## Requesting new features
25
25
26
26
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).
28
28
3. Provide a clear and detailed explanation of the feature and why it's important to add it.
29
29
30
30
## Requesting new documentations
31
31
32
-
Please don't open issues to request new documentations.
32
+
Please don't open issues to request new documentations.
33
33
Use the [Trello board](https://trello.com/b/6BmTulfx/devdocs-documentation) where everyone can vote.
34
34
35
35
## Contributing code and features
@@ -44,7 +44,7 @@ Use the [Trello board](https://trello.com/b/6BmTulfx/devdocs-documentation) wher
44
44
45
45
## Contributing new documentations
46
46
47
-
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.
48
48
49
49
**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.
@@ -59,14 +59,14 @@ The web app is all client-side JavaScript, written in [CoffeeScript](http://coff
59
59
60
60
Many of the code's design decisions were driven by the fact that the app uses XHR to load content directly into the main frame. This includes stripping the original documents of most of their HTML markup (e.g. scripts and stylesheets) to avoid polluting the main frame, and prefixing all CSS class names with an underscore to prevent conflicts.
61
61
62
-
Another driving factor is performance and the fact that everything happens in the browser. `applicationCache` (which comes with its own set of constraints) and `localStorage` are used to speed up the boot time, while memory consumption is kept in check by allowing the user to pick his/her own set of documentations. The search algorithm is kept simple because it needs to be fast even searching through 100,000 strings.
62
+
Another driving factor is performance and the fact that everything happens in the browser. A service worker (which comes with its own set of constraints) and `localStorage` are used to speed up the boot time, while memory consumption is kept in check by allowing the user to pick his/her own set of documentations. The search algorithm is kept simple because it needs to be fast even searching through 100,000 strings.
63
63
64
64
DevDocs being a developer tool, the browser requirements are high:
65
65
66
66
* Recent versions of Firefox, Chrome, or Opera
67
-
* Safari 9.1+
68
-
* Edge 16+
69
-
* iOS 10+
67
+
* Safari 11.1+
68
+
* Edge 17+
69
+
* iOS 11.3+
70
70
71
71
This allows the code to take advantage of the latest DOM and HTML5 APIs and make developing DevDocs a lot more fun!
72
72
@@ -83,12 +83,13 @@ Modifications made to each document include:
83
83
* replacing all external (not scraped) URLs with their fully qualified counterpart
84
84
* replacing all internal (scraped) URLs with their unqualified and relative counterpart
85
85
* adding content, such as a title and link to the original document
86
+
* ensuring correct syntax highlighting using [Prism](http://prismjs.com/)
86
87
87
88
These modifications are applied via a set of filters using the [HTML::Pipeline](https://github.com/jch/html-pipeline) library. Each scraper includes filters specific to itself, one of which is tasked with figuring out the pages' metadata.
88
89
89
90
The end result is a set of normalized HTML partials and two JSON files (index + offline data). Because the index files are loaded separately by the [app](#app) following the user's preferences, the scraper also creates a JSON manifest file containing information about the documentations currently available on the system (such as their name, version, update date, etc.).
90
91
91
-
More information about scrapers and filters is available on the [wiki](https://github.com/freeCodeCamp/devdocs/wiki).
92
+
More information about [scrapers](./docs/scraper-reference.md) and [filters](./docs/filter-reference.md) is available in the `docs` folder.
92
93
93
94
## Available Commands
94
95
@@ -128,15 +129,40 @@ If multiple versions of Ruby are installed on your system, commands must be run
128
129
129
130
## Contributing
130
131
131
-
Contributions are welcome. Please read the [contributing guidelines](https://github.com/freeCodeCamp/devdocs/blob/master/.github/CONTRIBUTING.md).
132
-
133
-
DevDocs's own documentation is available on the [wiki](https://github.com/freeCodeCamp/devdocs/wiki).
132
+
Contributions are welcome. Please read the [contributing guidelines](./.github/CONTRIBUTING.md).
133
+
134
+
## Documentation
135
+
136
+
*[Adding documentations to DevDocs](./docs/adding-docs.md)
137
+
*[Scraper Reference](./docs/scraper-reference.md)
138
+
*[Filter Reference](./docs/filter-reference.md)
139
+
*[Maintainers’ Guide](./docs/maintainers.md)
140
+
141
+
## Plugins and Extensions
142
+
143
+
*[Chrome web app](https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe)
*[Vim search plugin with Devdocs in its defaults](https://github.com/waiting-for-dev/vim-www) Just set `let g:www_shortcut_engines = { 'devdocs': ['Devdocs', '<leader>dd'] }` to have a `:Devdocs` command and a `<leader>dd` mapping.
153
+
*[Visual Studio Code plugin](https://marketplace.visualstudio.com/items?itemName=akfish.vscode-devdocs) (1)
154
+
*[Visual Studio Code plugin](https://marketplace.visualstudio.com/items?itemName=deibit.devdocs) (2)
*[Android Application](https://github.com/Merith-TK/devdocs_webapp_kotlin) is a fully working, advanced WebView
134
160
135
161
## Copyright / License
136
162
137
163
Copyright 2013-2019 Thibaut Courouble and [other contributors](https://github.com/freeCodeCamp/devdocs/graphs/contributors)
138
164
139
-
This software is licensed under the terms of the Mozilla Public License v2.0. See the [COPYRIGHT](https://github.com/freeCodeCamp/devdocs/blob/master/COPYRIGHT) and [LICENSE](https://github.com/freeCodeCamp/devdocs/blob/master/LICENSE) files.
165
+
This software is licensed under the terms of the Mozilla Public License v2.0. See the [COPYRIGHT](./COPYRIGHT) and [LICENSE](./LICENSE) files.
140
166
141
167
Please do not use the name DevDocs to endorse or promote products derived from this software without the maintainers' permission, except as may be necessary to comply with the notice/attribution requirements.
0 commit comments