Skip to content

Commit 5ed15a0

Browse files
authored
Merge pull request #3 from metaloha/add-docs
Add document generation via `npm run docs` command; updated dependencies
2 parents 2ab8c74 + 2785f88 commit 5ed15a0

16 files changed

+2745
-937
lines changed

.eslintrc.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"ignorePatterns": [
44
"**/*"
55
],
6-
"plugins": [],
6+
"plugins": [
7+
"eslint-plugin-tsdoc"
8+
],
79
"settings": {
810
"import/resolver": {
911
"typescript": {}
@@ -212,7 +214,8 @@
212214
"prefer-template": "error",
213215
"quotes": "off",
214216
"radix": "error",
215-
"require-atomic-updates": "error"
217+
"require-atomic-updates": "error",
218+
"tsdoc/syntax": "warn"
216219
}
217220
}
218221
]
File renamed without changes.

docs/CONTRIBUTING.md renamed to CONTRIBUTING.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ Please note we have a [code of conduct](CODE_OF_CONDUCT.md), please follow it in
55

66
## Development environment setup
77

8-
> **[?]**
9-
> Proceed to describe how to setup local development environment.
10-
> e.g:
11-
128
To set up a development environment, please follow these steps:
139

1410
1. Clone the repo
@@ -31,8 +27,7 @@ To set up a development environment, please follow these steps:
3127

3228
## Issues and feature requests
3329

34-
You've found a bug in the source code, a mistake in the documentation or maybe you'd like a new feature? You can help us by submitting an issue to our [GitHub Repository](https://github.com/metaloha/ts-boilerplate/issues). Before you create an issue, make sure you search the archive, maybe your question was already answered.
35-
Also please check out [GitHub discussions](https://github.com/metaloha/ts-boilerplate/discussions) before submitting an issue.
30+
You've found a bug in the source code, a mistake in the documentation or maybe you'd like a new feature? You can help us by submitting an issue to our [GitHub Repository](https://github.com/metaloha/ts-boilerplate/issues). Before you create an issue, make sure you search the archive, maybe your question was already answered. Also, please check out [GitHub discussions](https://github.com/metaloha/ts-boilerplate/discussions) before submitting an issue.
3631

3732
Please try to create bug reports that are:
3833

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Reach out to the maintainer at one of the following places:
1919

2020
First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are **greatly appreciated**.
2121

22-
We have set up a separate document containing our [contribution guidelines](docs/CONTRIBUTING.md).
22+
We have set up a separate document containing our [contribution guidelines](CONTRIBUTING.md).
2323

2424
Thank you for being involved!
2525

@@ -34,7 +34,7 @@ For a full list of all authors and contributors, check [the contributor's page](
3434
TS-Boilerplate follows good practices of security, but 100% security can't be granted in software.
3535
TS-Boilerplate is provided **"as is"** without any **warranty**. Use at your own risk.
3636

37-
_For more info, please refer to the [security](docs/SECURITY.md)._
37+
_For more info, please refer to the [security](SECURITY.md)._
3838

3939
## License
4040

File renamed without changes.

docs/.nojekyll

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.

docs/assets/highlight.css

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
:root {
2+
--light-hl-0: #795E26;
3+
--dark-hl-0: #DCDCAA;
4+
--light-hl-1: #000000;
5+
--dark-hl-1: #D4D4D4;
6+
--light-hl-2: #A31515;
7+
--dark-hl-2: #CE9178;
8+
--light-hl-3: #008000;
9+
--dark-hl-3: #6A9955;
10+
--light-code-background: #FFFFFF;
11+
--dark-code-background: #1E1E1E;
12+
}
13+
14+
@media (prefers-color-scheme: light) { :root {
15+
--hl-0: var(--light-hl-0);
16+
--hl-1: var(--light-hl-1);
17+
--hl-2: var(--light-hl-2);
18+
--hl-3: var(--light-hl-3);
19+
--code-background: var(--light-code-background);
20+
} }
21+
22+
@media (prefers-color-scheme: dark) { :root {
23+
--hl-0: var(--dark-hl-0);
24+
--hl-1: var(--dark-hl-1);
25+
--hl-2: var(--dark-hl-2);
26+
--hl-3: var(--dark-hl-3);
27+
--code-background: var(--dark-code-background);
28+
} }
29+
30+
:root[data-theme='light'] {
31+
--hl-0: var(--light-hl-0);
32+
--hl-1: var(--light-hl-1);
33+
--hl-2: var(--light-hl-2);
34+
--hl-3: var(--light-hl-3);
35+
--code-background: var(--light-code-background);
36+
}
37+
38+
:root[data-theme='dark'] {
39+
--hl-0: var(--dark-hl-0);
40+
--hl-1: var(--dark-hl-1);
41+
--hl-2: var(--dark-hl-2);
42+
--hl-3: var(--dark-hl-3);
43+
--code-background: var(--dark-code-background);
44+
}
45+
46+
.hl-0 { color: var(--hl-0); }
47+
.hl-1 { color: var(--hl-1); }
48+
.hl-2 { color: var(--hl-2); }
49+
.hl-3 { color: var(--hl-3); }
50+
pre, code { background: var(--code-background); }

docs/assets/main.js

+54
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/search.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)