Giter Site home page Giter Site logo

margotbean / canimod.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pathoschild/canimod.github.io

0.0 1.0 0.0 369 KB

A collaborative GitHub pages website about modding Stardew Valley.

Home Page: http://canimod.com

License: MIT License

HTML 22.05% CSS 70.41% JavaScript 7.54%

canimod.github.io's Introduction

Can I Mod is an open-source website dedicated to documenting Stardew Valley modding — everything from simple user guides (from installing SMAPI to troubleshooting mods) to modding resources (from creating a minimal SMAPI mod to in-depth guides like parsing event data). The site is freely licensed, continuously deployed to canimod.com, and anyone can contribute.

Ways to contribute

Propose edits from your browser

You can propose changes to individual files right here on GitHub — no knowledge of Git needed. Here's how:

  1. Open the file you want to change on GitHub. The front page is index.md, and the guide pages are in /guides.

  2. Click the edit button in the top-right corner:

    screenshot of edit button

  3. Make your changes. You can edit the text and format it with Markdown, and click the "preview changes" tab to see what the new version will look like.

  4. When you're satisfied with your edits, it's time to propose your changes. At the bottom of the page, enter a short title and description and click 'Propose file change':

    screenshot of 'propose file change' form

  5. You're done! You can watch the proposal page for updates, but one of the repository maintainers will take a look at your changes soon. Your changes will go live automatically within minutes of being accepted. Thanks!

Create a pull request

For bigger changes, you can fork the repository and submit a pull request. One of the repository maintainers will take a look at your changes soon. Your changes will go live automatically within minutes of being accepted. Thanks!

Become a repository maintainer

While anyone can submit pull requests, nothing happens until someone approves them. This is an open-source project, and there's always a risk when too few people hold all the keys.

That's where maintainers come in. They can commit changes directly without a pull request, and approve pull requests from other users. Their changes are deployed to the site immediately. These are selected from active contributors — if you haven't contributed to the project yet, start with that! :)

Since maintainers can commit changes to the public site without approval, they must enable two-factor authentication to reduce security vulnerabilities.

Running the site locally

When working on bigger changes, previewing the site with your changes can be helpful. We use Jekyll to compile the markdown content and site files into a regular HTML site. Here's how to run the site on your local machine:

  1. Install Jekyll (see instructions for Linux/Mac or for Windows).

  2. In a terminal, navigate to the repository directory and launch the server.

    cd <path to repository>
    jekyll serve
    
  3. This will compile the site and serve it from localhost:4000. On Linux or Mac, the server will detect any changes to the content and update the site. On Windows, you'll need to run the command again to see changes.

canimod.github.io's People

Contributors

pathoschild avatar sakorona avatar kithio avatar koihimenakamura avatar tondorian avatar rumangerst avatar tstaples avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.