Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
caesr-pub
jekyll-scholar-extras
Commits
bde745ba
Commit
bde745ba
authored
Oct 18, 2017
by
rmrf
Browse files
Remove the debugging messages
parent
2d7d3cb9
Pipeline
#31699
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/jekyll/scholar/extras/bibliography_year.rb
View file @
bde745ba
...
...
@@ -11,9 +11,9 @@ module Jekyll
@config
=
Scholar
.
defaults
.
dup
@config_extras
=
ScholarExtras
.
extra_defaults
.
dup
puts
@config_extras
#
puts @config_extras
puts
@config_extras
[
'parse_extra_fields'
]
#
puts @config_extras['parse_extra_fields']
optparse
(
arguments
)
...
...
lib/jekyll/scholar/extras_utilities.rb
View file @
bde745ba
...
...
@@ -67,16 +67,16 @@ module Jekyll
end
def
split_reference
(
reference
)
puts
"## "
+
reference
.
to_s
# puts "\n"
#
puts "## " + reference.to_s
#
#
puts "\n"
if
!
reference
.
nil?
xml
=
Nokogiri
::
HTML
(
reference
.
to_s
)
puts
"====B======"
#
puts "====B======"
# puts xml.css("div.csl-index")
xml
.
css
(
"div.csl-block.csl-title"
).
each
do
|
node
|
puts
"==> "
+
node
.
text
end
puts
"====E====="
#
puts "====E====="
end
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment