Skip to content
This repository was archived by the owner on Mar 10, 2023. It is now read-only.

Commit 6d5152e

Browse files
committed
initial commit
0 parents  commit 6d5152e

File tree

132 files changed

+15022
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+15022
-0
lines changed

.eslintrc

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"extends": [
3+
"airbnb",
4+
"prettier",
5+
"prettier/flowtype",
6+
"prettier/react",
7+
"plugin:jest/recommended"
8+
],
9+
"rules": {
10+
"react/jsx-filename-extension": "off",
11+
"react/react-in-jsx-scope": "off",
12+
"react/require-default-props": "off",
13+
"jsx-a11y/anchor-is-valid": "off",
14+
"import/extensions": ["error", "never", { "css": "ignorePackages", "json": "always" }],
15+
"import/no-unresolved": "off" // comment this out during development
16+
}
17+
}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

cypress.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"baseUrl": "http://localhost:3000",
3+
"integrationFolder": "website/cypress/integration",
4+
"fixturesFolder": "website/cypress/fixtures",
5+
"screenshotsFolder": "website/cypress/screenshots",
6+
"supportFile": "website/cypress/support/index.js",
7+
"video": false
8+
}

deploy/Dockerfile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM node:10
2+
3+
COPY . /opt/service/
4+
WORKDIR /opt/service
5+
6+
EXPOSE 8080
7+
8+
ENTRYPOINT ["npm", "start"]

deploy/jira-frontend-docs-test.sd.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Bright Docs
2+
description: Bright Docs
3+
links:
4+
binary:
5+
name: docker.atl-paas.net/atlassian/jira-frontend-docs-test
6+
tag: 0.0.1
7+
type: docker
8+
healthcheck:
9+
uri: /healthcheck
10+
source:
11+
url: 'fake-repo-fix-later:7997'
12+
notifications:
13+
14+
organization: Product Fabric

docs/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Welcome to the Jane Austen inspired docs on how to improve your life!

docs/guides/how-to-be-accomplished.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Being accomplished
2+
3+
To be considered truly accomplished[^1] you must:
4+
5+
- paint tables
6+
- cover screens
7+
- be a master of languages
8+
- possess a certain something in your manner of walking and tone of voice
9+
- improve your mind through extensive reading
10+
11+
[^1]: Such people may not exist.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Mrs Bennet's guide to securing a stay at Netherfield Park
2+
3+
One sure fire technique for turning a short visit into a long stay is to begin your journey to
4+
Netherfield on horseback just before it rains. Upon your arrival the good Mr Bingley will be
5+
compelled to allow you to stay until the weather clears. You may catch a terrible cold, but it will
6+
be worth it.

package.json

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"name": "bright-docs",
3+
"version": "1.0.0",
4+
"description": "The bright-docs website generator",
5+
"main": "index.js",
6+
"license": "MIT",
7+
"private": true,
8+
"scripts": {
9+
"test": "cd website && jest",
10+
"cypress": "node_modules/.bin/cypress run",
11+
"dev:website": "cd website && yarn dev",
12+
"docs": "cd website && node generate-pages.js --config=website-dev-config.json && FORCE_EXTRACT_REACT_TYPES=true next dev",
13+
"build": "cd website && next build",
14+
"start": "next start -p 8080"
15+
},
16+
"dependencies": {
17+
"@atlaskit/avatar": "^14.1.8",
18+
"@atlaskit/button": "^8.2.4",
19+
"@atlaskit/css-reset": "^3.0.5",
20+
"@atlaskit/docs": "^6.0.2",
21+
"@atlaskit/drawer": "^2.7.1",
22+
"@atlaskit/dropdown-menu": "^6.1.26",
23+
"@atlaskit/dynamic-table": "^10.0.23",
24+
"@atlaskit/icon": "^16.0.1",
25+
"@atlaskit/logo": "^9.1.0",
26+
"@atlaskit/navigation-next": "^4.1.2",
27+
"@atlaskit/quick-search": "^5.2.5",
28+
"@atlaskit/section-message": "^1.0.17",
29+
"@atlaskit/table-tree": "^5.0.7",
30+
"@atlaskit/theme": "^6.0.0",
31+
"@atlaskit/tree": "^4.1.11",
32+
"@babel/preset-flow": "^7.0.0",
33+
"@mdx-js/loader": "^0.17.5",
34+
"@mdx-js/mdx": "^0.17.5",
35+
"@mdx-js/tag": "^0.17.5",
36+
"@zeit/next-css": "^1.0.1",
37+
"@zeit/next-mdx": "^1.2.0",
38+
"babel-plugin-transform-flow-strip-types": "^6.22.0",
39+
"command-line-args": "^5.0.2",
40+
"emotion": "^9.0.1",
41+
"emotion-server": "^9.2.12",
42+
"express": "^4.16.4",
43+
"extract-react-types-loader": "^0.3.0",
44+
"fs-extra": "^7.0.1",
45+
"git-url-parse": "^11.1.2",
46+
"glob": "^7.1.3",
47+
"jest-fixtures": "^0.6.0",
48+
"lodash.capitalize": "^4.2.1",
49+
"lodash.debounce": "^4.0.8",
50+
"lodash.flatmap": "^4.5.0",
51+
"lodash.snakecase": "^4.1.1",
52+
"next": "^7.0.2",
53+
"outdent": "^0.7.0",
54+
"pretty-proptypes": "^0.6.0",
55+
"prop-types": "^15.6.2",
56+
"react": "^16.7.0",
57+
"react-addons-text-content": "^0.0.4",
58+
"react-dom": "^16.7.0",
59+
"rimraf": "^2.6.3",
60+
"styled-components": "^3.2.6",
61+
"title-case": "^2.1.1"
62+
},
63+
"devDependencies": {
64+
"babel-plugin-emotion": "^10.0.6",
65+
"babel-plugin-styled-components": "^1.10.0",
66+
"css-loader": "^1.0.0",
67+
"cypress": "^3.1.5",
68+
"enzyme": "^3.9.0",
69+
"enzyme-adapter-react-16": "^1.9.1",
70+
"extracted-loader": "^1.0.7",
71+
"file-loader": "^2.0.0",
72+
"jest": "^24.1.0",
73+
"json-loader": "^0.5.7",
74+
"style-loader": "^0.23.0"
75+
}
76+
}

packages/mock-package1/README.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import SectionMessage from '@atlaskit/section-message';
2+
3+
<div style={{height: '16px'}} />
4+
5+
<SectionMessage title="vision/mission" appearance="confirmation">
6+
Every developer’s experience with their code base is joyful and productive. Reliable documentation is quick to find, and creating rich documentation is simple.
7+
</SectionMessage>
8+
9+
<div style={{height: '16px'}} />
10+
11+
<SectionMessage appearance="warning">
12+
This is all VFD, and subject to change
13+
</SectionMessage>
14+
15+
One Paragraph of project description goes here. This is ReadMe for the package 1.
16+
17+
## Getting Started
18+
19+
These instructions will get you a copy of the project up and running on your local machine for
20+
development and testing purposes. See deployment for notes on how to deploy the project on a live
21+
system.
22+
23+
### Prerequisites
24+
25+
What things you need to install the software and how to install them
26+
27+
<div>
28+
<Props
29+
heading="Friends Component"
30+
props={require('!!extract-react-types-loader!./src')}
31+
/>
32+
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
```
2+
Give examples
3+
```
4+
5+
### Installing
6+
7+
A step by step series of examples that tell you how to get a development env running
8+
9+
Say what the step will be
10+
11+
```
12+
Give the example
13+
```
14+
15+
And repeat
16+
17+
```
18+
until finished
19+
```
20+
21+
End with an example of getting some data out of the system or using it for a little demo
22+
23+
## Versioning
24+
25+
We use [Vertool](http://semver.org/) for versioning. For the versions available, see the
26+
[tags on this repository](https://github.com/your/project/tags).
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Running the tests
2+
3+
Explain how to run the automated tests for this system
4+
5+
### Break down into end to end tests
6+
7+
Explain what these tests test and why
8+
9+
```
10+
Give an example
11+
```
12+
13+
### And coding style tests
14+
15+
Explain what these tests test and why
16+
17+
## Deployment
18+
19+
Add additional notes about how to deploy this on a live system
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
3+
"Suspendisse tincidunt vehicula eleifend.",
4+
"Nunc tristique nisi tortor, at pretium purus interdum sed.",
5+
"Sed vel augue sit amet sapien elementum bibendum. Aenean aliquam elementum dui, quis euismod metus ultrices ut.",
6+
"Curabitur est sapien, feugiat vel est eget, molestie suscipit nibh.",
7+
"Nunc libero orci, lacinia id orci aliquam, pharetra facilisis leo.",
8+
"Quisque et turpis nec lacus luctus ultrices quis vel nisi.",
9+
"Cras maximus ex lorem, sit amet bibendum nibh placerat eu.",
10+
"In hac habitasse platea dictumst. ",
11+
"Duis molestie sem vel ante varius, rhoncus pretium arcu dictum."
12+
]

0 commit comments

Comments
 (0)