-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'src/main/resources/csl-styles/' content from commit f71cd32
git-subtree-dir: src/main/resources/csl-styles git-subtree-split: f71cd32
- Loading branch information
0 parents
commit 974d13d
Showing
9,503 changed files
with
740,513 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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,19 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 30 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 14 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- pinned | ||
- quality-control | ||
- repository | ||
- style-request | ||
# Label to use when marking an issue as stale | ||
staleLabel: waiting | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue hasn't seen any activity in the past 30 days. It will be automatically closed if no further activity occurs in the next two weeks. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: false | ||
# Limit the number of actions per hour, from 1-30. Default is 30 | ||
limitPerRun: 1 |
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,2 @@ | ||
.env | ||
spec/sheldon/travis.json |
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,5 @@ | ||
--format Fuubar | ||
--color | ||
--require spec_helper.rb | ||
--format json | ||
--out spec/sheldon/travis.json |
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,23 @@ | ||
dist: xenial | ||
language: ruby | ||
cache: bundler | ||
rvm: | ||
- 2.5.3 | ||
install: | ||
- bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle} | ||
- bundle update sheldon | ||
notifications: | ||
email: | ||
recipients: | ||
- rintze.zelle@gmail.com | ||
- karcher@u.northwestern.edu | ||
on_success: change | ||
on_failure: always | ||
webhooks: | ||
urls: | ||
- https://shelbot.herokuapp.com/build | ||
- https://styles-update.zotero.org:8826/ | ||
- https://styles-update.zotero.org:8827/ | ||
on_success: always | ||
on_failure: always | ||
on_start: never |
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,82 @@ | ||
# Guide to Submitting CSL Styles (and CSL Locales) | ||
|
||
The CSL style repository is the central location on the web for collecting and maintaining CSL styles. | ||
Software products like Zotero, Mendeley, and Papers all draw their styles from our repository. | ||
|
||
We welcome style submissions (and corrections), and are particularly interested in styles for journals and published style guides. | ||
If you wish to submit a different type of style, please first check our [Criteria for Accepting Styles](https://github.com/citation-style-language/styles/wiki/Criteria-for-Accepting-Styles). | ||
|
||
To submit a style, please follow the following steps (for locale files, follow the same steps in the [locales](https://github.com/citation-style-language/locales) repository): | ||
|
||
#### 1. Check that your style meets all our [style requirements](https://github.com/citation-style-language/styles/wiki/Style-Requirements) | ||
|
||
#### 2. [Validate](https://github.com/citation-style-language/styles/wiki/Validation) your style against the CSL schema, and correct any validation errors | ||
|
||
#### 3. Create a pull request | ||
|
||
The fastest way to get a style accepted into our repository is by creating a **pull request** on the GitHub website. | ||
To start, create a GitHub account and sign in. | ||
|
||
##### 3a. Submitting a new style | ||
|
||
1. Visit https://github.com/citation-style-language/styles and click the "Create new file" button. | ||
When submitting a [dependent style](https://github.com/citation-style-language/styles/wiki/Requesting-Styles#dependent-styles), first navigate to the [dependent](https://github.com/citation-style-language/styles/tree/master/dependent) subdirectory. | ||
2. Type in the file name of the style in the "Name your file..." text field at the top. | ||
Don't forget to add the ".csl" extension (e.g., "journal-of-results.csl" instead of just "journal-of-results")! | ||
3. Paste the style code into the "<> Edit new file" tab below. | ||
4. Click the "Propose new file" button. | ||
5. In the next window, click the "Create pull request" button. | ||
Describe the changes you've made, and click the "Create pull request" button once more. | ||
|
||
(for more help, see GitHub's instructions on [Creating new files](https://help.github.com/articles/creating-new-files)) | ||
|
||
##### 3b. Submitting changes to an existing style | ||
|
||
1. Visit https://github.com/citation-style-language/styles and find the style you wish to change (dependent styles are stored in the [dependent](https://github.com/citation-style-language/styles/tree/master/dependent) subdirectory). | ||
To search by file name press "t" (this activates GitHub’s [File Finder](https://github.com/blog/793-introducing-the-file-finder)) and start typing. | ||
2. Click on the style name, which will bring you to a page like https://github.com/citation-style-language/styles/blob/master/apa.csl. | ||
3. Click the edit icon (in the shape of a pencil). | ||
This opens a code editor in which you can make your changes (you can for example copy and paste your modified style into this window). | ||
4. Once you have made your changes in the "<> Edit file" tab (and previewed the changes in the "Preview changes" tab), click the "Propose file change" button. | ||
5. In the next window, click the "Create pull request" button. | ||
Describe the changes you've made, and click the "Create pull request" button once more. | ||
|
||
(for more help, see GitHub's instructions on [Editing files in another user's repository](https://help.github.com/articles/editing-files-in-another-user-s-repository)) | ||
|
||
Instead of relying solely on the GitHub website, you can also use a git client, such as [GitHub Desktop](https://desktop.github.com/) for Mac and Windows, or [SmartGit](http://www.syntevo.com/smartgit/). | ||
When using a client, [fork](https://help.github.com/articles/fork-a-repo/) the [style repository](https://github.com/citation-style-language/styles), create a branch off of "master", commit your changes, and then create a [pull request](https://help.github.com/articles/using-pull-requests/). | ||
|
||
#### 4. Update your pull request | ||
|
||
We often request you to make some changes to your pull request. | ||
Don't create a new pull request right away if your original submission has issues. | ||
It's much easier for us if you update your original pull request instead. | ||
|
||
After you create a pull request, our @csl-bot will first automatically run a number of tests to check whether your style validates and follows our style requirements. | ||
These tests usually finish within a few minutes. | ||
If there are problems, @csl-bot will give a link to the test report, which contains the identified errors. | ||
If you have trouble understanding these errors, please post a comment in the pull request and ask for help. | ||
|
||
We also have a handful of volunteers who review pull requests, usually within a day or two. | ||
|
||
To update your pull request: | ||
|
||
1. Visit the "Files changed" tab of your pull request. | ||
2. Click the edit (pencil) icon at the top-right of your style. | ||
3. Make your changes, and click the "Commit changes" button. | ||
|
||
Any changes made this way will automatically appear in the pull request, and each commit will trigger a new test report. | ||
|
||
Once we are satisfied, we will **merge** your pull request. | ||
This can take hours or days, depending on how busy we are, and on how much back and forth is needed to get your style in acceptable shape. | ||
|
||
#### 5. Make additional changes after merging | ||
|
||
Once a pull request has been merged, it can no longer be used to submit further changes. | ||
So, if you wish to make additional changes, just create a new pull request. | ||
|
||
Please always start from the latest version of the style from our repository, because we often perform maintenance on the repository styles. | ||
|
||
## Asking for help | ||
|
||
If you get stuck at a particular step, don't hesitate to ask for help by opening a GitHub issue at https://github.com/citation-style-language/styles/issues (click the "New issue" button). |
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,9 @@ | ||
ruby '2.5.3' | ||
source 'https://rubygems.org' | ||
|
||
gem 'rake' | ||
gem 'rspec' | ||
gem 'nokogiri' | ||
gem 'csl', '~>1.0' | ||
gem 'fuubar' | ||
gem 'sheldon', git: 'https://github.com/citation-style-language/Sheldon.git' |
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,70 @@ | ||
GIT | ||
remote: https://github.com/citation-style-language/Sheldon.git | ||
revision: 09d0daebe0b6c76ccf9963f86e2e966b28a3ef46 | ||
specs: | ||
sheldon (1.0.2) | ||
citeproc-ruby | ||
csl-styles | ||
diffy | ||
dotenv | ||
nokogiri | ||
ostruct | ||
reverse_markdown | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
citeproc (1.0.9) | ||
namae (~> 1.0) | ||
citeproc-ruby (1.1.10) | ||
citeproc (~> 1.0, >= 1.0.9) | ||
csl (~> 1.5) | ||
csl (1.5.0) | ||
namae (~> 1.0) | ||
csl-styles (1.0.1.9) | ||
csl (~> 1.0) | ||
diff-lcs (1.3) | ||
diffy (3.3.0) | ||
dotenv (2.7.5) | ||
fuubar (2.4.1) | ||
rspec-core (~> 3.0) | ||
ruby-progressbar (~> 1.4) | ||
mini_portile2 (2.4.0) | ||
namae (1.0.1) | ||
nokogiri (1.10.3) | ||
mini_portile2 (~> 2.4.0) | ||
ostruct (0.1.0) | ||
rake (12.3.3) | ||
reverse_markdown (1.1.0) | ||
nokogiri | ||
rspec (3.8.0) | ||
rspec-core (~> 3.8.0) | ||
rspec-expectations (~> 3.8.0) | ||
rspec-mocks (~> 3.8.0) | ||
rspec-core (3.8.2) | ||
rspec-support (~> 3.8.0) | ||
rspec-expectations (3.8.4) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.8.0) | ||
rspec-mocks (3.8.1) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.8.0) | ||
rspec-support (3.8.2) | ||
ruby-progressbar (1.10.1) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
csl (~> 1.0) | ||
fuubar | ||
nokogiri | ||
rake | ||
rspec | ||
sheldon! | ||
|
||
RUBY VERSION | ||
ruby 2.5.3p105 | ||
|
||
BUNDLED WITH | ||
1.17.3 |
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,16 @@ | ||
CSL Style Repository | ||
==================== | ||
|
||
[![Build Status](https://travis-ci.org/citation-style-language/styles.svg?branch=master)](https://travis-ci.org/citation-style-language/styles) | ||
[![license](https://img.shields.io/badge/license-CC%20BY%20SA%203.0-blue.svg)](https://github.com/citation-style-language/styles#licensing) | ||
[![GitHub contributors](https://img.shields.io/github/contributors/citation-style-language/styles.svg)](https://github.com/citation-style-language/styles/graphs/contributors) | ||
[![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/citation-style-language/styles.svg)](https://github.com/citation-style-language/styles/pulls?q=is%3Apr+is%3Aclosed) | ||
|
||
[github.com/citation-style-language/styles](https://github.com/citation-style-language/styles) is the official repository for Citation Style Language (CSL) styles and is maintained by CSL project members. | ||
For more information, check out [CitationStyles.org](http://citationstyles.org/) and the [repository wiki](https://github.com/citation-style-language/styles/wiki). | ||
|
||
Licensing | ||
--------- | ||
|
||
All the styles in this repository are released under the [Creative Commons Attribution-ShareAlike 3.0 Unported license](http://creativecommons.org/licenses/by-sa/3.0/). | ||
For attribution, any software using CSL styles from this repository must include a clear mention of the CSL project and a link to [CitationStyles.org](http://citationstyles.org/). When distributing these styles, the listings of authors and contributors in the style metadata must be kept as is. |
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 @@ | ||
require 'bundler' | ||
begin | ||
Bundler.setup | ||
rescue Bundler::BundlerError => e | ||
$stderr.puts e.message | ||
$stderr.puts "Run `bundle install' to install missing gems" | ||
exit e.status_code | ||
end | ||
|
||
if ENV['TRAVIS'] | ||
at_exit do | ||
system('bundle exec sheldon') | ||
end | ||
end | ||
|
||
require 'rspec/core' | ||
require 'rspec/core/rake_task' | ||
RSpec::Core::RakeTask.new(:spec) do |spec| | ||
if ENV['TRAVIS'] | ||
spec.rspec_opts = %w{ --require spec_helper.rb --format Fuubar --color --format json --out spec/sheldon/travis.json } | ||
else | ||
spec.rspec_opts = %w{ --require spec_helper.rb --format Fuubar --color --format json --out spec/sheldon/travis.json } | ||
end | ||
end | ||
|
||
task :default => [:spec] |
Oops, something went wrong.