Skip to content

Commit 3a1014e

Browse files
authored
Merge pull request #112 from CHIMEFRB/docs-for-handbook
docs: update mkdocs config + ci/cd
2 parents d45ed9b + 0e4bee0 commit 3a1014e

2 files changed

Lines changed: 2 additions & 97 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,8 @@ jobs:
1111
mkdocs:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
16-
- name: Set up Python 3.9
17-
uses: actions/setup-python@v4
18-
with:
19-
python-version: 3.9
20-
21-
- name: Load cached venv
22-
id: cached-poetry-dependencies
23-
uses: actions/cache@v3
24-
with:
25-
path: |
26-
~/.cache/pypoetry
27-
key: poetry-${{ runner.os }}-${{ hashFiles('poetry.lock') }}
28-
29-
- name: Installation
30-
run: |
31-
pip install poetry
32-
poetry install --without dev
33-
34-
- name: Create docs
35-
run: poetry run mkdocs gh-deploy --force
36-
3714
- name: Build chimefrb/handbook
38-
uses: peter-evans/repository-dispatch@v2
15+
uses: peter-evans/repository-dispatch@v3
3916
with:
4017
token: ${{ secrets.BUILD_HANDBOOK_TOKEN }}
4118
repository: chimefrb/handbook

mkdocs.yml

Lines changed: 1 addition & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,5 @@
11
---
2-
site_name: Datatrail CLI
3-
site_author: Tarik Zegmott
4-
site_description: "Datatrail CLI"
5-
repo_name: chimefrb/datatrail-cli
6-
repo_url: "https://github.com/chimefrb/datatrail-cli"
7-
copyright: Copyright © 2016 - 2023 CHIME/FRB Collaboration
8-
9-
theme:
10-
name: material
11-
palette:
12-
scheme: slate
13-
primary: deep purple
14-
accent: yellow
15-
font:
16-
text: Roboto
17-
code: Roboto Mono
18-
language: en
19-
features:
20-
- navigation.expand
21-
- navigation.top
22-
- navigation.instant
23-
- navigation.tabs
24-
- navigation.tabs.sticky
25-
- content.code.annotate
26-
27-
plugins:
28-
- search
29-
- mkdocstrings
30-
- termynal
31-
32-
# Extensions
33-
markdown_extensions:
34-
- admonition
35-
- abbr
36-
- attr_list
37-
- def_list
38-
- footnotes
39-
- mkdocs-click
40-
- md_in_html
41-
- meta
42-
- toc:
43-
permalink: true
44-
- pymdownx.arithmatex:
45-
generic: true
46-
- pymdownx.betterem:
47-
smart_enable: all
48-
- pymdownx.caret
49-
- pymdownx.critic
50-
- pymdownx.details
51-
- pymdownx.emoji
52-
- pymdownx.highlight:
53-
use_pygments: true
54-
linenums_style: pymdownx.inline
55-
- pymdownx.inlinehilite
56-
- pymdownx.keys
57-
- pymdownx.magiclink:
58-
repo_url_shorthand: true
59-
user: squidfunk
60-
repo: mkdocs-material
61-
- pymdownx.mark
62-
- pymdownx.smartsymbols
63-
- pymdownx.snippets:
64-
check_paths: true
65-
- pymdownx.superfences:
66-
custom_fences:
67-
- name: mermaid
68-
class: mermaid
69-
format: "!!python/name:pymdownx.superfences.fence_code_format"
70-
- pymdownx.tabbed:
71-
alternate_style: true
72-
- pymdownx.tasklist:
73-
custom_checkbox: true
74-
- pymdownx.tilde
2+
site_name: datatrail-cli
753

764
nav:
775
- Home:

0 commit comments

Comments
 (0)