Skip to content
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
6 changes: 5 additions & 1 deletion site/_core/CodeLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ var CodeLayout = React.createClass({
var page = this.props.page;
var site = this.props.site;
var firstURL = '/graphql-js/getting-started/';
var category = page.category;
if (!category.match(/GraphQL/)) {
category = 'GraphQL.js ' + category;
}
return (
<Site section="docs" title={page.title}>
<Site section="docs" title={page.title} category={category}>
<section className="content documentationContent">
<DocsSidebar site={site} page={page} firstURL={firstURL}/>
<div className="inner-content">
Expand Down
3 changes: 2 additions & 1 deletion site/_core/Site.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ var SiteData = require('./SiteData');

var Site = React.createClass({
render: function() {
var pageTitle = this.props.title ? `${this.props.title} | GraphQL` : `GraphQL | ${SiteData.description}`;
var suffix = this.props.category || 'GraphQL';
var pageTitle = this.props.title ? `${this.props.title} | ${suffix}` : `GraphQL | ${SiteData.description}`;
return (
<html>
<head>
Expand Down
248 changes: 0 additions & 248 deletions site/docs/QuickStart-GettingStarted.md

This file was deleted.

79 changes: 0 additions & 79 deletions site/docs/QuickStart-Videos.md

This file was deleted.

23 changes: 0 additions & 23 deletions site/docs/Walkthrough-Intro.md

This file was deleted.

Loading