-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f63d95
commit fef69d1
Showing
521 changed files
with
52,503 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
version: "2" | ||
checks: | ||
argument-count: | ||
enabled: true | ||
config: | ||
threshold: 5 | ||
file-lines: | ||
enabled: true | ||
config: | ||
threshold: 300 | ||
method-complexity: | ||
enabled: true | ||
config: | ||
threshold: 15 | ||
method-count: | ||
enabled: true | ||
config: | ||
threshold: 50 | ||
method-lines: | ||
enabled: true | ||
config: | ||
threshold: 30 | ||
plugins: | ||
fixme: | ||
enabled: false | ||
rubocop: | ||
enabled: true | ||
channel: rubocop-0-60 | ||
|
||
exclude_patterns: | ||
- "*.*" | ||
- ".*" | ||
|
||
- Gemfile | ||
- LICENSE | ||
- Rakefile | ||
|
||
- benchmark/ | ||
- docs/ | ||
- exe/ | ||
- features/ | ||
- rake/ | ||
- rubocop/ | ||
- script/ | ||
- spec/ | ||
- test/ | ||
- vendor/ | ||
|
||
- lib/blank_template/ | ||
- lib/site_template/ | ||
- lib/theme_template/ | ||
- lib/jekyll/mime.types | ||
- lib/jekyll/commands/serve/livereload_assets/livereload.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#------------------------------------------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. | ||
#------------------------------------------------------------------------------------------------------------- | ||
|
||
FROM ruby:3.0 | ||
|
||
# Avoid warnings by switching to noninteractive | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# This Dockerfile adds a non-root user with sudo access. Use the "remoteUser" | ||
# property in devcontainer.json to use it. On Linux, the container user's GID/UIDs | ||
# will be updated to match your local UID/GID (when using the dockerFile property). | ||
# See https://aka.ms/vscode-remote/containers/non-root-user for details. | ||
ARG USERNAME=vscode | ||
ARG USER_UID=1000 | ||
ARG USER_GID=$USER_UID | ||
|
||
# Configure apt and install packages | ||
RUN apt-get update \ | ||
&& apt-get -y install --no-install-recommends apt-utils dialog locales 2>&1 \ | ||
# Verify git, process tools installed | ||
&& apt-get -y install git openssh-client iproute2 procps lsb-release \ | ||
# | ||
# Install ruby-debug-ide and debase | ||
&& gem install ruby-debug-ide \ | ||
&& gem install debase \ | ||
# | ||
# Install node.js | ||
&& apt-get -y install curl software-properties-common \ | ||
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - \ | ||
&& apt-get -y install nodejs \ | ||
# | ||
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user. | ||
&& groupadd --gid $USER_GID $USERNAME \ | ||
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \ | ||
# [Optional] Add sudo support for the non-root user | ||
&& apt-get install -y sudo \ | ||
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\ | ||
&& chmod 0440 /etc/sudoers.d/$USERNAME \ | ||
# | ||
# Clean up | ||
&& apt-get autoremove -y \ | ||
&& apt-get clean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Set the locale | ||
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ | ||
dpkg-reconfigure --frontend=noninteractive locales && \ | ||
update-locale LANG=en_US.UTF-8 | ||
|
||
ENV LANG en_US.UTF-8 | ||
|
||
# Switch back to dialog for any ad-hoc use of apt-get | ||
ENV DEBIAN_FRONTEND=dialog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.101.1/containers/ruby-2 | ||
{ | ||
"name": "Ruby 3", | ||
"dockerFile": "Dockerfile", | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash" | ||
}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"rebornix.Ruby" | ||
], | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "bundle install" | ||
|
||
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. | ||
// "remoteUser": "vscode" | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# The Jekyll project has 6 affinity teams, shown here: https://teams.jekyllrb.com/ | ||
# They are as follows: | ||
# | ||
# 1. @jekyll/build | ||
# 2. @jekyll/documentation | ||
# 3. @jekyll/ecosystem | ||
# 4. @jekyll/performance | ||
# 5. @jekyll/stability | ||
# 6. @jekyll/windows | ||
# | ||
# Each of these teams has a mission. Wherever possible, GitHub should | ||
# automatically require review from these teams on the pieces of the | ||
# repository they maintain. | ||
|
||
# @jekyll/documentation | ||
/docs/ @jekyll/documentation | ||
|
||
# @jekyll/build | ||
/exe/ @jekyll/build | ||
/lib/jekyll.rb @jekyll/build | ||
/lib/jekyll/cleaner.rb @jekyll/build | ||
/lib/jekyll/collection.rb @jekyll/build | ||
/lib/jekyll/command.rb @jekyll/build | ||
/lib/jekyll/commands/ @jekyll/build | ||
/lib/jekyll/converter.rb @jekyll/build | ||
/lib/jekyll/converters/ @jekyll/build | ||
/lib/jekyll/convertible.rb @jekyll/build | ||
/lib/jekyll/document.rb @jekyll/build | ||
/lib/jekyll/drops/ @jekyll/build | ||
/lib/jekyll/entry_filter.rb @jekyll/build | ||
/lib/jekyll/errors.rb @jekyll/build | ||
/lib/jekyll/excerpt.rb @jekyll/build | ||
/lib/jekyll/filters/ @jekyll/build | ||
/lib/jekyll/filters.rb @jekyll/build | ||
/lib/jekyll/layout.rb @jekyll/build | ||
/lib/jekyll/liquid_extensions.rb @jekyll/build | ||
/lib/jekyll/liquid_renderer/ @jekyll/build | ||
/lib/jekyll/liquid_renderer.rb @jekyll/build | ||
/lib/jekyll/log_adapter.rb @jekyll/build | ||
/lib/jekyll/mime.types @jekyll/build | ||
/lib/jekyll/page.rb @jekyll/build | ||
/lib/jekyll/publisher.rb @jekyll/build | ||
/lib/jekyll/reader.rb @jekyll/build | ||
/lib/jekyll/readers/ @jekyll/build | ||
/lib/jekyll/regenerator.rb @jekyll/build | ||
/lib/jekyll/related_posts.rb @jekyll/build | ||
/lib/jekyll/renderer.rb @jekyll/build | ||
/lib/jekyll/site.rb @jekyll/build | ||
/lib/jekyll/static_file.rb @jekyll/build | ||
/lib/jekyll/stevenson.rb @jekyll/build | ||
/lib/jekyll/tags/ @jekyll/build | ||
/lib/jekyll/url.rb @jekyll/build | ||
/lib/jekyll/utils/ @jekyll/build | ||
/lib/jekyll/utils.rb @jekyll/build | ||
|
||
# @jekyll/ecosystem | ||
/lib/jekyll/external.rb @jekyll/ecosystem | ||
/lib/jekyll/generator.rb @jekyll/ecosystem | ||
/lib/jekyll/hooks.rb @jekyll/ecosystem | ||
/lib/jekyll/plugin.rb @jekyll/ecosystem | ||
/lib/jekyll/plugin_manager.rb @jekyll/ecosystem | ||
/lib/jekyll/theme.rb @jekyll/ecosystem | ||
/lib/jekyll/theme_builder.rb @jekyll/ecosystem | ||
|
||
# @jekyll/stability | ||
Gemfile @jekyll/stability | ||
*.gemspec @jekyll/stability | ||
.travis.yml @jekyll/stability | ||
appveyor.yml @jekyll/stability | ||
/lib/jekyll/configuration.rb @jekyll/stability | ||
/lib/jekyll/deprecator.rb @jekyll/stability | ||
/lib/jekyll/frontmatter_defaults.rb @jekyll/stability | ||
/lib/site_template @jekyll/stability | ||
/lib/theme_template @jekyll/stability | ||
/features/ @jekyll/stability | ||
/test/ @jekyll/stability | ||
|
||
# Special cases | ||
.github/ @jekyll/affinity-team-captains | ||
CODE_OF_CONDUCT.markdown @jekyll/affinity-team-captains | ||
History.markdown @jekyll/affinity-team-captains | ||
LICENSE @jekyll/affinity-team-captains # This file should never change. | ||
README.markdown @jekyll/affinity-team-captains | ||
/lib/jekyll/version.rb @jekyll/affinity-team-captains | ||
/rake/ @jekyll/affinity-team-captains | ||
/script/ @jekyll/affinity-team-captains |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as | ||
contributors and maintainers pledge to making participation in our project and | ||
our community a harassment-free experience for everyone, regardless of age, body | ||
size, 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. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment | ||
include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or | ||
advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic | ||
address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable | ||
behavior and are expected to take appropriate and fair corrective action in | ||
response to any instances of unacceptable behavior. | ||
|
||
Project maintainers 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, or to ban temporarily or | ||
permanently any contributor for other behaviors that they deem inappropriate, | ||
threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces | ||
when an individual is representing the project or its community. Examples of | ||
representing a project or community include using an official project e-mail | ||
address, posting via an official social media account, or acting as an appointed | ||
representative at an online or offline event. Representation of a project may be | ||
further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported by contacting the project team at [[email protected]](mailto:[email protected]). All | ||
complaints will be reviewed and investigated and will result in a response that | ||
is deemed necessary and appropriate to the circumstances. The project team is | ||
obligated to maintain confidentiality with regard to the reporter of an incident. | ||
Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good | ||
faith may face temporary or permanent repercussions as determined by other | ||
members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, | ||
available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html) | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
|
||
For answers to common questions about this code of conduct, see | ||
[https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq) |
Oops, something went wrong.