Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christoffer Åström
committed
May 23, 2018
1 parent
64bf73e
commit d1e471a
Showing
25 changed files
with
3,668 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
id: installation | ||
title: Installation | ||
--- | ||
|
||
## Getting started | ||
|
||
Make sure you meet [requirements](./requirements.md) | ||
|
||
Install the package with: | ||
|
||
```shell | ||
npm i -D after-work.js | ||
``` | ||
|
||
Now you have a couple of sub commands available | ||
|
||
```shell | ||
npx aw -h | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
id: requirements | ||
title: Requirements | ||
--- | ||
|
||
### Default runner (required) | ||
|
||
* Node.js >= 8.9.4 | ||
|
||
### Context dependent browser environment (optional) | ||
|
||
* Running tests with Chrome Debugging Protocol: Chrome > 61 | ||
* Running tests with webdriver protocol: protractor 5.x + browser(s) | ||
* Running tests with High-level Chrome Node API - experimental: Recent Chromium | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
node_modules | ||
.DS_Store | ||
translated_docs | ||
build | ||
|
||
i18n/* | ||
!i18n/en.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# after-work.js website | ||
|
||
The website is generated using [docusaurus](https://docusaurus.io/). | ||
|
||
The documentation itself is located in [../docs](../docs). | ||
|
||
## Using Docusaurus | ||
|
||
Run `npm start` to start a server which will host the website at `localhost:3000`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
const React = require('react'); | ||
|
||
class Footer extends React.Component { | ||
docUrl(doc, language) { | ||
const baseUrl = this.props.config.baseUrl; | ||
return baseUrl + 'docs/' + doc; | ||
// return baseUrl + 'docs/' + (language ? language + '/' : '') + doc; | ||
} | ||
|
||
pageUrl(doc, language) { | ||
const baseUrl = this.props.config.baseUrl; | ||
return baseUrl + doc; | ||
// return baseUrl + (language ? language + '/' : '') + doc; | ||
} | ||
|
||
render() { | ||
const currentYear = new Date().getFullYear(); | ||
return ( | ||
<footer className="nav-footer" id="footer"> | ||
<section className="sitemap"> | ||
<div> | ||
<h5>Docs</h5> | ||
<a href={this.docUrl('installation.html', this.props.language)}> | ||
Getting Started | ||
</a> | ||
<a href={this.pageUrl('examples.html', this.props.language)}> | ||
Examples | ||
</a> | ||
</div> | ||
<div> | ||
<h5>Links</h5> | ||
<a href="http://qlikbranch-slack-invite.herokuapp.com/"> | ||
<i className="fa fa-slack"></i> Slack | ||
</a> | ||
<a href="https://github.com/qlik-oss/after-work.js"> | ||
<i className="fa fa-github"></i> GitHub | ||
</a> | ||
</div> | ||
</section> | ||
|
||
<a | ||
href="https://github.com/qlik-oss/" | ||
target="_blank" | ||
className="qlikOpenSource"> | ||
<img | ||
src={this.props.config.baseUrl + 'img/QlikLogo-White.png'} | ||
alt="Qlik Open Source" | ||
width="170" | ||
height="45" | ||
/> | ||
</a> | ||
<section className="copyright"> | ||
Copyright © {currentYear} QlikTech International AB. | ||
</section> | ||
</footer> | ||
); | ||
} | ||
} | ||
|
||
module.exports = Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"_comment": "This file is auto-generated by write-translations.js", | ||
"localized-strings": { | ||
"next": "Next", | ||
"previous": "Previous", | ||
"tagline": "Testing, made simple", | ||
"cdp": "Cdp", | ||
"installation": "Installation", | ||
"node": "Node", | ||
"protractor": "Protractor", | ||
"requirements": "Requirements", | ||
"strategy": "strategy", | ||
"Docs": "Docs", | ||
"": "", | ||
"Getting started": "Getting started", | ||
"Commands": "Commands" | ||
}, | ||
"pages-strings": { | ||
"Help Translate|recruit community translators for your project": "Help Translate", | ||
"Edit this Doc|recruitment message asking to edit the doc source": "Edit", | ||
"Translate this Doc|recruitment message asking to translate the docs": "Translate" | ||
} | ||
} |
Oops, something went wrong.