Skip to content

Commit 83473c6

Browse files
authored
Merge pull request #535 from webpack/develop
Deploy
2 parents e9142e2 + d65832d commit 83473c6

File tree

98 files changed

+2524
-752
lines changed

Some content is hidden

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

98 files changed

+2524
-752
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ From adding an issue for a documentation suggestion to creating a pull request:
1414
* `npm start`
1515
* Visit [http://localhost:3000](http://localhost:3000) to preview your changes before making a pull request.
1616

17+
## Contributor License Agreement
18+
19+
When submitting your contribution, a CLA (Contributor License Agreement) bot will come by to verify that you signed the CLA. If it is your first time, it will link you to the right place to sign it. However, if you have committed your contributions using an email that is not the same as your email used on GitHub, the CLA bot can't accept your contribution.
20+
21+
Run `git config user.email` to see your Git email, and verify it with [your GitHub email](https://github.com/settings/emails).
22+
1723
## Editor Config
1824

1925
The [.editorconfig](https://github.com/webpack/webpack.js.org/blob/develop/.editorconfig) in the root should ensure consistent formatting. Please make sure you've [installed the plugin](http://editorconfig.org/#download) if your text editor needs one.
@@ -88,4 +94,4 @@ This will add your name and Github profile photo to the document in production.
8894

8995
## Thank you
9096

91-
Webpack is insanely feature rich and documentation is a huge time sink. We greatly appreciate any time spent fixing typos or clarifying sections in the documentation.
97+
webpack is insanely feature rich and documentation is a huge time sink. We greatly appreciate any time spent fixing typos or clarifying sections in the documentation.

antwar.config.js

Lines changed: 31 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ module.exports = {
3737
);
3838
}
3939
),
40+
4041
'get-started': section(
4142
'Get-Started',
4243
function() {
@@ -47,6 +48,7 @@ module.exports = {
4748
)
4849
}
4950
),
51+
5052
concepts: section(
5153
'Concepts',
5254
function() {
@@ -57,6 +59,7 @@ module.exports = {
5759
);
5860
}
5961
),
62+
6063
guides: section(
6164
'Guides',
6265
function() {
@@ -67,6 +70,7 @@ module.exports = {
6770
);
6871
}
6972
),
73+
7074
configuration: section(
7175
'Configuration',
7276
function() {
@@ -77,6 +81,7 @@ module.exports = {
7781
);
7882
}
7983
),
84+
8085
api: section(
8186
'API',
8287
function() {
@@ -87,6 +92,7 @@ module.exports = {
8792
);
8893
}
8994
),
95+
9096
pluginsapi: section(
9197
'Plugins API',
9298
function() {
@@ -97,6 +103,7 @@ module.exports = {
97103
);
98104
}
99105
),
106+
100107
loaders: section(
101108
'Loaders',
102109
function() {
@@ -107,6 +114,7 @@ module.exports = {
107114
);
108115
}
109116
),
117+
110118
plugins: section(
111119
'Plugins',
112120
function() {
@@ -117,14 +125,30 @@ module.exports = {
117125
);
118126
}
119127
),
120-
vote: voteList(
121-
'Voting',
122-
{
123-
index: true,
124-
feedback: true,
125-
moneyDistribution: true,
128+
129+
vote: {
130+
path() {
131+
return require('./components/vote/list.jsx').default
132+
}
133+
},
134+
135+
'vote/feedback': {
136+
path() {
137+
return require('./components/vote/list.jsx').default
138+
}
139+
},
140+
141+
'vote/moneyDistribution': {
142+
path() {
143+
return require('./components/vote/list.jsx').default
126144
}
127-
)
145+
},
146+
147+
organization: {
148+
path() {
149+
return require('./components/organization/organization.jsx').default
150+
}
151+
}
128152
}
129153
};
130154

@@ -185,45 +209,3 @@ function processPage() {
185209
}
186210
};
187211
}
188-
189-
function voteList(title, lists) {
190-
return {
191-
title: title,
192-
path: function() {
193-
function context(request) {
194-
var name = /^\.\/(.*)\.md$/.exec(request)[1];
195-
return {
196-
name: name,
197-
__content: '' // make antwar happy
198-
};
199-
}
200-
context.keys = function() {
201-
return Object.keys(lists).map(k => './' + k + '.md');
202-
};
203-
return context;
204-
},
205-
processPage: {
206-
url: function(o) {
207-
return 'vote/' + o.file.name;
208-
},
209-
name: function(o) {
210-
return o.file.name;
211-
},
212-
anchors: function(o) {
213-
return [];
214-
},
215-
content: function(o) {
216-
return '';
217-
}
218-
},
219-
layouts: {
220-
index: function() {
221-
return require('./components/vote/list.jsx').default
222-
},
223-
page: function() {
224-
return require('./components/vote/list.jsx').default
225-
}
226-
},
227-
redirects: {} // <from>: <to>
228-
};
229-
}

assets/file-blank.png

-22.4 KB
Binary file not shown.

assets/file-css.png

-26.1 KB
Binary file not shown.

assets/file-html.png

-29.2 KB
Binary file not shown.

assets/file-ico.png

-31.8 KB
Binary file not shown.

assets/file-js.png

-25.4 KB
Binary file not shown.

assets/geomanist-medium.woff

-21.3 KB
Binary file not shown.

assets/geomanist-medium.woff2

-13.5 KB
Binary file not shown.

assets/geomanist-regular.woff

-39.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)