Skip to content

Commit ed48c7f

Browse files
committed
feat: move to retype docs
Courtesy of @iostpa
1 parent 4910f42 commit ed48c7f

Some content is hidden

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

69 files changed

+683
-945
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,30 @@
1-
name: Publish
1+
name: Deploy
22

33
on:
4+
workflow_dispatch:
5+
46
push:
5-
branches: [main]
7+
branches:
8+
- main
69

710
jobs:
8-
build:
9-
name: Deploy
11+
publish:
12+
name: Publish
13+
1014
runs-on: ubuntu-latest
15+
16+
permissions:
17+
contents: write
18+
1119
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
14-
15-
- name: Deploy
16-
uses: mhausenblas/mkdocs-deploy-gh-pages@master
17-
env:
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19-
CONFIG_FILE: src/mkdocs.yml
20+
- uses: actions/checkout@v4
21+
22+
- uses: actions/setup-dotnet@v1
23+
with:
24+
dotnet-version: 7.0.x
25+
26+
- uses: retypeapp/action-build@latest
27+
28+
- uses: retypeapp/action-github-pages@latest
29+
with:
30+
update-branch: true

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
src/site
1+
.retype/
2+
retype.manifest

poetry.lock

Lines changed: 0 additions & 586 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 17 deletions
This file was deleted.

retype.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
input: ./src
2+
output: .retype
3+
url: docs.is-a.dev
4+
branding:
5+
title: is-a.dev Docs
6+
logo: /media/logo_circle.png
7+
logoAlign: left
8+
colors:
9+
label:
10+
text: "#ffffff"
11+
background: "#9d00ff"
12+
links:
13+
- text: Home
14+
link: index.md
15+
icon: home
16+
- text: Website
17+
link: https://is-a.dev
18+
icon: globe
19+
- text: Register
20+
link: https://github.com/is-a-dev/register
21+
icon: mark-github
22+
target: blank
23+
- text: Donate
24+
link: https://donate.is-a.dev
25+
icon: heart
26+
target: blank
27+
edit:
28+
repo: "https://github.com/is-a-dev/docs"
29+
base: "/src"
30+
branch: "main"
31+
label: "Edit this page"
32+
editor:
33+
enabled: true
34+
favicon: /media/logo_circle.png
35+
generator:
36+
recase: all
37+
include:
38+
- "*.py"
39+
markdown:
40+
lineBreaks: soft
41+
meta:
42+
title: " | is-a.dev Docs"
43+
search:
44+
hotkeys:
45+
- "/"
46+
maxResults: 20
47+
minChars: 2
48+
mode: full
49+
noResultsFoundMsg: "No results"
50+
placeholder: Search
51+
start:
52+
open: false
53+
snippets:
54+
lineNumbers:
55+
- js
56+
- none
57+
templating:
58+
enabled: true
59+
liquid: false

src/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs.is-a.dev

src/docs/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/docs/github-pages-verification/index.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/docs/github-pages/index.md

Lines changed: 0 additions & 25 deletions
This file was deleted.
-92.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)