How to contribute my source code

This document describes the composition and operating mechanism of the Typecho team, what benefits will the code you submit bring to the Typecho project, and how you can join us

Contribute code through Github

Typecho is currently used Git To control the program version, if you want to contribute source code to Typecho, you'd better understand first How to use Git We currently entrust the project to GitHub Any GitHub user can contribute code to us.

The way of participation is very simple. [Fork] send a Typecho code to your warehouse, modify it, submit it, and send us a [Pull Request] application. We will review the code in a timely manner with your application. After passing the review, your code will be [Merge] into our warehouse, so that you will automatically appear in List of contributors Yes, very convenient.

We hope that the code you contributed conforms to:

  1. Appropriate notes can be understood by others
  2. follow GPL V2 protocol

Third party package integration rules

In Typecho, all program files are organized as packages. We have also integrated some excellent third-party open source packages. It is the most common and easy way to contribute package files to Typecho. We adopt the following two solutions for package file integration:

  1. For packages that can be used independently, we will directly place them in /var Directory for direct use by the program. such as IXR Package.
  2. For packages that need to be integrated for use, we will integrate them into /var/Typecho Directory as a subset of the Typecho package. such as Feed and I18n Packages are used after we extend or modify them.

No matter whether it will be modified by us or not, we will follow the distribution agreement of the third-party package, and retain the author's copyright (if any). We will state the source at the head of the file. The program comments and code style should be preserved as far as possible. For the modified package, we will mark where we modified it.

Print/Export
language
  ?