Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
J
jekyll-scholar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
caesr-pub
jekyll-scholar
Commits
c7187a82
Commit
c7187a82
authored
Mar 16, 2016
by
Sylvester Keil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test to verify skipping name parsing works
See #139
parent
a581ed12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
features/bibtex.feature
features/bibtex.feature
+30
-0
No files found.
features/bibtex.feature
View file @
c7187a82
...
...
@@ -187,6 +187,36 @@ Feature: BibTeX
And
the
"_site/scholar.html"
file should exist
And
I should see
"<abbr>1 book \[ruby\]</abbr>Matsumoto"
in
"_site/scholar.html"
@tags
@bibliography
@config
@template
@names
Scenario
:
Simple Bibliography With Custom Template and Name Parsing
Given I have a scholar configuration with
:
|
key
|
value
|
|
source
|
./_bibliography
|
|
bibliography_template
|
<span>{{entry.author}}</span>
|
And I have the following BibTeX options
:
|
key
|
value
|
|
parse_names
|
false
|
And
I have a
"_bibliography"
directory
And I have a file "_bibliography/references.bib"
:
"""
@book{ruby,
title = {The Ruby Programming Language},
author = {David Flanagan and Matsumoto, Yukihiro},
year = {2008},
publisher = {O'Reilly Media}
}
"""
And I have a page "scholar.html"
:
"""
---
---
{% bibliography -f references %}
"""
When
I run jekyll
Then
the _site directory should exist
And
the
"_site/scholar.html"
file should exist
And
I should see
"David Flanagan and Matsumoto, Yukihiro"
in
"_site/scholar.html"
@tags
@filter
Scenario
:
Filtered Bibliography Loaded From Default Directory
Given I have a scholar configuration with
:
...
...
Write
Preview
Markdown
is supported
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