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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ test/screenshots
# production
/dist
/tmp
/docs/tmp
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gets created with yarn start in docs dir.


# misc
.DS_Store
Expand Down
4 changes: 2 additions & 2 deletions docs/content/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export default class Presentation extends React.Component {
}
```

## 6. Add animations
## 7. Add animations
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were just numbered incorrectly.


Using the core Spectacle API, we can supply transition props like `transition` and `transitionDuration` to our `Deck` and `Slide` components to make the presentation more animated, without adding any new imports:

Expand Down Expand Up @@ -517,7 +517,7 @@ Additionally, you could bring in other core components, like `Anim` and `Appear`
</Slide>
```

## 7. Add code examples
## 8. Add code examples

Finally, you have a couple of options for displaying code content. `CodePane` and `ComponentPlayground` both offer ways to display code, but they differ in a fundamental way: `CodePane` is a styled, highlighted code preview, while `ComponentPlayground` is a two-paned view with source on the right and a preview pane on the left for showing off custom React components.

Expand Down
3 changes: 1 addition & 2 deletions docs/scripts/deploy/aws.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ const chalk = require('chalk');
const execa = require('execa');

const PROJECT = 'spectacle';
// TODO(docs): Convert to real location when ready for full release.
const DOCS_PATH = `open-source/${PROJECT}-TODO-TESTING`;
const DOCS_PATH = `open-source/${PROJECT}`;

const SRC = path.resolve(__dirname, '../../dist');
const BUCKET_NAME = 'formidable.com';
Expand Down
1 change: 1 addition & 0 deletions docs/src/screens/docs/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class Sidebar extends React.Component {
<SubContentWrapper>
{subContent.map(sh => {
const slug = `#${sh.content
.replace('.', '')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the bug for #794

.split(' ')
.join('-')
.toLowerCase()}`;
Expand Down