-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(docs) Added auto deployment of docs
- Loading branch information
1 parent
88d86fb
commit ec64fae
Showing
2 changed files
with
69 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,41 @@ | ||
name: docs-deployment | ||
|
||
on: [push] | ||
|
||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.x | ||
|
||
- name: Install fypp | ||
run: pip install --upgrade fypp | ||
|
||
- name: Install ford | ||
run: pip install --upgrade ford | ||
|
||
- name: Generate fpm package 🔧 | ||
run: | | ||
make FYPPFLAGS=-DMFI_EXTENSIONS | ||
mkdir mfi-fpm | ||
cp -R src mfi-fpm | ||
cp -R test mfi-fpm | ||
cp fpm.toml mfi-fpm | ||
cp LICENSE mfi-fpm | ||
find mfi-fpm/src -type f ! -name "*.f90" -delete | ||
find mfi-fpm/test -type f ! -name "*.f90" -delete | ||
ford ford.md | ||
- name: Deploy docs 🚀 | ||
uses: JamesIves/[email protected] | ||
if: github.event_name != 'pull_request' | ||
with: | ||
BRANCH: docs | ||
FOLDER: mfi-fpm |
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,28 @@ | ||
--- | ||
project: MFI - Modern Fortran Interfaces | ||
src_dir: ./src | ||
output_dir: ./api-reference | ||
project_github: https://github.com/14NGiestas/mfi | ||
project_website: | ||
summary: A collection of modern fortran interfaces for BLAS and LAPACK | ||
author: I. G. Pauli | ||
author_description: | ||
github: https://github.org/14NGiestas | ||
email: [email protected] | ||
macro: HAS_DECREMENT | ||
predocmark: > | ||
media_dir: ./media | ||
docmark_alt: # | ||
predocmark_alt: < | ||
display: public | ||
protected | ||
private | ||
source: true | ||
graph: true | ||
search: true | ||
license: by-nc | ||
max_frontpage_items: 4 | ||
extra_mods: iso_fortran_env:https://gcc.gnu.org/onlinedocs/gfortran/ISO_005fFORTRAN_005fENV.html | ||
iso_c_binding:https://gcc.gnu.org/onlinedocs/gfortran/ISO_005fC_005fBINDING.html#ISO_005fC_005fBINDING | ||
--- | ||
|