First of all, thanks for taking your time to contribute and help make our project even better than it is today! The following is a set of guidelines for contributing to Theme-Next and its libs submodules. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
If you just have a question, you'll get faster results by checking the FAQs for a list of common questions and problems or the troubleshooting part of «NexT» Documentation Site.
Also, you can perform a cursory search to see if the problem has already been reported or solved. You don't want to duplicate effort. You might be able to find the cause of the problem and fix things yourself, or add comments to the existed issue.
Before submitting an Issue on GitHub, you can follow the steps below to debug:
hexo clean
, clear the browser cache and disable all CDN services (e.g. Cloudflare Rocket Loader)npm
to the latest version.npm install --save
.If you get an error message from Hexo or your browser, please search in Google / Stackoverflow / GitHub Issues, or report it to us when submitting a new Issue.
If you find a bug in the source code, most importantly, please check carefully if you can reproduce the problem in the latest release version of Next. Then, you can help us by Reporting Bugs or Suggesting Enhancements to our Repository. Even better, you can submit a Pull Request with a fix.
Before creating bug reports, please check this list as you might find out that you don't need to create one. After you've determined the repository your bug is related to, create an issue on that repository and provide the information as many details as possible by filling in the required template.
Following these guidelines helps maintainers and the community understand your report :pencil:, reproduce the behavior, and find related reports:
node -v
, hexo version
in your terminal, or copy the contents in site'spackage.json
.package.json
.If you find a security issue, please act responsibly and report it not in the public issue tracker, but directly to us, so we can fix it before it can be exploited. Please send the related information to security@theme-next.com (desirable with using PGP for e-mail encryption).
We will gladly special thanks to anyone who reports a vulnerability so that we can fix it. If you want to remain anonymous or pseudonymous instead, please let us know that; we will gladly respect your wishes.
Before creating enhancement suggestions, please check this list as you might find out that you don't need to create one. After you've determined the repository your enhancement suggestion is related to, create an issue on that repository and provide the information as many details as possible by filling in the required template.
Following these guidelines helps maintainers and the community understand your suggestion :pencil: and find related suggestions.
Before creating a Pull Request (PR), please check this list as you might find out that you don't need to create one. After you've determined the repository your pull request is related to, create a pull request on that repository. The detailed document of creating a pull request can be found here.
Following these guidelines helps maintainers and the community understand your pull request :pencil::
Releases are a great way to ship projects on GitHub to your users.
master
branch, unless you're releasing beta software.This project and everyone participating in it is governed by the Code of Conduct to keep open and inclusive. By participating, you are expected to uphold this code.
We use ESLint and Stylint for identifying and reporting on patterns in JavaScript and Stylus, with the goal of making code more consistent and avoiding bugs. These specifications should be followed when coding.
We use "labels" in the issue tracker to help classify Pull requests and Issues. Using labels enables maintainers and users to quickly find issues they should look into, either because they experience them, or because it meets their area of expertise.
If you are unsure what a label is about or which labels you should apply to a PR or issue, look no further!
Issues related:
Bug
: A detected bug that needs to be confirmedFeature Request
: An issue that wants a new featureQuestion
: An issue about questionsMeta
: Denoting a change of usage conditionsSupport
: An issue labeled as support requestsPolls
: An issue that initiated a pollDuplicate
: An issue which had been mentionedIrrelevant
: An irrelevant issue for NextInvalid
: An issue that cannot be reproducedExpected Behavior
: An issue that corresponds to expected behaviorNeed More Info
: Need more information for solving the issueVerified
: An issue that has been verifiedSolved
: An issue that has been solvedBacklog
: An issue that is to be completed and later compensatedStale
: This issue has been automatically marked as stale because lack of recent activityPull requests related:
Breaking Change
: A pull request that makes breaking changeBug Fix
: A pull request that fixes the related bugNew Feature
: A pull request that provides a new featureFeature
: A pull request that provides an option or addition to existing featurei18n
: A pull request that makes new languages translationWork in Progress
: A pull request that is still working in progressSkip Release
: A pull request that should be excluded from release noteBoth:
Roadmap
: An issue / pull request about future developmentHelp Wanted
: An issue / pull request that needs helpDiscussion
: An issue / pull request that needs to be discussedImprovement
: An issue that needs improvement or a pull request that improves NexTPerformance
: An issue / pull request that improves the performanceHexo
: An issue / pull request related to Hexo or Hexo pluginsTemplate Engine
: An issue / pull request related to template engineCSS
: An issue / pull request related to CSSFonts
: An issue / pull request related to fontsPJAX
: An issue / pull request related to PJAX3rd Party Plugin
: An issue / pull request related to 3rd party plugins & serviceDocs
: An issue / pull request related to instruction documentConfigurations
: An issue / pull request related to configurationsWe have very precise rules over how our git commit messages can be formatted. Each commit message consists of a type
and a subject
. This leads to more
readable messages that are easy to follow when looking through the project history.
type
describes the meaning of this commit including but not limited to the following items, and capitalize the first letter.Build
: Changes that affect the build system or external dependenciesCi
: Changes to our CI configuration files and scriptsDocs
: Documentation only changesFeat
: A new featureFix
: A bug fixPerf
: A code change that improves performanceRefactor
: A code change that neither fixes a bug nor adds a featureStyle
: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)Revert
: Revert some existing commitsRelease
: Commit a release for a conventional changelog projectsubject
contains a succinct description of the change, like Update code highlighting in readme.md
.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.