-
Notifications
You must be signed in to change notification settings - Fork 38
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 #280 from jgunstone/272-build-gh-pages
272 build gh pages
- Loading branch information
Showing
14 changed files
with
157 additions
and
16 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: Build docs | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: GitHub Tag Name example | ||
run: | | ||
echo "Status: *release* $GITHUB_REF_NAME" > release.md | ||
- name: Setup Mambaforge | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
miniforge-variant: Mambaforge | ||
miniforge-version: latest | ||
activate-environment: bdns | ||
use-mamba: true | ||
|
||
- name: Create environment | ||
run: mamba env update -n bdns -f environment.yml | ||
|
||
- name: Install tinytex | ||
shell: bash -l {0} | ||
run: quarto install tinytex | ||
|
||
- name: Build docs | ||
shell: bash -l {0} | ||
run: quarto render . | ||
|
||
- name: Push docs to gh-pages | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
branch: gh-pages | ||
folder: _site |
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
.vscode | ||
.idea | ||
|
||
/.quarto/ | ||
/_site/* |
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
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,35 @@ | ||
--- | ||
execute: | ||
echo: false | ||
tbl-cap-location: bottom | ||
format: | ||
html: | ||
page-layout: full | ||
toc: false | ||
jupyter: | ||
jupytext: | ||
text_representation: | ||
extension: .qmd | ||
format_name: quarto | ||
format_version: '1.0' | ||
jupytext_version: 1.16.1 | ||
kernelspec: | ||
display_name: Python 3 (ipykernel) | ||
language: python | ||
name: python3 | ||
--- | ||
|
||
# Building Device and Asset Naming Standards initiative | ||
|
||
{{< include release.md >}} | ||
|
||
# Abbreviations Register | ||
|
||
```{python} | ||
import pandas as pd | ||
from itables import init_notebook_mode, show | ||
init_notebook_mode(all_interactive=True) | ||
df = pd.read_csv("BDNS_Abbreviations_Register.csv") | ||
show(df, buttons=["pageLength", "csvHtml5"], lengthMenu=[20, 50, 100, 500], style="table-layout:auto;width:100%;float:left") | ||
``` |
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
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
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
Binary file not shown.
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
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,24 @@ | ||
project: | ||
type: website | ||
|
||
website: | ||
navbar: | ||
left: | ||
- href: index.qmd | ||
- href: BDNS_Governance_model.md | ||
text: Governance | ||
- href: BDNS_Scoping_guidelines_and_principles.md | ||
text: Scope | ||
- href: BDNS_Specification_naming_syntax.md | ||
text: Naming Specification Syntax | ||
- href: BDNS_Abbreviations_Register.qmd | ||
text: Abbreviations Register | ||
|
||
format: | ||
html: | ||
theme: cosmo | ||
css: styles.css | ||
toc: true | ||
|
||
|
||
|
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,16 @@ | ||
name: bdns | ||
# channels priority | ||
# see https://bioconda.github.io/ | ||
# conda-forge has highest prioriy | ||
# --------------------------------- | ||
# requirements for building docs | ||
channels: | ||
- defaults | ||
- conda-forge | ||
dependencies: | ||
- python>=3.8 | ||
- jupyter | ||
- quarto | ||
- itables | ||
- pyfiglet | ||
- pandas |
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,5 @@ | ||
--- | ||
title: "BDNS" | ||
--- | ||
|
||
{{< include README.md >}} |
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 @@ | ||
<!-- This file exists for development only, without local testing fails. It is overwritten when the site is built with the current GH release. --> |
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 @@ | ||
/* css styles */ |