Skip to content

Commit be27330

Browse files
authored
Merge pull request #36 from WaifuAPI/staging
Staging
2 parents 6bb8a3c + 08b6a82 commit be27330

File tree

10 files changed

+519
-345
lines changed

10 files changed

+519
-345
lines changed

CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to make participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies within all project spaces, and it also applies when
49+
an individual is representing the project or its community in public spaces.
50+
Examples of representing a project or community include using an official
51+
project e-mail address, posting via an official social media account, or acting
52+
as an appointed representative at an online or offline event. Representation of
53+
a project may be further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at notaeryk@gmail.com or on [Discord](https://discord.gg/yyW389c). All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Contributing to Waifu.it
2+
3+
We love your input! We want to make contributing to this project as easy as possible, whether it's:
4+
5+
- Submitting a fix
6+
- Reporting an issue
7+
- Becoming a maintainer
8+
- Proposing new features
9+
- Discussing the current state of the code
10+
11+
## Code of Conduct
12+
13+
The code of conduct is described in [Code of Conduct](CODE_OF_CONDUCT.md).
14+
15+
## Feature Request
16+
17+
Great Feature Requests tend to have:
18+
19+
- A quick idea summary.
20+
- What & why you wanted to add the specific feature.
21+
- Additional context like images, links to resources to implement the feature etc, etc.
22+
23+
## License
24+
25+
By contributing to Animu Documentation, you agree that your contributions will be licensed
26+
under the [LICENSE file](LICENSE.md).

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 Waifu.it
3+
Copyright (c) 2023 Waifu.it
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 49 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,60 @@
1-
# Nextra Docs Template
1+
# Waifu.it Documentation
22

3-
This is a template for creating documentation with [Nextra](https://nextra.site).
3+
## Getting Started
44

5-
[**Live Demo →**](https://nextra-docs-template.vercel.app)
5+
Install dependencies,
66

7-
[![](.github/screenshot.png)](https://nextra-docs-template.vercel.app)
7+
```bash
8+
$ npm i
9+
```
810

9-
## Quick Start
11+
Start the dev server,
1012

11-
Click the button to clone this repository and deploy it on Vercel:
13+
```bash
14+
$ npm run dev
15+
```
1216

13-
[![](https://vercel.com/button)](https://vercel.com/new/clone?s=https%3A%2F%2Fgithub.com%2Fshuding%2Fnextra-docs-template&showOptionalTeamCreation=false)
17+
Build documentation,
1418

15-
## Local Development
19+
```bash
20+
$ npm run build
21+
```
1622

17-
First, run `pnpm i` to install the dependencies.
23+
# Contributing
1824

19-
Then, run `pnpm dev` to start the development server and visit localhost:3000.
25+
All contributions are greatly appreciated, but I recommend creating an issue or replying in a comment to let me know what you are working on first that way we don't overwrite each other.
2026

21-
## License
27+
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on this project.
28+
29+
## Issues
30+
31+
- Feature requests/enhancements
32+
- Bug reports
33+
- Questions/feedback
34+
35+
## Branches
36+
37+
- production -> don't touch, this is what's running in production
38+
39+
- staging -> [pull request][pr] this branch for everything
40+
41+
## Pull Requests
42+
43+
All pull requests are welcome!
44+
45+
- [Fork][fork] the repository on GitHub.
46+
47+
- [Clone][cloning] the forked repo to your local machine.
48+
49+
- Do you changes
50+
51+
- Commit your changes
52+
53+
- Push your changes back up to your fork.
54+
55+
- When you're ready, submit a [pull request][pr] so that we can review your changes.
56+
57+
[fork]: https://help.github.com/en/articles/fork-a-repo
58+
[cloning]: https://help.github.com/en/articles/cloning-a-repository
59+
[pr]: https://help.github.com/en/articles/about-pull-requests
2260

23-
This project is licensed under the MIT License.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docs.waifu.it",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "The new and improved documentation for Waifu.it",
55
"scripts": {
66
"dev": "next dev",
@@ -17,14 +17,14 @@
1717
},
1818
"homepage": "https://github.com/WaifuAPI/Documentation/#readme",
1919
"dependencies": {
20-
"next": "^13.0.6",
20+
"next": "^13.4.8",
2121
"nextra": "2.0.1",
2222
"nextra-theme-docs": "2.0.1",
2323
"react": "^18.2.0",
2424
"react-dom": "^18.2.0"
2525
},
2626
"devDependencies": {
2727
"@types/node": "18.11.10",
28-
"typescript": "^4.9.3"
28+
"typescript": "^4.9.5"
2929
}
3030
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"generate": "Generate"
3+
}

pages/rest-api/Texts/Owoify/generate.mdx

Whitespace-only changes.

pages/rest-api/Texts/_meta.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,9 @@
1414
"Tags": {
1515
"title": "Tags",
1616
"theme": { "collapsed": true }
17+
},
18+
"Owoify": {
19+
"title": "Owoify",
20+
"theme": { "collapsed": true }
1721
}
1822
}

theme.config.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const config: DocsThemeConfig = {
88
},
99
faviconGlyph: "🚧",
1010
banner: {
11-
text: "🚧 Documentation is undergoing reconstruction 🚧",
11+
text: "🚧 Undergoing reconstruction 🚧",
1212
},
1313
logo: <span>Documentation</span>,
1414
navbar: {
@@ -59,10 +59,11 @@ const config: DocsThemeConfig = {
5959
},
6060
head: function useHead() {
6161
const description =
62-
"A collection of documentation for each provider available on Waifu.it. Find out how to efficiently use the Waifu.it API here!";
62+
"A collection of documentation for each endpoints available on Waifu.it. Find out how to efficiently use the Waifu.it API here!";
6363
return (
6464
<>
6565
<meta httpEquiv="Content-Language" content="en" />
66+
<meta name="keywords" content="anime, waifu, anime facts, anime quotes, waifu api, waifu pictures, anime api, opensource api" />
6667
<meta name="description" content={description} />
6768
<meta name="og:description" content={description} />
6869
</>

0 commit comments

Comments
 (0)