Skip to content

Commit dc875b4

Browse files
committed
add manual.pdf CITATION.CFF makefile...
1 parent 86b0dbd commit dc875b4

File tree

7 files changed

+80
-41
lines changed

7 files changed

+80
-41
lines changed

.zenodo.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

CITATION.cff

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
cff-version: 1.2.0
2+
3+
title: "CPP PTB"
4+
5+
version: 1.2.1dev
6+
7+
abstract: a set of function to make it easier to create behavioral, EEG, fMRI experiment with psychtoolbox .
8+
9+
message: "If you use this software, please cite it as below."
10+
11+
repository-code: "https://github.com/cpp-lln-lab/CPP_PTB"
12+
13+
identifiers:
14+
- description: This is the collection of archived snapshots of all releases of CPP PTB
15+
type: doi
16+
value: "10.5281/zenodo.4007672"
17+
18+
contact:
19+
- affiliation: "Université catholique de Louvain"
20+
21+
family-names: Gau
22+
given-names: Rémi
23+
24+
authors:
25+
- family-names: "Gau"
26+
given-names: "Rémi"
27+
orcid: "https://orcid.org/0000-0002-1535-9767"
28+
affiliation: "Université catholique de Louvain"
29+
30+
- family-names: "Barilari"
31+
given-names: "Marco"
32+
orcid: "https://orcid.org/0000-0002-3313-3120"
33+
affiliation: "Université catholique de Louvain"
34+
35+
- family-names: "Battal"
36+
given-names: "Ceren"
37+
orcid: "https://orcid.org/0000-0002-9844-7630"
38+
affiliation: "Université catholique de Louvain"
39+
40+
- family-names: "Falagiarda"
41+
given-names: "Federica"
42+
orcid: "https://orcid.org/0000-0001-7844-1605"
43+
affiliation: "Université catholique de Louvain"
44+
45+
- family-names: "Shahzad"
46+
given-names: "Iqra"
47+
orcid: "https://orcid.org/0000-0002-8724-7668"
48+
affiliation: "Université catholique de Louvain"
49+
50+
license: MIT license
51+
52+
keywords:
53+
- PsychToolBox
54+
- neuroscience
55+
- MATLAB
56+
- Octave

Makefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# TODO make more general to use the local matlab version
2+
MATLAB = /usr/local/MATLAB/R2017a/bin/matlab
3+
ARG = -nodisplay -nosplash -nodesktop
4+
5+
lint:
6+
mh_style --fix && mh_metric --ci && mh_lint
7+
8+
test:
9+
$(MATLAB) $(ARG) -r "runTests; exit()"
10+
11+
version.txt: CITATION.cff
12+
grep -w "^version" CITATION.cff | sed "s/version: /v/g" > version.txt
13+
14+
validate_cff: CITATION.cff
15+
cffconvert --validate
16+
17+
manual:
18+
cd docs && sh create_manual.sh

docs/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,3 @@ help:
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
2020
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21-
22-
doc:
23-
@$(SPHINXBUILD) -b html "$(SOURCEDIR)" "$(BUILDDIR)"

docs/cpp_ptb-manual.pdf

244 KB
Binary file not shown.

docs/create_manual.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
sphinx-build -M latexpdf source build
4+
5+
cp build/latex/cpp_ptb.pdf cpp_ptb-manual.pdf

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
author = 'CPP_PTB developers'
2222

2323
# The full version, including alpha/beta/rc tags
24-
release = 'v1.2.1'
24+
release = 'v1.2.1dev'
2525

2626

2727
# -- General configuration ---------------------------------------------------

0 commit comments

Comments
 (0)