Skip to content

Commit

Permalink
update to switch to custom domain name for documentation (microsoft#1853
Browse files Browse the repository at this point in the history
)
  • Loading branch information
awentzel authored Jun 12, 2019
1 parent d8df254 commit c0587c1
Show file tree
Hide file tree
Showing 8 changed files with 255 additions and 159 deletions.
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- [ ] I have added tests for my changes.
- [ ] I have tested my changes.
- [ ] I have updated the project documentation to reflect my changes.
- [ ] I have read the [CONTRIBUTING](https://github.com/Microsoft/fast-dna/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://microsoft.github.io/fast-dna/docs/en/contributing/standards) for this project.
- [ ] I have read the [CONTRIBUTING](https://github.com/Microsoft/fast-dna/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://www.fast.design/docs/en/contributing/standards) for this project.

<!---
Formatting guidelines:
Expand Down Expand Up @@ -57,5 +57,5 @@ Example titles:
- Avoid redundant words.
For additional information regarding working on FAST-DNA, check out our documentation site:
https://microsoft.github.io/fast-dna/docs/en/contributing/working
https://www.fast.design/docs/en/contributing/working
-->
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
www.fast.design
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Install dependencies for packages within the project:
lerna bootstrap
```

Learn more about [installing](https://microsoft.github.io/fast-dna/docs/en/contributing/install).
Learn more about [installing](https://www.fast.design/docs/en/contributing/install).

### Testing

Expand All @@ -32,13 +32,13 @@ Run all tests for all packages:
lerna run test
```

Learn more about [testing](https://microsoft.github.io/fast-dna/docs/en/contributing/testing).
Learn more about [testing](https://www.fast.design/docs/en/contributing/testing).

### Submitting a pull request

Before submitting a pull request, [rebase](https://www.atlassian.com/git/tutorials/merging-vs-rebasing) your branch from master. Do not use ``git merge`` or the *merge* button provided by Github.

Learn more about [submitting pull requests](https://microsoft.github.io/fast-dna/docs/en/contributing/working).
Learn more about [submitting pull requests](https://www.fast.design/docs/en/contributing/working).

### Documenting breaking changes

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ FAST-DNA is a mono repository managed with [Lerna](https://github.com/lerna/lern

### Component Explorer

Launch our [Component Explorer](https://explore.fastdna.net/) to experience our [Microsoft React Components](https://github.com/Microsoft/fast-dna/tree/master/packages/fast-components-react-msft) package and development tools.
Launch our [Component Explorer](https://explore.fastdna.net/) to experience our [Microsoft React Components](https://github.com/microsoft/fast-dna/tree/master/packages/fast-components-react-msft) package and development tools.

## Documentation

Visit our [developer documentation](https://microsoft.github.io/fast-dna/docs/en/contributing/install) to get started.
Visit our [developer documentation](https://www.fast.design/docs/en/contributing/install) to get started.

## Troubleshooting

Experiencing problems? Check our infrastructure [health status](https://microsoft.github.io/fast-dna/docs/en/contributing/status).
Experiencing problems? Check our infrastructure [health status](https://www.fast.design/docs/en/contributing/status).

## Contact

Expand Down
2 changes: 1 addition & 1 deletion packages/fast-animation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Fast Animation is a library for simplifying the creation of animations and inter

## Usage

[//]: <> (todo: Implement once subsites for API exist [API Reference]https://microsoft.github.io/fast-dna/docs/en/packages/fast-animation/api/index.html)
[//]: <> (todo: Implement once subsites for API exist [API Reference]https:/www.fast.design/docs/en/packages/fast-animation/api/index.html)

### Installation

Expand Down
155 changes: 81 additions & 74 deletions website/core/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,25 @@
* LICENSE file in the root directory of this source tree.
*/

const React = require('react');
const React = require("react");

class Footer extends React.Component {
docUrl(doc, language) {
const baseUrl = this.props.config.baseUrl;
return `${baseUrl}docs/${language ? `${language}/` : ''}${doc}`;
}
docUrl(doc, language) {
const baseUrl = this.props.config.baseUrl;
return `${baseUrl}docs/${language ? `${language}/` : ""}${doc}`;
}

pageUrl(doc, language) {
const baseUrl = this.props.config.baseUrl;
return baseUrl + (language ? `${language}/` : '') + doc;
}
pageUrl(doc, language) {
const baseUrl = this.props.config.baseUrl;
return baseUrl + (language ? `${language}/` : "") + doc;
}

render() {
return (
<footer className="nav-footer" id="footer">
{ <section className="sitemap">
{/* <a href={this.props.config.baseUrl} className="nav-home">
render() {
return (
<footer className="nav-footer" id="footer">
{
<section className="sitemap">
{/* <a href={this.props.config.baseUrl} className="nav-home">
{this.props.config.footerIcon && (
<img
className="footer-logo"
Expand All @@ -33,66 +34,72 @@ class Footer extends React.Component {
/>
)}
</a> */}
<div>
<h5>Guides</h5>
<a href="https://microsoft.github.io/fast-dna/docs/en/contributing/install">
Install
</a>
<a href="https://microsoft.github.io/fast-dna/docs/en/packages/fast-animation/">
Packages
</a>
</div>
<div>
<h5>Community</h5>
<a
href="http://stackoverflow.com/questions/tagged/fast-dna"
target="_blank"
rel="noreferrer noopener">
Stack Overflow
</a>
<a
href="https://discord.gg/FcSNfg4"
target="_blank"
rel="noreferrer noopener">
Discord
</a>
<a
href="https://twitter.com/FAST_DNA"
target="_blank"
rel="noreferrer noopener">
Twitter
</a>
</div>
<div>
<h5>More</h5>
<a
href="https://medium.com/fast-dna"
target="_blank"
rel="noreferrer noopener">
Blog
</a>
<a
href="https://github.com/Microsoft/fast-dna"
target="_blank">
GitHub
</a>
<a
className="github-button"
href="https://github.com/microsoft/fast-dna"
data-icon="octicon-star"
data-count-href="/facebook/docusaurus/stargazers"
data-show-count="true"
data-count-aria-label="# stargazers on GitHub"
aria-label="Star microsoft/fast-dna on GitHub">
Star
</a>
</div>
</section>
}
<section className="copyright">{this.props.config.copyright}</section>
</footer>
);
}
<div>
<h5>Guides</h5>
<a href="https://www.fast.design/docs/en/contributing/install">
Install
</a>
<a href="https://www.fast.design/docs/en/packages/fast-animation/">
Packages
</a>
</div>
<div>
<h5>Community</h5>
<a
href="http://stackoverflow.com/questions/tagged/fast-dna"
target="_blank"
rel="noreferrer noopener"
>
Stack Overflow
</a>
<a
href="https://discord.gg/FcSNfg4"
target="_blank"
rel="noreferrer noopener"
>
Discord
</a>
<a
href="https://twitter.com/FAST_DNA"
target="_blank"
rel="noreferrer noopener"
>
Twitter
</a>
</div>
<div>
<h5>More</h5>
<a
href="https://medium.com/fast-dna"
target="_blank"
rel="noreferrer noopener"
>
Blog
</a>
<a
href="https://github.com/Microsoft/fast-dna"
target="_blank"
>
GitHub
</a>
<a
className="github-button"
href="https://github.com/microsoft/fast-dna"
data-icon="octicon-star"
data-count-href="/facebook/docusaurus/stargazers"
data-show-count="true"
data-count-aria-label="# stargazers on GitHub"
aria-label="Star microsoft/fast-dna on GitHub"
>
Star
</a>
</div>
</section>
}
<section className="copyright">{this.props.config.copyright}</section>
</footer>
);
}
}

module.exports = Footer;
Loading

0 comments on commit c0587c1

Please sign in to comment.