Skip to content

Commit

Permalink
Remove property-types from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauren Budorick committed May 7, 2018
1 parent d632c8c commit 5bd3e06
Showing 1 changed file with 1 addition and 43 deletions.
44 changes: 1 addition & 43 deletions docs/pages/style-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,29 +207,6 @@ const navigation = [
}
]
},
{
"title": "Property types",
"subnav": [
{
"title": "Data-driven"
},
{
"title": "Cross-faded"
},
{
"title": "Cross-faded data-driven"
},
{
"title": "Color ramp"
},
{
"title": "Data-constant"
},
{
"title": "Constant"
}
]
},
{
"title": "Other",
"subnav": [
Expand Down Expand Up @@ -385,15 +362,12 @@ class Item extends React.Component {
<em className='quiet'>
{this.props.requires.map((r, i) => this.requires(r, i))} </em>}

{this.props.expression && this.props.expression.interpolated &&
{this.props.function === "interpolated" &&
<em className='quiet'>
Supports <a href='#expressions-interpolate'><span className='icon smooth-ramp inline'/><code>interpolate</code></a> expressions. </em>}

{this.props.transition &&
<em className='quiet'><span className='icon opacity inline quiet' />Transitionable. </em>}

<em className='quiet'>
Should be represented by a <a href={`#property-types-${this.props['property-type']}`}>{this.props['property-type']}</a> property. </em>
</div>

{this.props.doc &&
Expand Down Expand Up @@ -1428,22 +1402,6 @@ export default class extends React.Component {
</div>
</div>

<div className='pad2 prose'>
<a id='property-types' className='anchor'/>
<h2><a href='#property-types' title='link to property types'>Property types</a></h2>
<div className='keyline-all fill-white'>
{Object.keys(ref['property-type']).map((propType, i) => {
const propTypeDoc = ref['property-type'][propType].doc;
return (
<div className='pad2 keyline-bottom' key={i}>
<a id={`property-types-${propType}`} className='anchor'/>
<h3 className='space-bottom1'><a href={`#property-types-${propType}`} title={`link to ${propType}`}>{propType}</a></h3>
<p>{propTypeDoc}</p>
</div>);
})}
</div>
</div>

<div className='pad2 prose'>
<a id='other' className='anchor'/>
<h2><a href='#other' title='link to other'>Other</a></h2>
Expand Down

0 comments on commit 5bd3e06

Please sign in to comment.