Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
psvg.doc.ic.ac.uk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Verified Software
psvg.doc.ic.ac.uk
Commits
36d31702
There was a problem fetching the pipeline summary.
Commit
36d31702
authored
7 years ago
by
Shale XIONG
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.doc.ic.ac.uk:resource-reasoning/psvg.doc.ic.ac.uk
parents
6ceb8f26
57b2edc1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+9
-8
9 additions, 8 deletions
README.md
Rakefile
+2
-1
2 additions, 1 deletion
Rakefile
with
11 additions
and
9 deletions
README.md
+
9
−
8
View file @
36d31702
...
...
@@ -73,14 +73,15 @@ In the `scholar` section of the configuration file, configuration options we've
* `repository`: Location of files associated with publications (`publications`) (the same
directory is used for both input and output: it is handled as usual by jekyll)
The template used to generate individual publication pages is [here](layout). The part of interest is the Source
Materials section. We iterate through a [predefined list of file types](file-types) and output a link (using icon and
text from the file type list) to the file in the repository if it exists.
Finally, in order to generate the complete biography page, we use a [page](index) in the site's root just outputting a
`{% bibliography %}` as normal (which renders each entry using the layout defined by the scholar `bibliography_template`
option). By using a `permalink` jekyll option we place the rendered bibliography into the `/publications/` output
directory as `index.html`.
The template used to generate individual publication pages is [here](_layouts/publication.html). The part of interest is
the Source Materials section. We iterate through a
[predefined list of file types](publications/_publication_file_types.yml) and output a link (using icon and text from
the file type list) to the file in the repository if it exists.
Finally, in order to generate the complete biography page, we use a [page](publications.html) in the site's root just
outputting a `{% bibliography %}` as normal (which renders each entry using the layout defined by the scholar
`bibliography_template` option). By using a `permalink` jekyll option we place the rendered bibliography into the
`/publications/` output directory as `index.html`.
Testing and Deployment
...
...
This diff is collapsed.
Click to expand it.
Rakefile
+
2
−
1
View file @
36d31702
...
...
@@ -15,7 +15,8 @@ end
htmlproofer_config
=
{
:disable_external
=>
true
,
:check_html
=>
true
,
:parallel
=>
{
:in_processes
=>
1
}
:parallel
=>
{
:in_processes
=>
1
},
:file_ignore
=>
[
/README.html/
]
}
desc
"Build the site and test output for dead links, invalid html etc."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment