Skip to content

Commit

Permalink
mkdocs workflow & config first try
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaudis committed Oct 30, 2023
1 parent 6b49082 commit 64f50cb
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 3 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added .github/.DS_Store
Binary file not shown.
21 changes: 21 additions & 0 deletions .github/workflows/make-mkdocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: mk-docs
on:
push:
branches:
- main
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install mkdocs-macros-plugin
- run: pip install pymdown-extensions
- run: pip install mkdocs-mermaid2-plugin
- run: pip install mdx_gh_links
- run: pip install mkdocs-with-pdf
- run: mkdocs gh-deploy --force
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# cnv-reference-resources
Data & tools for hCNV analysis with a focus on the distributed normal
# hCNV Reference Resources
##### Data & tools for hCNV analysis with a focus on the distributed normal

The site was started as a project of the [ELIXIR hCNV Community](https://cnvar.org)
at the [Biohackathon Europe 2023](https://biohackathon-europe.org):

[A "batteries-included" open reference resource for human genomic copy number variants (CNV)](https://github.com/elixir-europe/biohackathon-projects-2023/tree/main/1)
3 changes: 3 additions & 0 deletions docs/beacon-queries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Beacon CNV Queries

==TBD==
62 changes: 61 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1 +1,61 @@
site_name: My Docs
site_name: hCNV Reference Resources
site_description: 'Data & tools for hCNV analysis with a focus on the distributed normal'
site_author: Michael Baudis
repo_name: 'cnv-reference-resources'
repo_url: https://github.com/hCNV/cnv-reference-resources
edit_uri: edit/main/docs/

###############################################################################

nav:
- Home: /
- Topic Pages:
- Input Data: data-resources
- Parameters & Mappings: parameters-and-mappings
- Beacon Queries: beacon-queries
- Biohack 2023 Page: https://github.com/elixir-europe/biohackathon-projects-2023/tree/main/1
- Beacon Documentation: 'https://docs.genomebeacons.org'

###############################################################################

markdown_extensions:
- toc:
toc_depth: 2-3
permalink: true
- admonition
- attr_list
- footnotes
- md_in_html
- pymdownx.critic
- pymdownx.caret
- pymdownx.details
- pymdownx.keys
- pymdownx.magiclink:
hide_protocol: true
- pymdownx.mark
- pymdownx.tilde
- pymdownx.saneheaders
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- tables
- mdx_gh_links:
user: hCNV
repo: hcnv.github.io
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg

###############################################################################

theme:
name: material
plugins:
- search
- macros

0 comments on commit 64f50cb

Please sign in to comment.