Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mlresearch/papersite
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrennd committed Feb 28, 2023
2 parents 1ad7d45 + 6f0e2b7 commit ec7d9e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion ruby/addrepo_split.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ git push --set-upstream origin gh-pages
for letter in {a..z}
do git add $letter*
git commit -a -m "Add $1 pages"
git push
if git push; then
continue
else
break
fi
done
4 changes: 2 additions & 2 deletions ruby/mlresearch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def self.extractpapers(bib_file, volume_no, volume_info, software_file=nil, vide
fname = filename(published, filestub)
out = File.open('_posts/' + fname, 'w')
out.puts ya
out.puts "# Format based on citeproc: http://blog.martinfenner.org/2013/07/30/citeproc-yaml-for-bibliographies/"
out.puts "# Format based on Martin Fenner's citeproc: https://blog.front-matter.io/posts/citeproc-yaml-for-bibliographies/"
out.puts "---"
end
end
Expand Down Expand Up @@ -509,7 +509,7 @@ def self.bibextractconfig(bibfile, volume_no, volume_type, volume_prefix)
ha['markdown'] = 'kramdown'
ha['exclude'] = ['README.md', 'Gemfile', '.gitignore']
ha['plugins'] = ['jekyll-feed', 'jekyll-seo-tag', 'jekyll-remote-theme']
ha['remote_theme'] = 'lawrennd/proceedings'
ha['remote_theme'] = 'mlresearch/jekyll-theme'
ha['style'] = 'pmlr'
ha['permalink'] = '/:title.html'
ha['ghub'] = {'edit' => true, 'repository' => reponame}
Expand Down

0 comments on commit ec7d9e8

Please sign in to comment.