Skip to content

Commit fb3e099

Browse files
authored
Infra: Deploy to prod. Fix slug generation and numbers. (#797)
- Deploy to production for real! Part of #793 - Fix slug headers. Fixes #794
1 parent 6302667 commit fb3e099

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ test/screenshots
1111
# production
1212
/dist
1313
/tmp
14+
/docs/tmp
1415

1516
# misc
1617
.DS_Store

docs/content/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ export default class Presentation extends React.Component {
377377
}
378378
```
379379

380-
## 6. Add animations
380+
## 7. Add animations
381381

382382
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:
383383

@@ -517,7 +517,7 @@ Additionally, you could bring in other core components, like `Anim` and `Appear`
517517
</Slide>
518518
```
519519

520-
## 7. Add code examples
520+
## 8. Add code examples
521521

522522
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.
523523

docs/scripts/deploy/aws.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ const chalk = require('chalk');
66
const execa = require('execa');
77

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

1211
const SRC = path.resolve(__dirname, '../../dist');
1312
const BUCKET_NAME = 'formidable.com';

docs/src/screens/docs/sidebar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class Sidebar extends React.Component {
8080
<SubContentWrapper>
8181
{subContent.map(sh => {
8282
const slug = `#${sh.content
83+
.replace('.', '')
8384
.split(' ')
8485
.join('-')
8586
.toLowerCase()}`;

0 commit comments

Comments
 (0)