Skip to content

Commit 431f9bc

Browse files
authored
Merge pull request #2 from mapswipe/feat/docs
feat(doc): Add MapSwipe documentations
2 parents a4b8d01 + cf91d9e commit 431f9bc

File tree

67 files changed

+8530
-0
lines changed

Some content is hidden

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

67 files changed

+8530
-0
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
pre_commit_checks:
8+
name: Pre-Commit checks
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@main
13+
14+
- name: Install pre-commit and run
15+
uses: pre-commit/[email protected]
16+
with:
17+
extra_args: --all-files --hook-stage manual --show-diff-on-failure
18+
19+
- name: Install lychee
20+
run: |
21+
mkdir ./lychee-install
22+
cd ./lychee-install
23+
curl -L https://github.com/lycheeverse/lychee/releases/latest/download/lychee-x86_64-unknown-linux-gnu.tar.gz -o lychee.tar.gz
24+
tar -xzf lychee.tar.gz
25+
mv lychee /usr/local/bin/
26+
lychee --version
27+
cd ../
28+
rm -rf ./lychee-install
29+
30+
# TODO: Use pre-commit instead of this
31+
- name: Run lychee
32+
run: |
33+
lychee --root-dir $(pwd)/ ./

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
.env

.lycheeignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
https://slack.com/shortcuts/Ft09CHNNHZNX/8d0d6f7d69a1350a91b2ef33fc6d5704
2+
https://www.mdpi.com/2072-4292/8/10/859

.pre-commit-config.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
repos:
2+
# - repo: https://github.com/lycheeverse/lychee.git
3+
# rev: v0.15.1
4+
# hooks:
5+
# - id: lychee
6+
# args:
7+
# - "--no-progress"
8+
# - "."
9+
# pass_filenames: false
10+
11+
- repo: https://github.com/crate-ci/typos
12+
rev: v1.31.1
13+
hooks:
14+
- id: typos
15+
16+
- repo: https://github.com/commitizen-tools/commitizen
17+
rev: v4.9.1
18+
hooks:
19+
- id: commitizen
20+
21+
- repo: https://github.com/pre-commit/pre-commit-hooks
22+
rev: v5.0.0
23+
hooks:
24+
- id: check-merge-conflict
25+
- id: trailing-whitespace
26+
- id: end-of-file-fixer
27+
- id: check-json
28+
- id: check-toml
29+
- id: check-xml
30+
- id: check-yaml
31+
args: [--unsafe]
32+
- id: debug-statements
33+
- id: check-builtin-literals
34+
- id: check-case-conflict
35+
- id: check-docstring-first
36+
- id: detect-private-key
37+
- id: name-tests-test
38+
39+
- repo: https://github.com/gitleaks/gitleaks
40+
rev: v8.24.2
41+
hooks:
42+
- id: gitleaks
Binary file not shown.
Binary file not shown.
9.29 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
day,number_of_results,number_of_results_progress,cum_number_of_results,cum_number_of_results_progress,progress,cum_progress,number_of_users,number_of_new_users,cum_number_of_users,project_id
2+
2020-04-17,138387,138387,138387,138387,0.3121084182465257,0.3121084182465257,78,78,78,-M56eeMCZ5VeOHjJN4Bx
3+
2020-04-18,126825,126639,265212,265026,0.2856127958429749,0.5977212140895005,113,85,163,-M56eeMCZ5VeOHjJN4Bx
4+
2020-04-19,143178,137460,408390,402486,0.31001772689752227,0.9077389409870228,88,39,202,-M56eeMCZ5VeOHjJN4Bx
5+
2020-04-20,59640,40557,468030,443043,0.0914694380167526,0.9992083790037755,37,11,213,-M56eeMCZ5VeOHjJN4Bx
6+
2020-04-21,258,0,468288,443043,0.0,0.9992083790037755,1,0,213,-M56eeMCZ5VeOHjJN4Bx

assets/docs/about_data/files/hot_tm_-M56eeMCZ5VeOHjJN4Bx.geojson

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
1.46 MB
Binary file not shown.

0 commit comments

Comments
 (0)