Skip to content

Commit 5e5d450

Browse files
authored
Fix broken links improve content (#178)
1 parent 0f62716 commit 5e5d450

File tree

260 files changed

+2168
-1021
lines changed

Some content is hidden

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

260 files changed

+2168
-1021
lines changed

.makim.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ groups:
2525
hooks:
2626
pre-run:
2727
- task: pages.pre-build
28-
run: mkdocs build --verbose --clean
28+
run: |
29+
rm -rf build/*
30+
mkdocs build --verbose --clean --strict
2931
3032
preview:
3133
help: preview the web page dynamically

.pre-commit-config.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,40 @@ repos:
2222
hooks:
2323
- id: prettier
2424
exclude: "pages/blog|theme"
25+
26+
- repo: local
27+
hooks:
28+
- id: mkdocs-build
29+
name: mkdocs-build
30+
entry: makim pages.build
31+
files: pages
32+
language: system
33+
pass_filenames: false
34+
35+
- id: linkcheckmd
36+
name: linkcheckmd
37+
entry: python scripts/check-broken-links-md.py
38+
language: system
39+
pass_filenames: false
40+
41+
- id: check-internal-links
42+
name: check-internal-links
43+
entry: python scripts/check-broken-links-internal.py
44+
language: system
45+
pass_filenames: false
46+
47+
- id: ruff-format
48+
name: ruff-format
49+
entry: ruff format
50+
language: system
51+
pass_filenames: true
52+
types:
53+
- python
54+
55+
- id: ruff-linter
56+
name: ruff-linter
57+
entry: ruff check
58+
language: system
59+
pass_filenames: true
60+
types:
61+
- python
File renamed without changes.

pages/affiliations/index.md renamed to bkp/affiliations/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Affiliations
3-
template: single.html
3+
template: main.html
44
---
55

66
# Affiliations at Open Science Labs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)