Skip to content

Commit 1fa2f25

Browse files
authored
Merge pull request #24 from JetJet13/develop
Mathbook Release v1.0.0
2 parents 9ac49d1 + f6b8972 commit 1fa2f25

File tree

129 files changed

+23054
-230
lines changed

Some content is hidden

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

129 files changed

+23054
-230
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/front-end/public/javascripts/*.js

.eslintrc

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"parserOptions": {
3+
"ecmaVersion": 2017
4+
},
5+
"plugins": ["prettier"],
6+
"rules": {
7+
"prettier/prettier": "error",
8+
"constructor-super": 2,
9+
"no-case-declarations": 2,
10+
"no-class-assign": 2,
11+
"no-compare-neg-zero": 2,
12+
"no-cond-assign": 2,
13+
"no-console": 2,
14+
"no-const-assign": 2,
15+
"no-constant-condition": 2,
16+
"no-control-regex": 2,
17+
"no-debugger": 2,
18+
"no-delete-var": 2,
19+
"no-dupe-args": 2,
20+
"no-dupe-class-members": 2,
21+
"no-dupe-keys": 2,
22+
"no-duplicate-case": 2,
23+
"no-empty-character-class": 2,
24+
"no-empty-pattern": 2,
25+
"no-empty": 2,
26+
"no-ex-assign": 2,
27+
"no-extra-boolean-cast": 2,
28+
"no-extra-semi": 2,
29+
"no-fallthrough": 2,
30+
"no-func-assign": 2,
31+
"no-global-assign": 2,
32+
"no-inner-declarations": 2,
33+
"no-invalid-regexp": 2,
34+
"no-irregular-whitespace": 2,
35+
"no-mixed-spaces-and-tabs": 2,
36+
"no-new-symbol": 2,
37+
"no-obj-calls": 2,
38+
"no-octal": 2,
39+
"no-redeclare": 2,
40+
"no-regex-spaces": 2,
41+
"no-self-assign": 2,
42+
"no-sparse-arrays": 2,
43+
"no-this-before-super": 2,
44+
"no-undef": 2,
45+
"no-unexpected-multiline": 2,
46+
"no-unreachable": 2,
47+
"no-unsafe-finally": 2,
48+
"no-unsafe-negation": 2,
49+
"no-unused-labels": 2,
50+
"no-unused-vars": 2,
51+
"no-useless-escape": 2,
52+
"require-yield": 2,
53+
"use-isnan": 2,
54+
"valid-typeof": 2
55+
},
56+
"env": {
57+
"node": true,
58+
"mocha": true,
59+
"es6": true,
60+
"jquery": true
61+
},
62+
"extends": ["prettier"]
63+
}

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
# vscode
2-
node_modules
2+
.vscode/
3+
node_modules
4+
npm-debug.log
5+
src/logs/
6+
src/public/tags/
7+
src/public/javascripts/all.js
8+
config/local.json

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"semi": false,
3+
"printWidth": 120
4+
}

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "gulp-riot",
8+
"program": "${workspaceRoot}/node_modules/gulp/bin/gulp.js",
9+
"args": [
10+
"riot"
11+
]
12+
},
13+
{
14+
"type": "node",
15+
"request": "launch",
16+
"name": "Launch Program",
17+
"preLaunchTask": "gulp-riot",
18+
"program": "${workspaceRoot}\\bin\\www"
19+
}
20+
]
21+
}

CONTRIBUTING.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
# Contributing to Mathbook
2+
3+
Hey there, thanks for showing interest in making a contribution towards Mathbook. We are always looking to get more
4+
hands on deck to help make Mathbook the best math resource available on the internet.
5+
6+
## In what ways can I contribute ?
7+
8+
There is always something to do to help maintain and grow Mathbook. You can,
9+
10+
* Create a tutorial
11+
* Review a tutorial submitted for review
12+
* Find and report bugs
13+
* Fix Bugs
14+
* Write documentation
15+
* Write tests
16+
* Provide feedback ( positive or negative )
17+
18+
## I want to create a tutorial for Mathbook.
19+
20+
You can read up on how to create and submit a tutorial [here](https://mathbook.io/contribute/create-tutorial').
21+
22+
## I want to review a tutorial submitted for review.
23+
24+
You can read up on the process currently set up for reviewing a tutorial
25+
[here](https://mathbook.io/contribute/review-tutorial).
26+
27+
## I want to report a bug I found.
28+
29+
No matter the size of the bug, making the contributors aware of the bug is invaluable, so we thank you in advance.
30+
31+
The Mathbook project is hosted on GitHub and there is an issues section where you can create an issue and tag it as a
32+
bug.
33+
34+
Please make sure to follow the bug reporting guidelines outlined
35+
[here](https://github.com/JetJet13/mathbook/wiki/Bug-Reporting-Guideline).
36+
37+
[Click here to go the issues page for Mathbook](https://github.com/JetJet13/mathbook/issues)
38+
39+
## I want to fix/squash some bugs
40+
41+
Fixing bugs is an integral part of maintaining Mathbook. If it's your first time, we recommend starting off with the
42+
smaller bugs.
43+
44+
If and when you get comfortable fixing bugs and making changes to the source code, you are more than welcome to making
45+
the jump towards squashing bigger bugs.
46+
47+
[Click here to view the current list of reported bugs](https://github.com/JetJet13/mathbook/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3Abug+)
48+
49+
## I want to write some documentation
50+
51+
Documentation is very important for new and existing contributors of Mathbook because it serves as a reference for
52+
understanding how Mathbook works under the hood.
53+
54+
Writing documentation requires knowledge of the inner workings of Mathbook and the reasoning behind the decisions made
55+
in the architecture and source code.
56+
57+
The documentation for Mathbook lives [here](https://github.com/JetJet13/mathbook/wiki)
58+
59+
We recommend reading through some parts of the docs to get an idea of what's needed to contribute to the docs, ie)
60+
formatting, providing examples and maybe even referencing some part of the source code
61+
62+
## I want to contribute by writing some tests
63+
64+
Testing is important to the overall success of Mathbook and all software projects in general. Tests give us visibility
65+
into the effects of the changes we make into the source code that might be due to a simple refactor or implementing a
66+
new feature.
67+
68+
Always remember, **if you find a bug, then that means you missed a test scenario.**
69+
70+
For Mathbook, the testing framework we use is [Chai](http://chaijs.com/) and our test runner is
71+
[Mocha](https://mochajs.org/). We also use [Sinon](http://sinonjs.org/) for stubbing/mocking and setting up spies.
72+
73+
Check out the tests folder in the [source code](./tests) to get an idea of how we structure our test suites.
74+
75+
You can also check out the [documentation](https://github.com/JetJet13/mathbook/wiki/Testing-Documentation) to learn
76+
about the reasoning behind the different types of tests that we write.
77+
78+
## I want to provide some feedback
79+
80+
Your feedback is always welcome. Do you have an idea for a new feature or think that some functionality could be
81+
improved, let us know.
82+
83+
You can create an issue on GitHub and tag the issue with the proper tag that reflects your feedback (we have a bunch of
84+
tags, pick one that best represents your feedback).
85+
86+
[Click here to go the issues page and provide some feedback](https://github.com/JetJet13/mathbook/issues)
87+
88+
## Contributor Behavior
89+
90+
All contributors of Mathbook are expected to be respectful and considerate towards one another. There are no silly
91+
questions or suggestions, so feel free to share anything that comes to mind.
92+
93+
If you plan on reviewing tutorials, please keep all comments and feedback during the review process constructive. Any
94+
personal attacks or name calling will not be tolerated.
95+
96+
The common goal we all share is to grow the community of contributors and make Mathbook the best online resource for
97+
learning mathematics.

0 commit comments

Comments
 (0)