Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #24 from code-reaper08/main
Browse files Browse the repository at this point in the history
DOCUMENATATION FIX
  • Loading branch information
mamamia5x authored Feb 16, 2021
2 parents 2955a2c + f46c398 commit 20aef9b
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 17 deletions.
132 changes: 132 additions & 0 deletions CODEOFCONUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@

# CODE OF CONDUCT ![important](https://img.shields.io/badge/note-Important-red "important")

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
at [https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
43 changes: 43 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Contributing to Markdownpedia
### We love your contribution!

+ Reporting a bug
+ Discussing the current state of the code
+ Submitting a fix
+ Proposing new features
+ Becoming a maintainer
## We Develop with Github
We use github to host code, to track issues and feature requests, as well as accept pull requests.

## All Code Changes Happen Through Pull Requests
Pull requests are the way to propose changes to the codebase. We actively welcome your pull requests:

1. Fork the repo and create your branch from master.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
5. Make sure your code lints.
6. Issue that pull request!

## Any contributions you make will be under the MIT Software License
In short, when you submit code changes, your submissions are understood to be under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.

## Report bugs using Github's issues
![issues](https://img.shields.io/github/issues/mamamia5x/markdownpedia?style=for-the-badge "Issues")

We use GitHub issues to track public bugs. Report a bug by opening a new issue; it's that easy!

**Markdownpedia would not be possible without your contributions.**
You can resolve the issues listed [here](https://github.com/mamamia5x/markdownpedia/issues).

> **note:**
Use the search feature to make sure an issue doesn’t already exist.

and also make sure to check the below ,

+ **Titles are important** - Give a short and conveying title for the issue.
+ **Format your issues** - Format your issues with relevent links and images describing the problem.


## License
By contributing, you agree that your contributions will be licensed under its MIT License.
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## License ![License](https://img.shields.io/badge/License%20-MIT-brightgreen "MIT")

### **Copyrighted**

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
46 changes: 29 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img alt="HTML5" src="https://img.shields.io/badge/html5%20-%23E34F26.svg?&style=for-the-badge&logo=html5&logoColor=white"/><img alt="CSS3" src="https://img.shields.io/badge/css3%20-%231572B6.svg?&style=for-the-badge&logo=css3&logoColor=white"/><img alt="JavaScript" src="https://img.shields.io/badge/javascript%20-%23323330.svg?&style=for-the-badge&logo=javascript&logoColor=%23F7DF1E"/><img alt="NodeJS" src="https://img.shields.io/badge/node.js%20-%2343853D.svg?&style=for-the-badge&logo=node.js&logoColor=white"/><img alt="Markdown" src="https://img.shields.io/badge/markdown-%23000000.svg?&style=for-the-badge&logo=markdown&logoColor=white"/><img alt="Repl.it" src="https://img.shields.io/badge/Repl.it%20-%230D101E.svg?&style=for-the-badge&logo=Repl.it&logoColor=white"/>![GitHub last commit (branch)](https://img.shields.io/github/last-commit/mamamia5x/markdownpedia/main?style=for-the-badge)
<img alt="HTML5" src="https://img.shields.io/badge/html5%20-%23E34F26.svg?&style=for-the-badge&logo=html5&logoColor=white"/><img alt="CSS3" src="https://img.shields.io/badge/css3%20-%231572B6.svg?&style=for-the-badge&logo=css3&logoColor=white"/><img alt="JavaScript" src="https://img.shields.io/badge/javascript%20-%23323330.svg?&style=for-the-badge&logo=javascript&logoColor=%23F7DF1E"/><img alt="NodeJS" src="https://img.shields.io/badge/node.js%20-%2343853D.svg?&style=for-the-badge&logo=node.js&logoColor=white"/><img alt="Markdown" src="https://img.shields.io/badge/markdown-%23000000.svg?&style=for-the-badge&logo=markdown&logoColor=white"/><img alt="Repl.it" src="https://img.shields.io/badge/Repl.it%20-%230D101E.svg?&style=for-the-badge&logo=Repl.it&logoColor=white"/>![GitHub last commit (branch)](https://img.shields.io/github/last-commit/mamamia5x/markdownpedia/main?style=for-the-badge)![issues](https://img.shields.io/github/issues/mamamia5x/markdownpedia?style=for-the-badge "Issues")

# Markdownpedia
Markdownpedia is a site similar to Wikipedia. All you got to do to edit a page is go to site/markdown and edit/add a page.
Expand All @@ -10,12 +10,10 @@ Then you create a pull request, and bam. You're done. Once a moderator (need som
You can go to [https://status.markdownpedia.tk/](https://status.markdownpedia.tk/) to check the status of the site.

## Running locally
[<img src="https://gitpod.io/button/open-in-gitpod.svg" width="95" height="20"
/>](https://gitpod.io/from-referrer/)

You can open it with Gitpod or Repl.it and it'll run on those sites just fine.
You can open it with Gitpod.io or Repl.it and it'll run on those sites just fine.

I don't know if it's a good idea, becaue these might get big. Editing a page can be done on github, and soon with an editor.
I don't know if it's a good idea, because these might get big. Editing a page can be done on github, and soon with an editor.

First clone the repository.
```sh
Expand All @@ -39,30 +37,44 @@ To convert markdown files to html files run
```sh
npm run convert
```

---
## Adding Pages to the Site
1. Go to https://github.com/mamamia5x/markdownpedia and fork it.
a. Go to your forked repository.
2. In your forked repository, go to the _site_ folder.

1. Go to [markdownpedia's repository](https://github.com/mamamia5x/markdownpedia) and fork it.

2. Go to your forked repository.

3. In your forked repository, go to the _site_ folder.

<img src="https://github.com/mamamia5x/markdownpedia/blob/main/img/tut1.jpg?raw=true" width=500/>

3. Then go to the _markdown_ folder.
4. Then go to the _markdown_ folder.

<img src="https://github.com/mamamia5x/markdownpedia/blob/main/img/tut2.jpg?raw=true" width=500/>

4. Here press _Add file_.
5. Here press _Add file_.

<img src="https://github.com/mamamia5x/markdownpedia/blob/main/img/tut3.jpg?raw=true" width=500/>

6. Press _Create new file_

a. Press _Create new file_
5. At the _Name of your file_, type in the name of the article. Then type /index.md
7. At the _Name of your file_, type in the name of the article. Then type /index.md

<img src="https://github.com/mamamia5x/markdownpedia/blob/main/img/tut4.jpg?raw=true" width=500/>


6. Add a new tab and go to [the editor](https://markdownpedia.tk/pages/editor/) and type in the files content.
7. Copy the text and paste in the other GitHub tab.
8. Press _Propose new file_ and then press _Create Pull Request_.
9. Your file will be reviewed and then added if there is no issue.
8. Add a new tab and go to [the editor](https://markdownpedia.tk/pages/editor/) and type in the files content.

9. Copy the text and paste in the other GitHub tab.

10. Press _Propose new file_ and then press _Create Pull Request_.

11. Your file will be reviewed and then added if there is no issue.

---

## Useful resources:

+ [How to fork a repository](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo)

+ [How to create a pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork)

0 comments on commit 20aef9b

Please sign in to comment.