Skip to content

Commit

Permalink
my face when (mfw)
Browse files Browse the repository at this point in the history
  • Loading branch information
couleurm committed Mar 3, 2024
1 parent a0573c1 commit 67f3924
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,12 @@ jobs:
restore-keys: |
mkdocs-material-
- run: pip install -r requirements.txt

- name: you know material for mkdocs wasnt safe from my powershell
shell: pwsh
run: |
$env:YES_MAKE_TONS_OF_FOLDERS=1
./redirector.ps1
./buildMap.ps1
mkdocs build
Get-ChildItem -File *.html -Recurse | ForEach-Object {
$content = Get-Content -Path $_.FullName
$content = $content -replace 'class="md-copyright">', 'class="md-copyright" style="display: none">'
$content = $content -replace 'class="md-social">', 'class="md-social" style="margin: auto;">'
Set-Content -Path $_.FullName -Value $content
}
- run: pip install -r requirements.txt
- run: mkdocs gh-deploy --force -f mkdocs.github.yml
10 changes: 9 additions & 1 deletion docs/assets/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@
margin-top: 0.2rem !important;
}

.md-social, md-copyright {
.md-social, .md-copyright {
padding: 0 !important
}

.md-copyright {
display: none
}

.md-social {
margin: auto;
}

0 comments on commit 67f3924

Please sign in to comment.