-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from SPARC-X/joss-paper
Merge JOSS paper to master branch
- Loading branch information
Showing
7 changed files
with
5,161 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Draft Paper for JOSS | ||
on: | ||
push: | ||
paths: | ||
- paper/** | ||
- .github/workflows/joss_paper.yml | ||
pull_request: | ||
paths: | ||
- paper/** | ||
- .github/workflows/joss_paper.yml | ||
workflow_dispatch: | ||
|
||
jobs: | ||
paper: | ||
runs-on: ubuntu-latest | ||
name: Paper Draft | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build draft PDF | ||
uses: openjournals/openjournals-draft-action@master | ||
with: | ||
journal: joss | ||
paper-path: paper/paper.md | ||
- name: Upload | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: paper | ||
path: paper/paper.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -784,4 +784,6 @@ examples/ex1-ase/ | |
/test-2/ | ||
*.pt | ||
/README.html | ||
/paper/paper.pdf | ||
/paper/jats/ | ||
/doc/_build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Folder for JOSS submission | ||
|
||
This folder contains the `paper.md`, `paper.bib` and supporting | ||
figures for the JOSS submission of the SPARC-X-API. Please do not add | ||
SPARC doc in this directory. While most of the writings should be done | ||
in Markdown, please use either of the following methods for rendering | ||
the draft into pdf format. | ||
|
||
## Building Locally | ||
|
||
Follow the instructions in the [JOSS | ||
manual](https://joss.readthedocs.io/en/latest/paper.html#docker), use | ||
docker (or equivalent) to build the paper locally: | ||
|
||
```bash | ||
# At the paper/ subfolder of the SPARC-X-API repository | ||
docker run --rm \ | ||
--volume $PWD:/data \ | ||
--user $(id -u):$(id -g) \ | ||
--env JOURNAL=joss \ | ||
openjournals/inara | ||
``` | ||
This command will create the `paper.pdf` under the `paper/` subfolder. | ||
|
||
## Use Github Actions | ||
|
||
The draft pdf will be rendered after any changes are pushed the | ||
`paper/` under the `joss_paper` branch. Please check the [status | ||
page](https://github.com/SPARC-X/SPARC-X-API/actions/workflows/joss_paper.yml) | ||
for the latest build action. Once the compilation is finished, the zip | ||
archive containing the rendered `paper.pdf` can be downloaded via the | ||
link in the "Artifacts" section of the action status. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.