Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List get-started content under guides #776

Merged
merged 2 commits into from
Feb 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions antwar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,13 @@ module.exports = {
}
),

'get-started': section(
'Get-Started',
function() {
return require.context(
'json-loader!yaml-frontmatter-loader!./content/get-started',
false,
/^\.\/.*\.md$/
)
'get-started': {
redirects: {
'': '/guides/get-started',
'install-webpack': '/guides/installation',
'why-webpack': '/guides/why-webpack',
}
),
},

concepts: section(
'Concepts',
Expand Down
4 changes: 2 additions & 2 deletions components/footer/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export default (props) => {
<footer className="footer">
<Container className="footer__inner">
<section className="footer__left">
<Link className="footer__link" to="/get-started">Get Started</Link>
<Link className="footer__link" to="/guides/get-started">Get Started</Link>
<Link className="footer__link" to="/organization">Organization</Link>
<Link className="footer__link" to="/contribute">Contribute</Link>
<Link className="footer__link" to="/get-started/why-webpack#comparison">Comparison</Link>
<Link className="footer__link" to="/guides/why-webpack#comparison">Comparison</Link>
</section>

<section className="footer__middle">
Expand Down
5 changes: 0 additions & 5 deletions components/sidebar/sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ export default class Sidebar extends Component {
currentPage= { currentPage }
/>

{ isGuides ? (
<SidebarItem
url={ `/get-started` }
title="Get Started" />
) : null }
{
pages.map(({ url, title, anchors }, i) =>
<SidebarItem
Expand Down
2 changes: 1 addition & 1 deletion content/concepts/entry-points.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ contributors:
- chrisVillanueva
---

Like we mentioned in the [introduction](/get-started/#using-webpack-with-a-config), there are multiple ways to define the `entry` property in your webpack configuration. We will show you the ways you **can** configure the `entry` property, in addition to explaining why it may be useful to you.
Like we mentioned in the [introduction](/guides/get-started/#using-webpack-with-a-config), there are multiple ways to define the `entry` property in your webpack configuration. We will show you the ways you **can** configure the `entry` property, in addition to explaining why it may be useful to you.

## Single Entry (Shorthand) Syntax

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Getting Started
sort: 3
sort: 0
contributors:
- bebraw
- varunjayaraman
Expand All @@ -11,7 +11,7 @@ contributors:
---

webpack is a tool to build JavaScript modules in your application. To start using `webpack` from its [cli](/api/cli) or [api](/api/node), follow the [Installation instructions](/guides/installation).
webpack simplifies your workflow by quickly constructing a dependency graph of your application and bundling them in the right order. webpack can be configured to customise optimisations to your code, to split vendor/css/js code for production, run a development server that hot-reloads your code without page refresh and many such cool features. Learn more about [why you should use webpack](/get-started/why-webpack).
webpack simplifies your workflow by quickly constructing a dependency graph of your application and bundling them in the right order. webpack can be configured to customise optimisations to your code, to split vendor/css/js code for production, run a development server that hot-reloads your code without page refresh and many such cool features. Learn more about [why you should use webpack](/guides/why-webpack).

## Creating a bundle

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ Then run `webpack` on the command-line to create `bundle.js`.
</div>

## It's that simple.
## [Get Started](/get-started)
## [Get Started](/guides/get-started)