Skip to content

Commit 47a0767

Browse files
author
Tim Band
committed
Merge branch 'main' of github:SAFEHR-data/datafaker into remove-generator-file
2 parents 3c1c9aa + d8e84d7 commit 47a0767

64 files changed

Lines changed: 6564 additions & 3149 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docs.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: Publish Documentation
3+
on:
4+
push:
5+
branches:
6+
# need this to be able to run the workflow until it has been merged into main
7+
- overview_documentation
8+
workflow_dispatch:
9+
env:
10+
PYTHON_VERSION: "3.12"
11+
jobs:
12+
docs:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Code
16+
uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: "${{ env.PYTHON_VERSION }}"
20+
- name: Install poetry
21+
shell: bash
22+
run: |
23+
sudo apt install python3-poetry
24+
- name: Configure poetry
25+
shell: bash
26+
run: |
27+
poetry config virtualenvs.in-project true
28+
- name: Install dependencies
29+
shell: bash
30+
run: |
31+
poetry install --all-extras
32+
- name: Build documentation
33+
shell: bash
34+
working-directory: ./docs
35+
run: |
36+
poetry run make html
37+
- name: Publish docs on github Pages
38+
uses: peaceiris/actions-gh-pages@v3
39+
with:
40+
publish_branch: gh-pages
41+
github_token: ${{ secrets.GITHUB_TOKEN }}
42+
publish_dir: docs/build/html
43+
force_orphan: true

.gitignore

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,18 @@ datafaker/config.ini
138138

139139
# sphinx
140140
docs/build/*
141+
docs/esbonio-build/*
141142
docs/temp/*
142143

143144
# vim swap files
144145
*.swp
145146

146147
# tool outputs
147-
df.py
148-
ssg.py
149-
orm.yaml
150-
src-stats.yaml
151-
config.yaml
148+
/df.py
149+
/ssg.py
150+
/orm.yaml
151+
/src-stats.yaml
152+
/config.yaml
152153
*.yaml.gz
153154

154155
*_stories.py

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM python:3.13.3-alpine3.22
2-
RUN apk add bash poetry
2+
RUN apk add bash poetry build-base
33
WORKDIR /app
44
ADD . /app
55
RUN mkdir /pypoetry

0 commit comments

Comments
 (0)